From 8131b5a9a55ff44df14964b7afc4f5b9977acac6 Mon Sep 17 00:00:00 2001 From: Alejandro Pulver Date: Tue, 5 Jun 2007 02:06:10 +0000 Subject: - Respect BUILD_WRKSRC and INSTALL_WRKSRC as bsd.port.mk does. PR: ports/112281 Submitted by: alepulver (myself) Approved by: alexbl (maintainer) --- Mk/bsd.scons.mk | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Mk') 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 -- cgit v1.2.3