diff options
author | jlam <jlam@pkgsrc.org> | 2004-02-06 19:04:24 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2004-02-06 19:04:24 +0000 |
commit | 7699290f1060509f9b32dff10f411e2e95c11798 (patch) | |
tree | 9e1ed235761e43178980383a9260a8ca70040dfb /devel/cpuflags | |
parent | ca9cfaafab77ea1327c66314e401682f91707ba0 (diff) | |
download | pkgsrc-7699290f1060509f9b32dff10f411e2e95c11798.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.mk | 4 |
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 |