Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Aug 2006 04:23:52 +0800 (CST)
From:      Gea-Suan Lin <gslin@gslin.org>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        perl@FreeBSD.org, gslin@gslin.org
Subject:   [PATCH] www/p5-Template-Toolkit: Respect DESTDIR
Message-ID:  <20060811202352.4EE45116@netnews.NCTU.edu.tw>

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

>Submitter-Id:	current-users
>Originator:	Gea-Suan Lin
>Organization:	
>Confidential:	no 
>Synopsis:	[PATCH] www/p5-Template-Toolkit: Respect DESTDIR
>Severity:	non-critical
>Priority:	low
>Category:	ports 
>Class:		change-request
>Release:	FreeBSD 6.1-RELEASE i386
>Environment:
System: FreeBSD netnews.NCTU.edu.tw 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sat May 13 03:43:48 CST 2006
>Description:
- Respect DESTDIR

Port maintainer (perl@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- p5-Template-Toolkit-2.15.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/www/p5-Template-Toolkit/Makefile /home/staff/gslin/work/p5-Template-Toolkit/Makefile
--- /usr/ports/www/p5-Template-Toolkit/Makefile	Mon May 29 20:24:01 2006
+++ /home/staff/gslin/work/p5-Template-Toolkit/Makefile	Sat Aug 12 04:22:36 2006
@@ -56,7 +56,7 @@
 .include "Makefile.man"
 
 post-patch:
-	${PERL} -pi -e 's,/usr/local/tt2,${PREFIX}/share/tt2,g' \
+	${PERL} -pi -e 's,/usr/local/tt2,${TARGETDIR}/share/tt2,g' \
 		${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
 
 .if ${PERL_LEVEL} < 500600
--- p5-Template-Toolkit-2.15.patch ends here ---




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