1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-15 23:50:44 +00:00
freebsd-ports/www/lynx/files/patch-aa

81 lines
2.7 KiB
Plaintext
Raw Normal View History

1996-07-21 04:41:21 +00:00
*** Makefile.orig Thu Jul 18 18:18:08 1996
--- Makefile Sun Jul 21 08:36:58 1996
***************
1996-07-21 04:41:21 +00:00
*** 11,28 ****
##change the next line if you want lynx installed somewhere
1996-02-22 01:57:18 +00:00
##besides /usr/local/bin
! exec= /usr/local/bin
1995-09-21 02:49:34 +00:00
##change the next line if you want the lynx man file installed somewhere
##besides /usr/local/man/man1
! doc= /usr/local/man/man1
1995-09-21 02:49:34 +00:00
##change the next line if you want the lynx.cfg file installed somewhere
##besides /usr/local/lib
1996-02-22 01:57:18 +00:00
! cfg= /usr/local/lib
1995-09-21 02:49:34 +00:00
! installbin= install -c -s -m 555
! installdoc= install -c -m 444
1996-07-21 04:41:21 +00:00
##set the relative location of the WWW library Implementation directory,
##from this directory
--- 11,28 ----
1995-09-21 02:49:34 +00:00
##change the next line if you want lynx installed somewhere
1996-02-22 01:57:18 +00:00
##besides /usr/local/bin
! exec= ${PREFIX}/bin
1995-09-21 02:49:34 +00:00
##change the next line if you want the lynx man file installed somewhere
##besides /usr/local/man/man1
1996-02-22 01:57:18 +00:00
! doc= ${PREFIX}/man/man1
1995-09-21 02:49:34 +00:00
##change the next line if you want the lynx.cfg file installed somewhere
##besides /usr/local/lib
1996-02-22 01:57:18 +00:00
! cfg= ${PREFIX}/etc
1995-09-21 02:49:34 +00:00
1996-02-22 01:57:18 +00:00
! installbin= ${INSTALL} -c -s -m ${BINMODE} -o ${BINOWN} -g ${BINGRP}
! installdoc= ${INSTALL} -c -m 444 -o ${BINOWN} -g ${BINGRP}
1995-09-21 02:49:34 +00:00
1996-07-21 04:41:21 +00:00
##set the relative location of the WWW library Implementation directory,
##from this directory
***************
1996-07-21 04:41:21 +00:00
*** 394,401 ****
# FreeBSD doesn't have or need ranlib. (ignore the error message about that :)
freebsd-ncurses:
1996-07-21 04:41:21 +00:00
cd WWW/Library/freebsd; $(MAKE) LYFLAGS="$(SITE_LYDEFS)"
! cd src; $(MAKE) all MCFLAGS="$(CFLAGS) -DFANCY_CURSES -DNCURSES -DUNIX \
1996-02-22 02:42:06 +00:00
! -DNO_TTYTYPE -DNO_CUSERID -DLOCALE \
-I../$(WWWINC) $(SITE_DEFS)" \
LIBS="-lncurses -lmytinfo \
$(WAISLIB) $(SOCKSLIB) $(SITE_LIBS)" \
1996-07-21 04:41:21 +00:00
--- 394,401 ----
# FreeBSD doesn't have or need ranlib. (ignore the error message about that :)
freebsd-ncurses:
1996-07-21 04:41:21 +00:00
cd WWW/Library/freebsd; $(MAKE) LYFLAGS="$(SITE_LYDEFS)"
! cd src; $(MAKE) all MCFLAGS="$(CFLAGS) -DFANCY_CURSES -DNCURSES -DNCURSESHEADER -DUNIX \
1996-02-22 02:42:06 +00:00
! -DLYNX_CFG_FILE='\"${PREFIX}/etc/lynx.cfg\"' -DNO_TTYTYPE -DNO_CUSERID -DLOCALE \
-I../$(WWWINC) $(SITE_DEFS)" \
LIBS="-lncurses -lmytinfo \
$(WAISLIB) $(SOCKSLIB) $(SITE_LIBS)" \
1996-02-22 02:42:06 +00:00
***************
1996-07-21 04:41:21 +00:00
*** 902,908 ****
1996-02-22 01:57:18 +00:00
install:
-mv -f $(exec)/lynx $(exec)/lynx.old
- -mv -f $(cfg)/lynx.cfg $(cfg)/lynx.oldcfg
$(installbin) lynx $(exec)/lynx
$(installdoc) lynx.man $(doc)/lynx.1
! $(installdoc) lynx.cfg $(cfg)/lynx.cfg
1996-07-21 04:41:21 +00:00
--- 902,911 ----
1996-02-22 01:57:18 +00:00
install:
-mv -f $(exec)/lynx $(exec)/lynx.old
$(installbin) lynx $(exec)/lynx
$(installdoc) lynx.man $(doc)/lynx.1
! if [ -f $(cfg)/lynx.cfg ] ; then \
! $(installdoc) lynx.cfg $(cfg)/lynx.cfg-dist; \
! else \
! $(installdoc) lynx.cfg $(cfg)/lynx.cfg; \
! fi