pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk/build mk/build: for build-env, show the BUILD_DIRS



details:   https://anonhg.NetBSD.org/pkgsrc/rev/37a642372980
branches:  trunk
changeset: 338919:37a642372980
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Mon Sep 02 02:54:57 2019 +0000

description:
mk/build: for build-env, show the BUILD_DIRS

diffstat:

 mk/build/build.mk |  12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diffs (26 lines):

diff -r 2184bc49e858 -r 37a642372980 mk/build/build.mk
--- a/mk/build/build.mk Mon Sep 02 02:36:46 2019 +0000
+++ b/mk/build/build.mk Mon Sep 02 02:54:57 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: build.mk,v 1.26 2019/05/07 19:36:43 rillig Exp $
+# $NetBSD: build.mk,v 1.27 2019/09/02 02:54:57 rillig Exp $
 #
 # This file defines what happens in the build phase, excluding the
 # self-test, which is defined in test.mk.
@@ -200,11 +200,11 @@
 # Keywords: debug build
 
 BUILD_ENV_SHELL?=      ${SH}
-.if defined(_PKGSRC_BARRIER)
-build-env: .PHONY configure
+build-env: .PHONY ${_PKGSRC_BARRIER:Ubarrier:D_build-env}
+_build-env: .PHONY configure
        @${STEP_MSG} "Entering the build environment for ${PKGNAME}"
+.if ${BUILD_DIRS:[#]} > 1
+       @${ECHO_MSG} "The BUILD_DIRS are: "${BUILD_DIRS:Q}
+.endif
        ${RUN}${_ULIMIT_CMD}                                            \
        cd ${WRKSRC} && ${PKGSRC_SETENV} ${MAKE_ENV} ${BUILD_ENV_SHELL}
-.else
-build-env: barrier
-.endif



Home | Main Index | Thread Index | Old Index