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 | |
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')
-rw-r--r-- | net/bind8/Makefile | 4 | ||||
-rw-r--r-- | net/samba/Makefile | 6 | ||||
-rw-r--r-- | net/samba2/Makefile | 6 |
3 files changed, 8 insertions, 8 deletions
diff --git a/net/bind8/Makefile b/net/bind8/Makefile index 34de23139cf..7c9a1f609ff 100644 --- a/net/bind8/Makefile +++ b/net/bind8/Makefile @@ -1,5 +1,5 @@ # -# $NetBSD: Makefile,v 1.25 2004/01/28 12:18:47 grant Exp $ +# $NetBSD: Makefile,v 1.26 2004/02/06 19:04:25 jlam Exp $ # # FreeBSD Id: Makefile,v 1.12 1999/06/28 21:25:07 billf Exp # @@ -37,7 +37,7 @@ MAKEFLAGS+= INSTALL=${INSTALL} OWN_DIRS_PERMS= ${PKG_SYSCONFDIR}/ndc.d root other 700 .endif -MAKEFLAGS+= PREFIX=${PREFIX} +MAKEFLAGS+= PREFIX=${PREFIX:Q} post-extract: cd ${WRKDIR}/doc/man && \ 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} 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} |