diff options
author | antoine <antoine@FreeBSD.org> | 2014-04-21 07:45:56 +0800 |
---|---|---|
committer | antoine <antoine@FreeBSD.org> | 2014-04-21 07:45:56 +0800 |
commit | 3afd6d3eb5771cb4d699b16bdadbf9d456281981 (patch) | |
tree | 4dd25a9cce73c84c01bc4d6d4d301d63587d4d9e /Mk/bsd.port.mk | |
parent | a3221941107d9491a99333ce07e01da7918e2545 (diff) | |
download | freebsd-ports-graphics-3afd6d3eb5771cb4d699b16bdadbf9d456281981.tar.gz freebsd-ports-graphics-3afd6d3eb5771cb4d699b16bdadbf9d456281981.tar.zst freebsd-ports-graphics-3afd6d3eb5771cb4d699b16bdadbf9d456281981.zip |
Fix PLIST_SUB_SED when value contains =
With hat: portmgr
Diffstat (limited to 'Mk/bsd.port.mk')
-rw-r--r-- | Mk/bsd.port.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk index 5d3d649f6df..02a5c97547b 100644 --- a/Mk/bsd.port.mk +++ b/Mk/bsd.port.mk @@ -1623,7 +1623,7 @@ SUB_LIST+= PREFIX=${PREFIX} LOCALBASE=${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! |