aboutsummaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2013-10-03 06:33:27 +0800
committerbapt <bapt@FreeBSD.org>2013-10-03 06:33:27 +0800
commit42b2afd45bde8cf359650e21e9cbc8f216c3e1ae (patch)
tree4eba543f3ccd9c5587b26149a7e89cb776eae595 /Mk
parentc50744f056806eab710c731fde1b9cf5e4e61f6d (diff)
downloadfreebsd-ports-gnome-42b2afd45bde8cf359650e21e9cbc8f216c3e1ae.tar.gz
freebsd-ports-gnome-42b2afd45bde8cf359650e21e9cbc8f216c3e1ae.tar.zst
freebsd-ports-gnome-42b2afd45bde8cf359650e21e9cbc8f216c3e1ae.zip
Allow scons port to support staging
Diffstat (limited to '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.