diff options
author | tv <tv> | 2005-01-27 11:21:46 +0000 |
---|---|---|
committer | tv <tv> | 2005-01-27 11:21:46 +0000 |
commit | 77f5fff370086dbca808a8bbb2039d8aa0ef68c5 (patch) | |
tree | 4a23e238002aa10c75be0fbe05bbf239cd35f1b8 /mk | |
parent | be7d57f01274f419f0753bf14b8d63ab27c1fd47 (diff) | |
download | pkgsrc-77f5fff370086dbca808a8bbb2039d8aa0ef68c5.tar.gz |
Fix handling of PREPEND_PATH in dependency-recursed builds.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/bsd.pkg.mk | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk index f4de71bb474..15d70c361bd 100644 --- a/mk/bsd.pkg.mk +++ b/mk/bsd.pkg.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.pkg.mk,v 1.1575 2005/01/27 04:05:08 tv Exp $ +# $NetBSD: bsd.pkg.mk,v 1.1576 2005/01/27 11:21:46 tv Exp $ # # This file is in the public domain. # @@ -1173,7 +1173,9 @@ MAKEFLAGS+= ${def:C/=.*//}=${_${def:C/=.*$//}_CMD:sh} .if !defined(_PATH_ORIG) _PATH_ORIG:= ${PATH} MAKEFLAGS+= _PATH_ORIG=${_PATH_ORIG:Q} +.endif +.if !empty(PREPEND_PATH) # This is very Special. Because PREPEND_PATH is set with += in reverse order, # the awk expression reverses the order again (since bootstrap bmake doesn't # yet support the :[-1..1] construct). |