aboutsummaryrefslogtreecommitdiff
path: root/Mk/bsd.scons.mk
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2013-10-02 22:33:27 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2013-10-02 22:33:27 +0000
commit9fe10d03474c22635496f3a241cca699b04b55b9 (patch)
tree4eba543f3ccd9c5587b26149a7e89cb776eae595 /Mk/bsd.scons.mk
parent31508aa062e6b5828817b052e4c31e1e6749047a (diff)
downloadports-9fe10d03474c22635496f3a241cca699b04b55b9.tar.gz
ports-9fe10d03474c22635496f3a241cca699b04b55b9.zip
Notes
Diffstat (limited to 'Mk/bsd.scons.mk')
-rw-r--r--Mk/bsd.scons.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/Mk/bsd.scons.mk b/Mk/bsd.scons.mk
index fbf77330d6fa..7f611b0621fe 100644
--- a/Mk/bsd.scons.mk
+++ b/Mk/bsd.scons.mk
@@ -62,6 +62,10 @@ SCONS_ARGS?=
SCONS_BUILDENV?=
SCONS_TARGET?=
+.if !defined(NO_STAGE)
+SCONS_ARGS+= ${DESTDIRNAME}=${STAGEDIR}
+.endif
+
#
# SCONS_INSTALL_TARGET is the default target to be used when
# installing a port using scons.