ports/163188: [patch] net-p2p/amule: broken without /usr/bin/perl symlink
Jan Beich
jbeich at tormail.net
Sun Dec 11 19:20:03 UTC 2011
>Number: 163188
>Category: ports
>Synopsis: [patch] net-p2p/amule: broken without /usr/bin/perl symlink
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sun Dec 11 19:20:03 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: Jan Beich
>Release: FreeBSD 10.0-CURRENT amd64
>Organization:
>Environment:
>Description:
>How-To-Repeat:
$ make install -C $PORTSDIR/lang/perl5.12 WITHOUT_USE_PERL=
$ make install -C $PORTSDIR/net-p2p/amule
===> Building for amule-2.3.1
[...]
Making all in ec
gmake[4]: Entering directory `/usr/ports/net-p2p/amule/work/aMule-2.3.1/src/libs/ec'
./file_generator.pl . abstracts/ECTagTypes.abstract abstracts/ECCodes.abstract;
./file_generator.pl: not found
gmake[4]: *** [ECGeneratedFiles] Error 127
gmake[4]: Leaving directory `/usr/ports/net-p2p/amule/work/aMule-2.3.1/src/libs/ec'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory `/usr/ports/net-p2p/amule/work/aMule-2.3.1/src/libs'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/usr/ports/net-p2p/amule/work/aMule-2.3.1/src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/net-p2p/amule/work/aMule-2.3.1'
gmake: *** [all] Error 2
*** [do-build] Error code 1
>Fix:
--- perl.diff begins here ----
Index: net-p2p/amule/Makefile
===================================================================
RCS file: /a/.csup/ports/net-p2p/amule/Makefile,v
retrieving revision 1.50
diff -u -p -r1.50 Makefile
--- net-p2p/amule/Makefile 30 Nov 2011 21:20:54 -0000 1.50
+++ net-p2p/amule/Makefile 11 Dec 2011 19:01:38 -0000
@@ -218,6 +218,8 @@ PLIST_SUB+= XAS="@comment "
-e 's/test.*-print-file-name.*`/true/' \
-e '/if.*test/s/==/=/' \
${WRKSRC}/configure
+ ${FIND} ${WRKSRC} -name \*.pl -exec ${REINPLACE_CMD} \
+ 's|/usr/bin/perl|${PERL5}|' {} +
.if defined(NOPORTDOCS)
${REINPLACE_CMD} 's/install-data-am:.*/install-data-am:/' \
${WRKSRC}/docs/Makefile.in
--- perl.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list