pkgsrc-Changes archive

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

CVS commit: pkgsrc/mk/build



Module Name:    pkgsrc
Committed By:   rillig
Date:           Mon Sep  2 02:54:57 UTC 2019

Modified Files:
        pkgsrc/mk/build: build.mk

Log Message:
mk/build: for build-env, show the BUILD_DIRS


To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 pkgsrc/mk/build/build.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/mk/build/build.mk
diff -u pkgsrc/mk/build/build.mk:1.26 pkgsrc/mk/build/build.mk:1.27
--- pkgsrc/mk/build/build.mk:1.26       Tue May  7 19:36:43 2019
+++ pkgsrc/mk/build/build.mk    Mon Sep  2 02:54:57 2019
@@ -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 @@ post-build:
 # 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