Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Jun 1999 11:41:32 +0200 (CEST)
From:      Nick Hibma <nick.hibma@jrc.it>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/12201: [PATCH] net/wide-dhcp references /usr/local directly instead of ${PREFIX}.
Message-ID:  <199906140941.LAA74544@elpc36.jrc.it>

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

>Number:         12201
>Category:       ports
>Synopsis:       [PATCH] net/wide-dhcp references /usr/local directly 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:01 PDT 1999
>Closed-Date:
>Last-Modified:
>Originator:     Nick Hibma
>Release:        FreeBSD 4.0-CURRENT i386
>Organization:
>Environment:

ports current as of 99/06/13 16:00

>Description:

Your port references /usr/local directly instead of ${PREFIX}.


>How-To-Repeat:

cd /usr/ports/net/wide-dhcp
make PREFIX=/if/possible/I/would/like/to/have/the/port/here/not/there

>Fix:
	
--- /usr/ports/net/wide-dhcp/Makefile.orig	Sat Jun  5 15:33:17 1999
+++ /usr/ports/net/wide-dhcp/Makefile	Sat Jun  5 15:34:16 1999
@@ -47,7 +47,7 @@
 		echo 'DB_BIND=/var/db/dhcpdb.bind' >> ${STARTUP_SCRIPT};\
 		echo 'if [ -f $${DB_POOL} -a -f $${DB_RELAY} \'\
 			>> ${STARTUP_SCRIPT};				\
-		echo '		-a -x /usr/local/sbin/dhcps ]; then'	\
+		echo '		-a -x ${PREFIX}/sbin/dhcps ]; then'	\
 			>> ${STARTUP_SCRIPT};				\
 		echo '	if [ -f $${DB_BIND} ]; then' >> ${STARTUP_SCRIPT};\
 		echo '		find $${DB_POOL} -newer $${DB_BIND} -exec rm $${DB_BIND} \;'\



>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?199906140941.LAA74544>