summaryrefslogtreecommitdiff
path: root/devel/cpuflags
diff options
context:
space:
mode:
authorjlam <jlam>2004-02-06 19:04:24 +0000
committerjlam <jlam>2004-02-06 19:04:24 +0000
commita0db33103cd4ddee3ab1e90a3b1066b1f4b9175c (patch)
tree9e1ed235761e43178980383a9260a8ca70040dfb /devel/cpuflags
parent631c13ce91943cfd85bbbb80fd5a000e928de595 (diff)
downloadpkgsrc-a0db33103cd4ddee3ab1e90a3b1066b1f4b9175c.tar.gz
If we're passing through MAKEFLAGS variables whose values may contain
spaces, use the :Q modifier instead of double-quoting the value. This avoids breakage when executing the just-in-time su targets.
Diffstat (limited to 'devel/cpuflags')
-rw-r--r--devel/cpuflags/files/cpuflags.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/devel/cpuflags/files/cpuflags.mk b/devel/cpuflags/files/cpuflags.mk
index 5e155a785bc..5ab5c7539a2 100644
--- a/devel/cpuflags/files/cpuflags.mk
+++ b/devel/cpuflags/files/cpuflags.mk
@@ -1,4 +1,4 @@
-# $Id: cpuflags.mk,v 1.13 2004/01/21 00:54:08 abs Exp $
+# $Id: cpuflags.mk,v 1.14 2004/02/06 19:04:24 jlam Exp $
# Makefile include fragment to simplify use of cpuflags in pkgsrc
# abs@netbsd.org - freely distributable, no warrenties, stick no bills.
@@ -25,7 +25,7 @@ CPU_DIR!=echo ${CPU_FLAGS} | sed 's/ //'
.endif
.if !defined(MAKEFLAGS) || empty(MAKEFLAGS:MCPU_FLAGS)
-MAKEFLAGS+=CPU_FLAGS="${CPU_FLAGS}" CPU_DIR="${CPU_DIR}" # For sub makes
+MAKEFLAGS+=CPU_FLAGS=${CPU_FLAGS:Q} CPU_DIR=${CPU_DIR:Q} # For sub makes
.endif
.ifdef BSD_PKG_MK # Try to catch various package opts