Date: Sun, 20 Apr 2014 23:45:57 +0000 (UTC) From: Antoine Brodin <antoine@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r351656 - head/Mk Message-ID: <201404202345.s3KNjvRs006132@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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!
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201404202345.s3KNjvRs006132>