Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Jul 1996 23:46:20 +0400 (MSD)
From:      =?KOI8-R?Q?=E1=CE=C4=D2=C5=CA_=FE=C5=D2=CE=CF=D7?= (Andrey A. Chernov) <ache@nagual.ru>
To:        gpalmer@freebsd.org, ports@freebsd.org, asami@freebsd.org
Subject:   Lynx port fix to match current state
Message-ID:  <199607041946.XAA00834@nagual.ru>

next in thread | raw e-mail | index | archive | help

--ELM836509580-818-0_
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

Please, commit this file as old patch-aa replacement.
-- 
Andrey A. Chernov
<ache@nagual.ru>
http://www.nagual.ru/~ache/

--ELM836509580-818-0_
Content-Type: text/plain
Content-Disposition: attachment; filename=patch-aa
Content-Description: patch-aa
Content-Transfer-Encoding: 7bit

*** Makefile.orig	Fri Jun 28 03:06:34 1996
--- Makefile	Thu Jul  4 23:32:22 1996
***************
*** 10,29 ****
  ##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 555
! installdoc= install -c -m 444
  
  
  #set the relative location of the WWW library Implementation directory,
--- 10,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 ${BINMODE} -o ${BINOWN} -g ${BINGRP}
! installdoc= ${INSTALL} -c -m 444 -o ${BINOWN} -g ${BINGRP}
  
  
  #set the relative location of the WWW library Implementation directory,
***************
*** 394,400 ****
  freebsd-ncurses:
  	cd WWW/Library/freebsd; make LYFLAGS="$(SITE_LYDEFS)"
  	cd src; make all MCFLAGS="$(CFLAGS) -DFANCY_CURSES -DNCURSES -DUNIX \
! 		-DNO_TTYTYPE -DNO_CUSERID -DLOCALE \
  		-I../$(WWWINC) $(SITE_DEFS)" \
  		LIBS="-lncurses -lmytinfo \
  		$(WAISLIB) $(SOCKSLIB) $(SITE_LIBS)" \
--- 394,400 ----
  freebsd-ncurses:
  	cd WWW/Library/freebsd; make LYFLAGS="$(SITE_LYDEFS)"
  	cd src; make all MCFLAGS="$(CFLAGS) -DFANCY_CURSES -DNCURSES -DUNIX \
! 		-DLYNX_CFG_FILE='\"${PREFIX}/etc/lynx.cfg\"' -DNO_TTYTYPE -DNO_CUSERID -DLOCALE \
  		-I../$(WWWINC) $(SITE_DEFS)" \
  		LIBS="-lncurses -lmytinfo \
  		$(WAISLIB) $(SOCKSLIB) $(SITE_LIBS)" \
***************
*** 857,863 ****
  
  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
--- 857,866 ----
  
  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

--ELM836509580-818-0_--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199607041946.XAA00834>