summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authortnn <tnn>2009-01-10 15:59:29 +0000
committertnn <tnn>2009-01-10 15:59:29 +0000
commit9cb1586ed998c23ff35dd521621e2259b8dfe4ff (patch)
tree259add2be223628ac2e12718021a87076afe4e2b /mk
parent267cc19a5b19b70a98b322c1724eacb215b4d3cc (diff)
downloadpkgsrc-9cb1586ed998c23ff35dd521621e2259b8dfe4ff.tar.gz
run ${_ULIMIT_CMD} in build-env target
Diffstat (limited to 'mk')
-rw-r--r--mk/build/build.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/mk/build/build.mk b/mk/build/build.mk
index 45300fc2e9d..28795814f2a 100644
--- a/mk/build/build.mk
+++ b/mk/build/build.mk
@@ -1,4 +1,4 @@
-# $NetBSD: build.mk,v 1.18 2008/12/04 00:05:33 rillig Exp $
+# $NetBSD: build.mk,v 1.19 2009/01/10 15:59:29 tnn Exp $
#
# This file defines what happens in the build phase, excluding the
# self-test, which is defined in test.mk.
@@ -142,7 +142,7 @@ build-check-interactive:
.if !target(do-build)
do-build:
. for _dir_ in ${BUILD_DIRS}
- ${RUN}${_ULIMIT_CMD} \
+ ${RUN}${_ULIMIT_CMD} \
cd ${WRKSRC} && cd ${_dir_} && \
${BUILD_MAKE_CMD} ${BUILD_TARGET}
. endfor
@@ -162,7 +162,7 @@ BUILD_ENV_SHELL?= ${SH}
.if defined(_PKGSRC_BARRIER)
build-env: .PHONY configure
@${STEP_MSG} "Entering the build environment for ${PKGNAME}"
- ${RUN} \
+ ${RUN}${_ULIMIT_CMD} \
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${BUILD_ENV_SHELL}
.else
build-env: barrier