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
commit6fbf776d11ee9e8ea11e999d0b99bc3ad35345d7 (patch)
tree9e1ed235761e43178980383a9260a8ca70040dfb /devel/cpuflags
parent05ce53b85f870bbaa3b3dd3293f3514bc8d9569b (diff)
downloadpkgsrc-6fbf776d11ee9e8ea11e999d0b99bc3ad35345d7.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