Date: Fri, 9 Oct 2015 12:12:45 +0000 (UTC) From: Jimmy Olgeni <olgeni@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r398908 - in head/sysutils: usermin webmin Message-ID: <201510091212.t99CCj3F043366@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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" {} \;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201510091212.t99CCj3F043366>