aboutsummaryrefslogtreecommitdiff
path: root/net-p2p/amule
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2012-01-29 06:48:26 +0000
committerMartin Wilke <miwi@FreeBSD.org>2012-01-29 06:48:26 +0000
commitcbc1192436f0c618def3c072af17797241ccb219 (patch)
treee55d9203668fb3efd750c934a4fdf00c035461b6 /net-p2p/amule
parentbc72ac544217f5a0176f91781f1a766fd3b764d5 (diff)
downloadports-cbc1192436f0c618def3c072af17797241ccb219.tar.gz
ports-cbc1192436f0c618def3c072af17797241ccb219.zip
- Fix build when perl symlink is missing
PR: 163188 Submitted by: Jan Beich <jbeich@tormail.net> Approved by: maintainer timeout
Notes
Notes: svn path=/head/; revision=290006
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