1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-11 23:25:17 +00:00
freebsd-ports/www/lynx/files/patch-aa
Andrey A. Chernov 00ce127dda Fix cfg file path
Add official fixes set
1998-01-13 23:29:22 +00:00

56 lines
1.5 KiB
Plaintext

*** 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!!