ports/101888: [PATCH] lang/pugs: Respect DESTDIR
Gea-Suan Lin
gslin at gslin.org
Sat Aug 12 09:00:33 UTC 2006
>Number: 101888
>Category: ports
>Synopsis: [PATCH] lang/pugs: Respect DESTDIR
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Sat Aug 12 09:00:30 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Gea-Suan Lin
>Release: FreeBSD 6.1-RELEASE i386
>Organization:
>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 (clsung at FreeBSD.org) is cc'd.
Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:
--- pugs-6.2.12.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/lang/pugs/Makefile /home/staff/gslin/work/ports/pugs/Makefile
--- /usr/ports/lang/pugs/Makefile Thu Aug 3 12:47:06 2006
+++ /home/staff/gslin/work/ports/pugs/Makefile Sat Aug 12 16:56:01 2006
@@ -31,8 +31,8 @@
.include <bsd.port.pre.mk>
post-configure:
- @${REINPLACE_CMD} -e '/^INSTALLPRIVLIB/s,${PREFIX}/lib,${PREFIX}/lib/perl6,;' \
- -e '/^INSTALLARCHLIB/s,${PREFIX}/lib,${PREFIX}/lib/perl6/mach,' \
+ @${REINPLACE_CMD} -e '/^INSTALLPRIVLIB/s,${PREFIX}/lib,${TARGETDIR}/lib/perl6,;' \
+ -e '/^INSTALLARCHLIB/s,${PREFIX}/lib,${TARGETDIR}/lib/perl6/mach,' \
${WRKSRC}/Makefile
.if !defined(NOPORTDOCS)
@@ -41,9 +41,9 @@
@${MKDIR} ${EXAMPLESDIR}
@${CP} -R ${EXDIR}/ ${EXAMPLESDIR}
@${FIND} -s ${EXAMPLESDIR} -type f | \
- ${SED} -e 's|^${PREFIX}/||' >> ${TMPPLIST}
+ ${SED} -e 's|^${TARGETDIR}/||' >> ${TMPPLIST}
@${FIND} -d ${EXAMPLESDIR} -type d | \
- ${SED} -e 's|^${PREFIX}/|@dirrm |' >> ${TMPPLIST}
+ ${SED} -e 's|^${TARGETDIR}/|@dirrm |' >> ${TMPPLIST}
.endif
.if ${PERL_LEVEL} < 500601
diff -ruN --exclude=CVS /usr/ports/lang/pugs/pkg-plist /home/staff/gslin/work/ports/pugs/pkg-plist
--- /usr/ports/lang/pugs/pkg-plist Thu Aug 3 12:47:06 2006
+++ /home/staff/gslin/work/ports/pugs/pkg-plist Sat Aug 12 16:56:13 2006
@@ -1,3 +1,4 @@
+ at comment $FreeBSD$
bin/pugs
bin/pugscc
%%SITE_PERL%%/Inline/Pugs.pm
--- pugs-6.2.12.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list