aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/webmin/Makefile
diff options
context:
space:
mode:
authorolgeni <olgeni@FreeBSD.org>2004-06-20 18:35:47 +0800
committerolgeni <olgeni@FreeBSD.org>2004-06-20 18:35:47 +0800
commit86ea316834492f8fb55abf480bd0ae6fd2060761 (patch)
tree18cc1c007932ea5d23fd3d8a383384a56197feef /sysutils/webmin/Makefile
parentc50f51af36ee0296f8f71f3fa7526075c3eddff3 (diff)
downloadfreebsd-ports-gnome-86ea316834492f8fb55abf480bd0ae6fd2060761.tar.gz
freebsd-ports-gnome-86ea316834492f8fb55abf480bd0ae6fd2060761.tar.zst
freebsd-ports-gnome-86ea316834492f8fb55abf480bd0ae6fd2060761.zip
Fix ${PERL} insertion (unbreak -STABLE).
Diffstat (limited to 'sysutils/webmin/Makefile')
-rw-r--r--sysutils/webmin/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/sysutils/webmin/Makefile b/sysutils/webmin/Makefile
index b3fd22a94d45..fed429048789 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