summaryrefslogtreecommitdiff
path: root/pkgtools
diff options
context:
space:
mode:
authorjlam <jlam>2004-02-06 19:04:24 +0000
committerjlam <jlam>2004-02-06 19:04:24 +0000
commit6fbf776d11ee9e8ea11e999d0b99bc3ad35345d7 (patch)
tree9e1ed235761e43178980383a9260a8ca70040dfb /pkgtools
parent05ce53b85f870bbaa3b3dd3293f3514bc8d9569b (diff)
downloadpkgsrc-6fbf776d11ee9e8ea11e999d0b99bc3ad35345d7.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 'pkgtools')
-rw-r--r--pkgtools/gensolpkg/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgtools/gensolpkg/Makefile b/pkgtools/gensolpkg/Makefile
index 2b2100e2197..528b0ced330 100644
--- a/pkgtools/gensolpkg/Makefile
+++ b/pkgtools/gensolpkg/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2003/07/17 22:52:14 grant Exp $
+# $NetBSD: Makefile,v 1.19 2004/02/06 19:04:25 jlam Exp $
#
DISTNAME= gensolpkg-1.10
@@ -12,7 +12,7 @@ COMMENT= Utility to generate a Solaris package
ONLY_FOR_PLATFORM= SunOS-*-* # uses Solaris pkgmk(1)
MAKE_ENV+= CPPFLAGS="" CC=${CC:Q}
-MAKEFLAGS+= PREFIX=${PREFIX} ZOULARISBASE=${ZOULARISBASE}
+MAKEFLAGS+= PREFIX=${PREFIX:Q} ZOULARISBASE=${ZOULARISBASE:Q}
do-install:
cd ${WRKSRC} && ${MAKE} install PREFIX=${PREFIX}