diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2013-10-03 06:33:27 +0800 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2013-10-03 06:33:27 +0800 |
commit | 9fe10d03474c22635496f3a241cca699b04b55b9 (patch) | |
tree | 4eba543f3ccd9c5587b26149a7e89cb776eae595 /Mk | |
parent | 31508aa062e6b5828817b052e4c31e1e6749047a (diff) | |
download | freebsd-ports-gnome-9fe10d03474c22635496f3a241cca699b04b55b9.tar.gz freebsd-ports-gnome-9fe10d03474c22635496f3a241cca699b04b55b9.tar.zst freebsd-ports-gnome-9fe10d03474c22635496f3a241cca699b04b55b9.zip |
Allow scons port to support staging
Diffstat (limited to 'Mk')
-rw-r--r-- | Mk/bsd.scons.mk | 4 |
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. |