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 /net/samba2 | |
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 'net/samba2')
-rw-r--r-- | net/samba2/Makefile | 6 |
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} |