aboutsummaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1994-12-17 09:58:11 +0800
committerache <ache@FreeBSD.org>1994-12-17 09:58:11 +0800
commit8871f1c6f0d32a02f3267cbd135e498f425423cb (patch)
treeb53e3bc05d76c3e3b9197f079e6dd63bec0b8128 /Mk
parentb9078a4cf1e5e05ee44e7dcb8da7ad41fe36be8e (diff)
downloadfreebsd-ports-gnome-8871f1c6f0d32a02f3267cbd135e498f425423cb.tar.gz
freebsd-ports-gnome-8871f1c6f0d32a02f3267cbd135e498f425423cb.tar.zst
freebsd-ports-gnome-8871f1c6f0d32a02f3267cbd135e498f425423cb.zip
Don't use build: ... pre-build, move pre-build inside
BUILD_COOKIE instead
Diffstat (limited to '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)