summaryrefslogtreecommitdiff
path: root/mk/build
diff options
context:
space:
mode:
authorseb <seb>2006-07-07 13:06:45 +0000
committerseb <seb>2006-07-07 13:06:45 +0000
commitdaa322993abcdb5770ca3e48f96d5182eda858d8 (patch)
treeee6ceca0a2d52494f382592cd6d309d1d226750e /mk/build
parent2641c11305207b0425f0508e5b87232c5e96ebbe (diff)
downloadpkgsrc-daa322993abcdb5770ca3e48f96d5182eda858d8.tar.gz
The build target needs to be barrier aware even in the NO_BUILD case.
Without this a straight make fails in pkgsrc/pkgtools/pkg_comp.
Diffstat (limited to 'mk/build')
-rw-r--r--mk/build/bsd.build.mk6
1 files changed, 4 insertions, 2 deletions
diff --git a/mk/build/bsd.build.mk b/mk/build/bsd.build.mk
index 18521ce8a6e..4e0b601cda0 100644
--- a/mk/build/bsd.build.mk
+++ b/mk/build/bsd.build.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.build.mk,v 1.5 2006/07/06 22:29:52 jlam Exp $
+# $NetBSD: bsd.build.mk,v 1.6 2006/07/07 13:06:45 seb Exp $
#
# This Makefile fragment is included by bsd.pkg.mk and provides all
# variables and targets related to building sources for a package.
@@ -28,8 +28,10 @@ _TEST_COOKIE= ${WRKDIR}/.test_done
. if exists(${_BUILD_COOKIE})
build:
@${DO_NADA}
-. else
+. elif exists(${_BARRIER_COOKIE})
build: configure build-cookie pkginstall
+. else
+build: barrier
. endif
.endif