aboutsummaryrefslogtreecommitdiffstats
path: root/net-p2p/amule
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2012-01-29 14:48:26 +0800
committermiwi <miwi@FreeBSD.org>2012-01-29 14:48:26 +0800
commitdac84babfefecf77bc895e5ed7d757ef8e42b598 (patch)
tree4a064cc7caa620b65c6d678686fc95779aeca395 /net-p2p/amule
parent15360b346759f0dbc250e04cd923872fb56fa113 (diff)
downloadfreebsd-ports-gnome-dac84babfefecf77bc895e5ed7d757ef8e42b598.tar.gz
freebsd-ports-gnome-dac84babfefecf77bc895e5ed7d757ef8e42b598.tar.zst
freebsd-ports-gnome-dac84babfefecf77bc895e5ed7d757ef8e42b598.zip
- Fix build when perl symlink is missing
PR: 163188 Submitted by: Jan Beich <jbeich@tormail.net> Approved by: maintainer timeout
Diffstat (limited to 'net-p2p/amule')
-rw-r--r--net-p2p/amule/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/net-p2p/amule/Makefile b/net-p2p/amule/Makefile
index e01501b58d1f..04132f06deba 100644
--- a/net-p2p/amule/Makefile
+++ b/net-p2p/amule/Makefile
@@ -223,6 +223,8 @@ post-patch: .SILENT
-e 's/test.*-print-file-name.*`/true/' \
-e '/if.*test/s/==/=/' \
${WRKSRC}/configure
+ ${FIND} ${WRKSRC} -name \*.pl -exec ${REINPLACE_CMD} \
+ 's|/usr/bin/perl|${PERL}|' {} +
.if defined(NOPORTDOCS)
${REINPLACE_CMD} 's/install-data-am:.*/install-data-am:/' \
${WRKSRC}/docs/Makefile.in