diff options
author | minskim <minskim@pkgsrc.org> | 2005-10-23 16:58:42 +0000 |
---|---|---|
committer | minskim <minskim@pkgsrc.org> | 2005-10-23 16:58:42 +0000 |
commit | 2ee4956c8bd1f80a8beef2dcdd9ec7df8ce78aed (patch) | |
tree | a54b6208d7f683b94cd84cc70b19af1ab20de178 /mk | |
parent | 5e5f5cc2858fa65240a98c3cb5c18bc206232ca6 (diff) | |
download | pkgsrc-2ee4956c8bd1f80a8beef2dcdd9ec7df8ce78aed.tar.gz |
Pass PKG_REQD through shell environment, instead of arguments of make,
so that a dependent package can override it properly. This makes
INSTALL_MAKE_FLAGS work when a package is installed as a dependency.
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 9fd04f305ac..4e0cab7ecbd 100644 --- a/mk/bsd.pkg.mk +++ b/mk/bsd.pkg.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.pkg.mk,v 1.1732 2005/10/16 17:48:24 tv Exp $ +# $NetBSD: bsd.pkg.mk,v 1.1733 2005/10/23 16:58:42 minskim Exp $ # # This file is in the public domain. # @@ -3669,7 +3669,7 @@ install-depends: pre-install-depends ${ECHO_MSG} "=> No directory for $$dir. Skipping.."; \ else \ cd $$dir ; \ - ${SETENV} _PKGSRC_DEPS=", ${PKGNAME}${_PKGSRC_DEPS}" ${MAKE} ${MAKEFLAGS} $$target PKGNAME_REQD=\'$$pkg\' MAKEFLAGS="" || exit 1; \ + ${SETENV} _PKGSRC_DEPS=", ${PKGNAME}${_PKGSRC_DEPS}" PKGNAME_REQD=\'$$pkg\' ${MAKE} ${MAKEFLAGS} $$target || exit 1; \ ${ECHO_MSG} "${_PKGSRC_IN}> Returning to build of ${PKGNAME}"; \ fi; \ fi |