From 3140425d027a19b22e40c8109f5bf0dc8247aa9d Mon Sep 17 00:00:00 2001 From: drochner Date: Tue, 15 Jan 2002 17:27:55 +0000 Subject: if a sub-make is invoked to install a prerequisite pkg, pass it the required pkg name (as PKGNAME_REQD) --- mk/bsd.pkg.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mk') diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk index 3d85fdf261a..f66b2183b2e 100644 --- a/mk/bsd.pkg.mk +++ b/mk/bsd.pkg.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.pkg.mk,v 1.903 2002/01/15 09:02:09 seb Exp $ +# $NetBSD: bsd.pkg.mk,v 1.904 2002/01/15 17:27:55 drochner Exp $ # # This file is in the public domain. # @@ -2935,7 +2935,7 @@ install-depends: uptodate-pkgtools ${ECHO_MSG} "=> No directory for $$dir. Skipping.."; \ else \ cd $$dir ; \ - ${MAKE} ${MAKEFLAGS} $$target _PKGSRC_DEPS=", ${PKGNAME}${_PKGSRC_DEPS}"; \ + ${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