diff options
author | Andrey A. Chernov <ache@FreeBSD.org> | 1998-01-13 23:29:22 +0000 |
---|---|---|
committer | Andrey A. Chernov <ache@FreeBSD.org> | 1998-01-13 23:29:22 +0000 |
commit | 00ce127dda11ff3e91fd77cb8e247c20efc93a8d (patch) | |
tree | fe6fd2ea5622b24db8401ef19b21fe8f32605240 /www/lynx/files/patch-aa | |
parent | Submitted by: archie@whistle.com (diff) |
Fix cfg file path
Add official fixes set
Diffstat (limited to '')
-rw-r--r-- | www/lynx/files/patch-aa | 76 |
1 files changed, 55 insertions, 21 deletions
diff --git a/www/lynx/files/patch-aa b/www/lynx/files/patch-aa index 5db43bdec008..576bcd58352c 100644 --- a/www/lynx/files/patch-aa +++ b/www/lynx/files/patch-aa @@ -1,21 +1,55 @@ ---- Makefile.orig Thu Apr 3 09:55:28 1997 -+++ Makefile Mon Dec 1 18:22:13 1997 -@@ -14,15 +14,15 @@ - - ##change the next line if you want lynx installed somewhere - ##besides /usr/local/bin --exec= /usr/local/bin -+exec= ${PREFIX}/bin - - ##change the next line if you want the lynx man file installed somewhere - ##besides /usr/local/man/man1 --doc= /usr/local/man/man1 -+doc= ${PREFIX}/man/man1 - - ##change the next line if you want the lynx.cfg file installed somewhere - ##besides /usr/local/lib --cfg= /usr/local/lib -+cfg= ${PREFIX}/etc - - installbin= install -c -s -m 755 - installdoc= install -c -m 444 +*** Makefile.orig Wed Dec 31 17:11:19 1997 +--- Makefile Wed Jan 14 02:01:23 1998 +*************** +*** 1,6 **** +--- 1,7 ---- + ##makefile for lynx + + SHELL = /bin/sh ++ PREFIX ?= /usr/local + + ##uncomment the next line if your make fails to set $(MAKE) + #MAKE= make +*************** +*** 14,28 **** + + ##change the next line if you want lynx installed somewhere + ##besides /usr/local/bin +! exec= /usr/local/bin + + ##change the next line if you want the lynx man file installed somewhere + ##besides /usr/local/man/man1 +! doc= /usr/local/man/man1 + + ##change the next line if you want the lynx.cfg file installed somewhere + ##besides /usr/local/lib +! cfg= /usr/local/lib + + installbin= install -c -s -m 755 + installdoc= install -c -m 444 +--- 15,29 ---- + + ##change the next line if you want lynx installed somewhere + ##besides /usr/local/bin +! exec= ${PREFIX}/bin + + ##change the next line if you want the lynx man file installed somewhere + ##besides /usr/local/man/man1 +! doc= ${PREFIX}/man/man1 + + ##change the next line if you want the lynx.cfg file installed somewhere + ##besides /usr/local/lib +! cfg= ${PREFIX}/etc + + installbin= install -c -s -m 755 + installdoc= install -c -m 444 +*************** +*** 274,279 **** +--- 275,281 ---- + + # Set SITE_DEFS to one or more of the defines for lynx below: + SITE_DEFS = $(DIR_DEFS) # Your defines here ++ SITE_DEFS += -DLYNX_CFG_FILE='\"'$(PREFIX)/etc/lynx.cfg'\"' + + # if you are compiling on a previously unsupported system, modify + # this generic entry!! |