diff options
author | grant <grant@pkgsrc.org> | 2003-10-18 05:23:48 +0000 |
---|---|---|
committer | grant <grant@pkgsrc.org> | 2003-10-18 05:23:48 +0000 |
commit | de5401e65eae1efdf0958252a6d2e1b21f53c4e1 (patch) | |
tree | 7dd6112e8f00899f860b9b3a0b76331c650ccbd7 | |
parent | 51190440d569905b4ddca949cb885864d9d2f021 (diff) | |
download | pkgsrc-de5401e65eae1efdf0958252a6d2e1b21f53c4e1.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"
-rw-r--r-- | mk/bsd.pkg.mk | 4 |
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 |