[PATCH] www/p5-Template-Toolkit: Respect DESTDIR
Gea-Suan Lin
gslin at gslin.org
Fri Aug 11 20:23:53 UTC 2006
>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 at 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 ---
More information about the freebsd-perl
mailing list