patch: fix ETCSCREENRC
Dick <[email protected]> Sat, 15 Nov 2008 21:25:53 +0100
| Newsgroups | gmane.comp.gnu.screen |
|---|---|
| Message-ID | <1226780753.11283.3.camel__29345.9255983636$1238089142$gmane$org@localhost.localdomain> |
Hi, The location of screenrc should be defined by sysconfdir, not prefix. Most Linux distributions install screen in prefix /usr and have the system configuration in /etc. Without this patch screenrc will be located in /usr/etc/screenrc. Please apply the following patch: --- Makefile.in.orig 2008-11-15 20:47:44.000000000 +0100 +++ Makefile.in 2008-11-15 20:48:21.000000000 +0100 @@ -15,6 +15,7 @@ exec_prefix = @exec_prefix@ datarootdir = @datarootdir@ datadir = @datadir@ +sysconfdir = @sysconfdir@ # don't forget to change mandir and infodir in doc/Makefile. bindir = $(exec_prefix)/bin @@ -25,7 +25,7 @@ GIT_REV = "`git describe --always 2>/dev/null`" DEFS = @DEFS@ -DGIT_REV=\"$(GIT_REV)\" -ETCSCREENRC = $(prefix)/etc/screenrc +ETCSCREENRC = $(sysconfdir)/screenrc SCREENENCODINGS = $(datadir)/screen/utf8encodings CC = @CC@