summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorgrant <grant>2003-10-18 05:23:48 +0000
committergrant <grant>2003-10-18 05:23:48 +0000
commit573df95ae06ab9e911030f46812160574a74e7d3 (patch)
tree7dd6112e8f00899f860b9b3a0b76331c650ccbd7 /mk
parentb4b7b196b63fb8a7a329e4da38100f4de3a7ffc8 (diff)
downloadpkgsrc-573df95ae06ab9e911030f46812160574a74e7d3.tar.gz
properly quote the value of PKGNAME_REQD when calling ${MAKE} to
build a dependency so that the shell does not attempt to do interpret the value of PKGNAME_REQD. noticed on Linux building graphics/mplayer where the build of audio/nas was broken because ${MAKE} was being called with PKGNAME_REQD=nas>=1.4.2 instead of PKGNAME_REQD="nas>=1.4.2"
Diffstat (limited to 'mk')
-rw-r--r--mk/bsd.pkg.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk
index 936da205308..22ef473d4e2 100644
--- a/mk/bsd.pkg.mk
+++ b/mk/bsd.pkg.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.1295 2003/10/11 05:09:39 grant Exp $
+# $NetBSD: bsd.pkg.mk,v 1.1296 2003/10/18 05:23:48 grant Exp $
#
# This file is in the public domain.
#
@@ -4017,7 +4017,7 @@ install-depends: uptodate-pkgtools
${ECHO_MSG} "=> No directory for $$dir. Skipping.."; \
else \
cd $$dir ; \
- ${MAKE} ${MAKEFLAGS} $$target _PKGSRC_DEPS=", ${PKGNAME}${_PKGSRC_DEPS}" PKGNAME_REQD="$$pkg"; \
+ ${MAKE} ${MAKEFLAGS} $$target _PKGSRC_DEPS=", ${PKGNAME}${_PKGSRC_DEPS}" PKGNAME_REQD=\""$$pkg"\"; \
${ECHO_MSG} "${_PKGSRC_IN}> Returning to build of ${PKGNAME}"; \
fi; \
fi