From 86dd146d0461e886469ca2f12d908f4e232b927b Mon Sep 17 00:00:00 2001 From: jlam Date: Thu, 27 Jul 2006 21:46:45 +0000 Subject: 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. --- mk/bsd.pkg.clean.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mk/bsd.pkg.clean.mk') diff --git a/mk/bsd.pkg.clean.mk b/mk/bsd.pkg.clean.mk index 738061172fe..7c9e30665a0 100644 --- a/mk/bsd.pkg.clean.mk +++ b/mk/bsd.pkg.clean.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.pkg.clean.mk,v 1.5 2006/07/20 15:42:04 jlam Exp $ +# $NetBSD: bsd.pkg.clean.mk,v 1.6 2006/07/27 21:46:45 jlam Exp $ # # This Makefile fragment is included to bsd.pkg.mk and defines the # relevant variables and targets for the "clean" phase. @@ -33,7 +33,7 @@ clean-depends: ${_DEPENDS_WALK_CMD} ${PKGPATH} | \ while read dir; do \ cd ${.CURDIR}/../../$$dir && \ - ${MAKE} ${MAKEFLAGS} CLEANDEPENDS=no clean; \ + ${RECURSIVE_MAKE} ${MAKEFLAGS} CLEANDEPENDS=no clean; \ done .PHONY: pre-clean -- cgit v1.2.3