Date: Mon, 14 Jun 1999 11:39:31 +0200 (CEST) From: Nick Hibma <nick.hibma@jrc.it> To: FreeBSD-gnats-submit@freebsd.org Subject: ports/12200: [PATCH] port net/rwhois references /usr/local instead of PREFIX Message-ID: <199906140939.LAA74421@elpc36.jrc.it>
next in thread | raw e-mail | index | archive | help
>Number: 12200 >Category: ports >Synopsis: [PATCH] port net/rwhois references /usr/local instead of PREFIX >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Jun 14 02:50:00 PDT 1999 >Closed-Date: >Last-Modified: >Originator: Nick Hibma >Release: FreeBSD 4.0-CURRENT i386 >Organization: >Environment: ports as of 99/06/13 16:00 >Description: The port net/rwhois references /usr/local directly in its makefile. Should that not be ${PREFIX}? >How-To-Repeat: cd /usr/ports/net/rwhois make PREFIX=/usr/not/so/local/or/a/different/local/from/the/other/one install >Fix: --- Makefile.orig Sat Jun 5 15:22:42 1999 +++ Makefile Sat Jun 5 15:23:36 1999 @@ -33,7 +33,7 @@ @ echo "# remove or comment the following line and uncomment the one below it once you have" >> ${PREFIX}/etc/rc.d/rwhoisd.sh @ echo "# configured your server's data" >> ${PREFIX}/etc/rc.d/rwhoisd.sh @ echo "echo \"rwhoisd not started; sample data still in place. See ${PREFIX}/share/doc/rwhois for details.\"" >> ${PREFIX}/etc/rc.d/rwhoisd.sh - @ echo "#[ -x /usr/local/lib/rwhois/sbin/rwhoisd ] && /usr/local/lib/rwhois/sbin/rwhoisd -c /usr/local/lib/rwhois/rwhois.conf & && echo -n ' rwhoisd'" >> ${PREFIX}/etc/rc.d/rwhoisd.sh + @ echo "#[ -x ${PREFIX}/lib/rwhois/sbin/rwhoisd ] && ${PREFIX}/lib/rwhois/sbin/rwhoisd -c ${PREFIX}/lib/rwhois/rwhois.conf & && echo -n ' rwhoisd'" >> ${PREFIX}/etc/rc.d/rwhoisd.sh chmod 751 ${PREFIX}/etc/rc.d/rwhoisd.sh .include <bsd.port.mk> >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199906140939.LAA74421>