ports/102011: [maintainer] sysutils/p5-FreeBSD-Portindex respect DESTDIR/TARGETDIR

Matthew Seaman m.seaman at infracaninophile.co.uk
Mon Aug 14 13:20:14 UTC 2006


>Number:         102011
>Category:       ports
>Synopsis:       [maintainer] sysutils/p5-FreeBSD-Portindex respect DESTDIR/TARGETDIR
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Aug 14 13:20:10 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Matthew Seaman
>Release:        FreeBSD 6.1-STABLE i386
>Organization:
Infracaninophile
>Environment:
System: FreeBSD happy-idiot-talk.infracaninophile.co.uk 6.1-STABLE FreeBSD 6.1-STABLE #2: Mon Aug 7 21:20:41 BST 2006 root at happy-idiot-talk.infracaninophile.co.uk:/usr/obj/usr/src/sys/HAPPY-IDIOT-TALK i386


	
>Description:
	
>How-To-Repeat:
	
>Fix:

	

--- p5-FreeBSD-Portindex.diff begins here ---
diff -Nur /usr/ports/sysutils/p5-FreeBSD-Portindex/Makefile p5-FreeBSD-Portindex/Makefile
--- /usr/ports/sysutils/p5-FreeBSD-Portindex/Makefile	Sun Jul 23 23:43:53 2006
+++ p5-FreeBSD-Portindex/Makefile	Mon Aug 14 14:16:14 2006
@@ -19,7 +19,7 @@
 USE_BZIP2=	yes
 PERL_CONFIGURE=	yes
 
-CACHE_DIR?=	/var/db/portindex
+CACHE_DIR?=	${DESTDIR}/var/db/portindex
 CACHE_OWNER?=	root
 CACHE_GROUP?=	operator
 CACHE_MODE?=	0775
@@ -45,7 +45,7 @@
 
 install-conf:
 	cd ${WRKSRC} ; \
-	${INSTALL_DATA} ${CFG_FILE}.sample ${PREFIX}/etc/${CFG_FILE}.sample
+	${INSTALL_DATA} ${CFG_FILE}.sample ${TARGETDIR}/etc/${CFG_FILE}.sample
 	cd ${PREFIX}/etc ; \
 	if ${TEST} ! -f ${CFG_FILE} ; then \
 	    ${CP} -p ${CFG_FILE}.sample ${CFG_FILE} ; \
--- p5-FreeBSD-Portindex.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list