Date: Mon, 14 Aug 2006 14:19:32 +0100 (BST) From: Matthew Seaman <m.seaman@infracaninophile.co.uk> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/102011: [maintainer] sysutils/p5-FreeBSD-Portindex respect DESTDIR/TARGETDIR Message-ID: <200608141319.k7EDJWq4087322@happy-idiot-talk.infracaninophile.co.uk> Resent-Message-ID: <200608141320.k7EDKAfi075546@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200608141319.k7EDJWq4087322>