summaryrefslogtreecommitdiff
path: root/Mk
diff options
context:
space:
mode:
authorAlejandro Pulver <alepulver@FreeBSD.org>2007-06-05 02:06:10 +0000
committerAlejandro Pulver <alepulver@FreeBSD.org>2007-06-05 02:06:10 +0000
commit8131b5a9a55ff44df14964b7afc4f5b9977acac6 (patch)
tree626d389446f58ccc39534501fcdad8a6eec4dfa9 /Mk
parent- Fix SIGSEGV in TaskBarShowAPMStatus code, as per tracker #1629022: (diff)
- Respect BUILD_WRKSRC and INSTALL_WRKSRC as bsd.port.mk does.
PR: ports/112281 Submitted by: alepulver (myself) Approved by: alexbl (maintainer)
Notes
Notes: svn path=/head/; revision=192785
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.scons.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/Mk/bsd.scons.mk b/Mk/bsd.scons.mk
index cecabac7cc6a..ec31d9c49272 100644
--- a/Mk/bsd.scons.mk
+++ b/Mk/bsd.scons.mk
@@ -75,14 +75,14 @@ BUILD_DEPENDS+= ${SCONS_BIN}:${SCONS_PORT}
.if !target(do-build)
do-build:
- @cd ${WRKSRC} && \
+ @cd ${BUILD_WRKSRC} && \
${SETENV} ${SCONS_BUILDENV} ${SCONS_BIN} ${SCONS_ENV} ${SCONS_ARGS} \
${SCONS_TARGET}
.endif
.if !target(do-install)
do-install:
- @cd ${WRKSRC} && ${SETENV} ${SCONS_BUILDENV} ${SCONS_BIN} ${SCONS_ENV} \
- ${SCONS_ARGS} ${SCONS_INSTALL_TARGET}
+ @cd ${INSTALL_WRKSRC} && ${SETENV} ${SCONS_BUILDENV} ${SCONS_BIN} \
+ ${SCONS_ENV} ${SCONS_ARGS} ${SCONS_INSTALL_TARGET}
.endif