summaryrefslogtreecommitdiff
path: root/net/samba2
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
commit3801df0a7f3b07f43fbafe68e4aeecb464132973 (patch)
tree9e1ed235761e43178980383a9260a8ca70040dfb /net/samba2
parentafadf00def68756dd00a4107516c54ea47d99d80 (diff)
downloadpkgsrc-3801df0a7f3b07f43fbafe68e4aeecb464132973.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/samba2')
-rw-r--r--net/samba2/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/net/samba2/Makefile b/net/samba2/Makefile
index e15603821e2..94d4d54b820 100644
--- a/net/samba2/Makefile
+++ b/net/samba2/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2004/01/11 00:44:35 jlam Exp $
+# $NetBSD: Makefile,v 1.10 2004/02/06 19:04:25 jlam Exp $
.include "Makefile.common"
PKGREVISION= 6
@@ -67,12 +67,12 @@ OWN_DIRS_PERMS= ${SAMBA_PRIVATE} ${ROOT_USER} ${ROOT_GROUP} 0500
.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}