diff options
author | jlam <jlam@pkgsrc.org> | 2006-07-27 21:46:45 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2006-07-27 21:46:45 +0000 |
commit | c489860d62f36ac71be788965942d2b47c524285 (patch) | |
tree | cfcc9913180425eb49a1e2c5c65e2e2044d9a6ef /mk/fetch | |
parent | 03cba20b8ec45d3d8d940b36f652373bc8900e7c (diff) | |
download | pkgsrc-c489860d62f36ac71be788965942d2b47c524285.tar.gz |
Whenever we invoke a recursive make, we need to ensure that the proper
environment ${PKGSRC_MAKE_ENV} is also passed along. Create a
convenience variable RECURSIVE_MAKE that does exactly this and that
can be used in place of MAKE when invoking make recursively.
Use RECURSIVE_MAKE everywhere in pkgsrc/mk that we invoke make
recursively.
Diffstat (limited to 'mk/fetch')
-rw-r--r-- | mk/fetch/fetch-list.mk | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mk/fetch/fetch-list.mk b/mk/fetch/fetch-list.mk index 98abc10f20f..de7241340b3 100644 --- a/mk/fetch/fetch-list.mk +++ b/mk/fetch/fetch-list.mk @@ -1,4 +1,4 @@ -# $NetBSD: fetch-list.mk,v 1.8 2006/07/27 17:29:57 jlam Exp $ +# $NetBSD: fetch-list.mk,v 1.9 2006/07/27 21:46:46 jlam Exp $ ###################################################################### ### fetch-list (PUBLIC) @@ -39,8 +39,8 @@ fetch-list-header: fetch-list-recursive: @${_DEPENDS_WALK_CMD} -r ${PKGPATH} | \ while read dir; do \ - ( cd ../../$$dir && ${SETENV} ${PKGSRC_MAKE_ENV} \ - ${MAKE} ${MAKEFLAGS} fetch-list-one-pkg | \ + ( cd ../../$$dir && \ + ${RECURSIVE_MAKE} ${MAKEFLAGS} fetch-list-one-pkg | \ ${AWK} '/^[^#]/ { FoundSomething = 1 } \ /^unsorted/ { gsub(/[[:space:]]+/, " \\\n\t") } \ /^echo/ { gsub(/;[[:space:]]+/, "\n") } \ |