svn commit: r398908 - in head/sysutils: usermin webmin
Jimmy Olgeni
olgeni at FreeBSD.org
Fri Oct 9 12:12:47 UTC 2015
Author: olgeni
Date: Fri Oct 9 12:12:45 2015
New Revision: 398908
URL: https://svnweb.freebsd.org/changeset/ports/398908
Log:
Make sure to patch all config files for %%PREFIX%%.
Modified:
head/sysutils/usermin/Makefile
head/sysutils/webmin/Makefile
Modified: head/sysutils/usermin/Makefile
==============================================================================
--- head/sysutils/usermin/Makefile Fri Oct 9 10:21:33 2015 (r398907)
+++ head/sysutils/usermin/Makefile Fri Oct 9 12:12:45 2015 (r398908)
@@ -2,6 +2,7 @@
PORTNAME= usermin
PORTVERSION= 1.670
+PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= http://www.webmin.com/uupdates/:up \
SF/webadmin/${PORTNAME}/${PORTVERSION}:sf \
@@ -43,7 +44,7 @@ post-patch:
@${REINPLACE_CMD} -i '' -e 's|=/etc/webmin|=${PREFIX}/etc/webmin|' ${WRKSRC}/${file}
.endfor
- @${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" {} \;
Modified: head/sysutils/webmin/Makefile
==============================================================================
--- head/sysutils/webmin/Makefile Fri Oct 9 10:21:33 2015 (r398907)
+++ head/sysutils/webmin/Makefile Fri Oct 9 12:12:45 2015 (r398908)
@@ -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" {} \;
More information about the svn-ports-all
mailing list