summaryrefslogtreecommitdiff
path: root/Mk/bsd.port.mk
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>1994-12-17 01:58:11 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>1994-12-17 01:58:11 +0000
commitb6779baeb7e42b1d9bb6b4d440227d48bb8b8549 (patch)
treec98a480d8a62d3060f40e58a2b06f5cbb30683bc /Mk/bsd.port.mk
parentUpgrade to 2.3.6 (diff)
Don't use build: ... pre-build, move pre-build inside
BUILD_COOKIE instead
Notes
Notes: svn path=/head/; revision=581
Diffstat (limited to 'Mk/bsd.port.mk')
-rw-r--r--Mk/bsd.port.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk
index 726e4b7664c6..4f16988fcada 100644
--- a/Mk/bsd.port.mk
+++ b/Mk/bsd.port.mk
@@ -3,7 +3,7 @@
# bsd.port.mk - 940820 Jordan K. Hubbard.
# This file is in the public domain.
#
-# $Id: bsd.port.mk,v 1.80 1994/12/12 22:32:30 jmz Exp $
+# $Id: bsd.port.mk,v 1.81 1994/12/14 05:53:09 ache Exp $
#
# Please view me with 4 column tabs!
@@ -342,10 +342,11 @@ pre-build:
.endif
.if !target(build)
-build: configure pre-build depends ${BUILD_COOKIE}
+build: configure depends ${BUILD_COOKIE}
${BUILD_COOKIE}:
@echo "===> Building for ${DISTNAME}"
+ @${MAKE} ${.MAKEFLAGS} pre-build
.if defined(USE_GMAKE)
@(cd ${WRKSRC}; ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${ALL_TARGET})
.else defined(USE_GMAKE)