summaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorolgeni <olgeni@FreeBSD.org>2004-06-20 10:35:47 +0000
committerolgeni <olgeni@FreeBSD.org>2004-06-20 10:35:47 +0000
commit86ea316834492f8fb55abf480bd0ae6fd2060761 (patch)
tree18cc1c007932ea5d23fd3d8a383384a56197feef /sysutils
parentc50f51af36ee0296f8f71f3fa7526075c3eddff3 (diff)
downloadFreeBSD-ports-86ea316834492f8fb55abf480bd0ae6fd2060761.zip
FreeBSD-ports-86ea316834492f8fb55abf480bd0ae6fd2060761.tar.gz
Fix ${PERL} insertion (unbreak -STABLE).
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/webmin/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/sysutils/webmin/Makefile b/sysutils/webmin/Makefile
index b3fd22a..fed4290 100644
--- a/sysutils/webmin/Makefile
+++ b/sysutils/webmin/Makefile
@@ -7,7 +7,7 @@
PORTNAME= webmin
PORTVERSION= 1.150
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= sysutils
MASTER_SITES= http://www.webmin.com/updates/ \
${MASTER_SITE_SOURCEFORGE}
@@ -58,7 +58,9 @@ post-patch:
.endfor
@${REINPLACE_CMD} -e "s=%%PREFIX%%=${PREFIX}=" ${WRKSRC}/setup.sh
@${FIND} ${WRKSRC} -name "*.cgi" -print \
- | ${XARGS} ${REINPLACE_CMD} -e "s@/usr/local/bin/perl@${PERL}@"
+ | ${XARGS} ${REINPLACE_CMD} -e "s@#!/usr/local/bin/perl@#!${PERL}@"
+ @${FIND} ${WRKSRC} -name "*.pl" -print \
+ | ${XARGS} ${REINPLACE_CMD} -e "s@#!/usr/local/bin/perl@#!${PERL}@"
@${FIND} ${WRKSRC} -name "*.orig" -print | ${XARGS} ${RM}
@${FIND} ${WRKSRC} -name "*.bak" -print | ${XARGS} ${RM}
# we may have 2 levels of empty directories which cause the plist generation
OpenPOWER on IntegriCloud