aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/webmin
diff options
context:
space:
mode:
authorolgeni <olgeni@FreeBSD.org>2015-10-09 20:12:45 +0800
committerolgeni <olgeni@FreeBSD.org>2015-10-09 20:12:45 +0800
commit0dc07cecb0d8847230bfeeb432018c93afe60c14 (patch)
tree04b6994a12698c8403e984d320e3ac5d6d61ab79 /sysutils/webmin
parent5b8a61892be6c8b5413a756ce2648f3784bce9c7 (diff)
downloadfreebsd-ports-gnome-0dc07cecb0d8847230bfeeb432018c93afe60c14.tar.gz
freebsd-ports-gnome-0dc07cecb0d8847230bfeeb432018c93afe60c14.tar.zst
freebsd-ports-gnome-0dc07cecb0d8847230bfeeb432018c93afe60c14.zip
Make sure to patch all config files for %%PREFIX%%.
Diffstat (limited to 'sysutils/webmin')
-rw-r--r--sysutils/webmin/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/sysutils/webmin/Makefile b/sysutils/webmin/Makefile
index cbcd57d9a54f..dec5542551d2 100644
--- a/sysutils/webmin/Makefile
+++ b/sysutils/webmin/Makefile
@@ -3,6 +3,7 @@
PORTNAME= webmin
PORTVERSION= 1.760
+PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= http://download.webmin.com/updates/:up \
SF/webadmin/${PORTNAME}/${PORTVERSION}:sf
@@ -37,7 +38,7 @@ post-extract:
post-patch:
@${REINPLACE_CMD} -e "s@%%PREFIX%%@${PREFIX}@g" ${WRKSRC}/setup.sh
- @${FIND} ${WRKSRC} -name config-freebsd\* \
+ @${FIND} ${WRKSRC} \( -name config-freebsd\* -or -name config \) \
-exec ${REINPLACE_CMD} -e "s@/usr/local@${PREFIX}@g" {} \; \
-exec ${REINPLACE_CMD} -e "s@%%PREFIX%%@${PREFIX}@g" {} \;