summaryrefslogtreecommitdiff
path: root/net/samba
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2004-02-06 19:04:24 +0000
committerjlam <jlam@pkgsrc.org>2004-02-06 19:04:24 +0000
commit7699290f1060509f9b32dff10f411e2e95c11798 (patch)
tree9e1ed235761e43178980383a9260a8ca70040dfb /net/samba
parentca9cfaafab77ea1327c66314e401682f91707ba0 (diff)
downloadpkgsrc-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 'net/samba')
-rw-r--r--net/samba/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/net/samba/Makefile b/net/samba/Makefile
index 80b34043ac3..9f0a85be06d 100644
--- a/net/samba/Makefile
+++ b/net/samba/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.112 2004/01/20 12:22:21 agc Exp $
+# $NetBSD: Makefile,v 1.113 2004/02/06 19:04:25 jlam Exp $
DISTNAME= samba-3.0.1
PKGREVISION= 1
@@ -109,12 +109,12 @@ BUILD_DEFS+= SAMBA_USE_LDAP_COMPAT
.if !defined(MKTEMP)
MKTEMP!= ${TYPE} mktemp 2>&1 | \
${AWK} '/not found/ { print "mktemp"; exit } { print $$3 }'
-MAKEFLAGS+= MKTEMP="${MKTEMP}"
+MAKEFLAGS+= MKTEMP=${MKTEMP:Q}
.endif
.if !defined(PWD_MKDB)
PWD_MKDB!= ${TYPE} pwd_mkdb 2>&1 | \
${AWK} '/not found/ { print "pwd_mkdb"; exit } { print $$3 }'
-MAKEFLAGS+= PWD_MKDB="${PWD_MKDB}"
+MAKEFLAGS+= PWD_MKDB=${PWD_MKDB:Q}
.endif
FILES_SUBST+= MKTEMP=${MKTEMP:Q}
FILES_SUBST+= PWD_MKDB=${PWD_MKDB:Q}