summaryrefslogtreecommitdiff
path: root/mk/configure/bsd.configure.mk
diff options
context:
space:
mode:
authorjlam <jlam>2006-07-22 16:31:35 +0000
committerjlam <jlam>2006-07-22 16:31:35 +0000
commit33a884349bd642eac402828fa3368078ec7e15af (patch)
treeb15a0a1dd1ed6c8c5f4175ac698be426219294a6 /mk/configure/bsd.configure.mk
parentd6d491950747fe879f71fd3024cc98dc5c6c3baa (diff)
downloadpkgsrc-33a884349bd642eac402828fa3368078ec7e15af.tar.gz
Modify the barrier so that we always invoke the recursive make process
when passing through the barrier. This ensures the PATH (passed via PKGSRC_MAKE_ENV) is correctly set for all phases after the barrier. This fixes a bug in "interactive" pkgsrc use, where if you have no work directory and type "make build && make install", then the "install" step does not have a PATH set to include all the wrapper and tools directories.
Diffstat (limited to 'mk/configure/bsd.configure.mk')
-rw-r--r--mk/configure/bsd.configure.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/configure/bsd.configure.mk b/mk/configure/bsd.configure.mk
index ce752d3aefb..aa86290788a 100644
--- a/mk/configure/bsd.configure.mk
+++ b/mk/configure/bsd.configure.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.configure.mk,v 1.6 2006/07/07 21:24:28 jlam Exp $
+# $NetBSD: bsd.configure.mk,v 1.7 2006/07/22 16:31:35 jlam Exp $
#
# This Makefile fragment is included by bsd.pkg.mk and provides all
# variables and targets related to configuring packages for building.
@@ -26,7 +26,7 @@ _COOKIE.configure= ${WRKDIR}/.configure_done
. if exists(${_COOKIE.configure})
configure:
@${DO_NADA}
-. elif exists(${_COOKIE.barrier})
+. elif defined(_PKGSRC_BARRIER)
configure: wrapper configure-cookie
. else
configure: barrier