pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk Fix handling of PREPEND_PATH in dependency-recursed...
details: https://anonhg.NetBSD.org/pkgsrc/rev/1bcdf7a55ed0
branches: trunk
changeset: 488286:1bcdf7a55ed0
user: tv <tv%pkgsrc.org@localhost>
date: Thu Jan 27 11:21:46 2005 +0000
description:
Fix handling of PREPEND_PATH in dependency-recursed builds.
diffstat:
mk/bsd.pkg.mk | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (20 lines):
diff -r a4a6dd642fd3 -r 1bcdf7a55ed0 mk/bsd.pkg.mk
--- a/mk/bsd.pkg.mk Thu Jan 27 10:37:01 2005 +0000
+++ b/mk/bsd.pkg.mk Thu Jan 27 11:21:46 2005 +0000
@@ -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 @@
.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).
Home |
Main Index |
Thread Index |
Old Index