Date: Mon, 12 Oct 2015 21:38:28 +0000 (UTC) From: Bryan Drewery <bdrewery@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r399153 - head/Mk Message-ID: <201510122138.t9CLcSpq047013@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201510122138.t9CLcSpq047013>