svn commit: r351656 - head/Mk
Antoine Brodin
antoine at FreeBSD.org
Sun Apr 20 23:45:57 UTC 2014
Author: antoine
Date: Sun Apr 20 23:45:56 2014
New Revision: 351656
URL: http://svnweb.freebsd.org/changeset/ports/351656
QAT: https://qat.redports.org/buildarchive/r351656/
Log:
Fix PLIST_SUB_SED when value contains =
With hat: portmgr
Modified:
head/Mk/bsd.port.mk
Modified: head/Mk/bsd.port.mk
==============================================================================
--- head/Mk/bsd.port.mk Sun Apr 20 22:56:18 2014 (r351655)
+++ head/Mk/bsd.port.mk Sun Apr 20 23:45:56 2014 (r351656)
@@ -1623,7 +1623,7 @@ SUB_LIST+= PREFIX=${PREFIX} LOCALBASE=${
# Remove quotes
# Replace . with \. for later sed(1) usage
PLIST_SUB_SED_MIN?= 2
-PLIST_SUB_SED?= ${PLIST_SUB:C/.*=.{1,${PLIST_SUB_SED_MIN}}$//g:NEXTRACT_SUFX=*:NOSREL=*:NLIB32DIR=*:NPREFIX=*:NLOCALBASE=*:N*="":N*="@comment*:C/(.*)="?([^"]*)"?/s!\2!%%\1%%!g;/g:C/\./\\./g}
+PLIST_SUB_SED?= ${PLIST_SUB:C/.*=.{1,${PLIST_SUB_SED_MIN}}$//g:NEXTRACT_SUFX=*:NOSREL=*:NLIB32DIR=*:NPREFIX=*:NLOCALBASE=*:N*="":N*="@comment*:C/([^=]*)="?([^"]*)"?/s!\2!%%\1%%!g;/g:C/\./\\./g}
PLIST_REINPLACE+= dirrmtry stopdaemon rmtry
PLIST_REINPLACE_DIRRMTRY=s!^@dirrmtry \(.*\)!@unexec rmdir "%D/\1" 2>/dev/null || true!
More information about the svn-ports-head
mailing list