diff options
author | drochner <drochner@pkgsrc.org> | 2002-01-15 17:27:55 +0000 |
---|---|---|
committer | drochner <drochner@pkgsrc.org> | 2002-01-15 17:27:55 +0000 |
commit | 3140425d027a19b22e40c8109f5bf0dc8247aa9d (patch) | |
tree | ad911f3c34c31852485fe0069f002a6cb93049b2 /mk | |
parent | 4390765356a54a5403b4efa50749a66a164f0c02 (diff) | |
download | pkgsrc-3140425d027a19b22e40c8109f5bf0dc8247aa9d.tar.gz |
if a sub-make is invoked to install a prerequisite pkg, pass it the
required pkg name (as PKGNAME_REQD)
Diffstat (limited to 'mk')
-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 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 |