aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/webmin
diff options
context:
space:
mode:
authorolgeni <olgeni@FreeBSD.org>2007-09-30 03:46:33 +0800
committerolgeni <olgeni@FreeBSD.org>2007-09-30 03:46:33 +0800
commit4d0b4073db22ed202963cc51a4472aae16912ecf (patch)
tree334af4ecf10843296dd1ba0a13d6f1640775debf /sysutils/webmin
parent9d04998059678ed35a7859738ec7e7e60cf0f46c (diff)
downloadfreebsd-ports-gnome-4d0b4073db22ed202963cc51a4472aae16912ecf.tar.gz
freebsd-ports-gnome-4d0b4073db22ed202963cc51a4472aae16912ecf.tar.zst
freebsd-ports-gnome-4d0b4073db22ed202963cc51a4472aae16912ecf.zip
Do not depend on /usr/bin/perl (fix page load bug when /usr/bin/perl does not exist).
Diffstat (limited to 'sysutils/webmin')
-rw-r--r--sysutils/webmin/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/sysutils/webmin/Makefile b/sysutils/webmin/Makefile
index f0ff30d54b1c..63c282a0d037 100644
--- a/sysutils/webmin/Makefile
+++ b/sysutils/webmin/Makefile
@@ -7,6 +7,7 @@
PORTNAME= webmin
PORTVERSION= 1.370
+PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= http://download.webmin.com/updates/:up \
${MASTER_SITE_SOURCEFORGE:S/$/:sf/} \
@@ -50,13 +51,17 @@ post-patch:
spam/config-freebsd squid/config-freebsd \
stunnel/config usermin/config webalizer/config-freebsd \
wuftpd/config-freebsd xinetd/config-freebsd
- @${REINPLACE_CMD} -e "s=%%PREFIX%%=${PREFIX}=" ${WRKSRC}/${file}
+ @${REINPLACE_CMD} -e "s@%%PREFIX%%@${PREFIX}@g" ${WRKSRC}/${file}
.endfor
- @${REINPLACE_CMD} -e "s=%%PREFIX%%=${PREFIX}=" ${WRKSRC}/setup.sh
+ @${REINPLACE_CMD} -e "s@%%PREFIX%%@${PREFIX}@g" ${WRKSRC}/setup.sh
@${FIND} ${WRKSRC} -name "*.cgi" -print \
| ${XARGS} ${REINPLACE_CMD} -e "s@#!/usr/local/bin/perl@#!${PERL}@"
+ @${FIND} ${WRKSRC} -name "*.cgi" -print \
+ | ${XARGS} ${REINPLACE_CMD} -e "s@#!/usr/bin/perl@#!${PERL}@"
@${FIND} ${WRKSRC} -name "*.pl" -print \
| ${XARGS} ${REINPLACE_CMD} -e "s@#!/usr/local/bin/perl@#!${PERL}@"
+ @${FIND} ${WRKSRC} -name "*.pl" -print \
+ | ${XARGS} ${REINPLACE_CMD} -e "s@#!/usr/bin/perl@#!${PERL}@"
@${FIND} ${WRKSRC} -name "*.orig" -print | ${XARGS} ${RM}
@${FIND} ${WRKSRC} -name "*.bak" -print | ${XARGS} ${RM}