svn commit: r399153 - head/Mk
Bryan Drewery
bdrewery at FreeBSD.org
Mon Oct 12 21:38:29 UTC 2015
Author: bdrewery
Date: Mon Oct 12 21:38:28 2015
New Revision: 399153
URL: https://svnweb.freebsd.org/changeset/ports/399153
Log:
Replace escaping for exported vars with :Q feature.
With hat: portmgr
Modified:
head/Mk/bsd.port.mk
Modified: head/Mk/bsd.port.mk
==============================================================================
--- head/Mk/bsd.port.mk Mon Oct 12 21:36:55 2015 (r399152)
+++ head/Mk/bsd.port.mk Mon Oct 12 21:38:28 2015 (r399153)
@@ -5052,10 +5052,10 @@ ${_t}:
.if !defined(NOPRECIOUSMAKEVARS)
# These won't change, so we can pass them through the environment
.MAKEFLAGS: \
- ARCH="${ARCH:S/"/"'"'"/g:S/\$/\$\$/g:S/\\/\\\\/g}" \
- OPSYS="${OPSYS:S/"/"'"'"/g:S/\$/\$\$/g:S/\\/\\\\/g}" \
- OSREL="${OSREL:S/"/"'"'"/g:S/\$/\$\$/g:S/\\/\\\\/g}" \
- OSVERSION="${OSVERSION:S/"/"'"'"/g:S/\$/\$\$/g:S/\\/\\\\/g}"
+ ARCH=${ARCH:Q} \
+ OPSYS=${OPSYS:Q} \
+ OSREL=${OSREL:Q} \
+ OSVERSION=${OSVERSION:Q}
.endif
.if !target(pre-check-config)
More information about the svn-ports-head
mailing list