aboutsummaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
authorBryan Drewery <bdrewery@FreeBSD.org>2015-10-13 05:38:28 +0800
committerBryan Drewery <bdrewery@FreeBSD.org>2015-10-13 05:38:28 +0800
commit1289b5e04346b14544d7d2d37fcb8938b840f65b (patch)
tree03154677345f640049f3bc9ba272ab616904e604 /Mk
parentac1cb7e914e672be66b38201664410ca1b8883b2 (diff)
downloadfreebsd-ports-gnome-1289b5e04346b14544d7d2d37fcb8938b840f65b.tar.gz
freebsd-ports-gnome-1289b5e04346b14544d7d2d37fcb8938b840f65b.tar.zst
freebsd-ports-gnome-1289b5e04346b14544d7d2d37fcb8938b840f65b.zip
Replace escaping for exported vars with :Q feature.
With hat: portmgr
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.port.mk8
1 files changed, 4 insertions, 4 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk
index efd9c2955172..6154195076fd 100644
--- a/Mk/bsd.port.mk
+++ b/Mk/bsd.port.mk
@@ -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)