diff options
author | hubertf <hubertf> | 1999-02-25 23:02:38 +0000 |
---|---|---|
committer | hubertf <hubertf> | 1999-02-25 23:02:38 +0000 |
commit | c3cb81b901795939dc4b5373339b5c8a3eddc513 (patch) | |
tree | eeb84031f09d933ace9ada5112a164f78925babd | |
parent | 0100be13aae0773dd95ffb415888d42af1f65a62 (diff) | |
download | pkgsrc-c3cb81b901795939dc4b5373339b5c8a3eddc513.tar.gz |
Set things like PATH for targets pre-*, do-* and post-* (from ${MAKE_ENV}).
This prevents that the pkg builder needs ${LOCALBASE/bin in $PATH.
Helps also with Peter Seebach's problem in PR 7047.
-rw-r--r-- | mk/bsd.pkg.mk | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk index 6e21239b0c8..13f63a3ab1c 100644 --- a/mk/bsd.pkg.mk +++ b/mk/bsd.pkg.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.pkg.mk,v 1.217 1999/02/21 14:29:58 tron Exp $ +# $NetBSD: bsd.pkg.mk,v 1.218 1999/02/25 23:02:38 hubertf Exp $ # # This file is in the public domain. # @@ -1145,13 +1145,13 @@ _PORT_USE: .USE fi .endif .endif - @cd ${.CURDIR} && ${MAKE} ${.MAKEFLAGS} ${.TARGET:S/^real-/pre-/} + @cd ${.CURDIR} && ${SETENV} ${MAKE_ENV} ${MAKE} ${.MAKEFLAGS} ${.TARGET:S/^real-/pre-/} @if [ -f ${SCRIPTDIR}/${.TARGET:S/^real-/pre-/} ]; then \ cd ${.CURDIR} && ${SETENV} ${SCRIPTS_ENV} ${SH} \ ${SCRIPTDIR}/${.TARGET:S/^real-/pre-/}; \ fi - @cd ${.CURDIR} && ${MAKE} ${.MAKEFLAGS} ${.TARGET:S/^real-/do-/} - @cd ${.CURDIR} && ${MAKE} ${.MAKEFLAGS} ${.TARGET:S/^real-/post-/} + @cd ${.CURDIR} && ${SETENV} ${MAKE_ENV} ${MAKE} ${.MAKEFLAGS} ${.TARGET:S/^real-/do-/} + @cd ${.CURDIR} && ${SETENV} ${MAKE_ENV} ${MAKE} ${.MAKEFLAGS} ${.TARGET:S/^real-/post-/} @if [ -f ${SCRIPTDIR}/${.TARGET:S/^real-/post-/} ]; then \ cd ${.CURDIR} && ${SETENV} ${SCRIPTS_ENV} ${SH} \ ${SCRIPTDIR}/${.TARGET:S/^real-/post-/}; \ |