From de5401e65eae1efdf0958252a6d2e1b21f53c4e1 Mon Sep 17 00:00:00 2001 From: grant Date: Sat, 18 Oct 2003 05:23:48 +0000 Subject: 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" --- mk/bsd.pkg.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mk/bsd.pkg.mk') 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 -- cgit v1.2.3