diff options
author | bapt <bapt@FreeBSD.org> | 2014-05-27 20:13:05 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2014-05-27 20:13:05 +0800 |
commit | b2071e41d3e59c759baf608d46ac28d3a8f7dafb (patch) | |
tree | 1cfdd33c45110f8837c985bfd7985bf22f7b0a9c /Mk | |
parent | 6348c6dface36f083c461907de5d11440f9e730b (diff) | |
download | freebsd-ports-gnome-b2071e41d3e59c759baf608d46ac28d3a8f7dafb.tar.gz freebsd-ports-gnome-b2071e41d3e59c759baf608d46ac28d3a8f7dafb.tar.zst freebsd-ports-gnome-b2071e41d3e59c759baf608d46ac28d3a8f7dafb.zip |
scons expect lots of variables to be set as arguments
Diffstat (limited to 'Mk')
-rw-r--r-- | Mk/Uses/scons.mk | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/Mk/Uses/scons.mk b/Mk/Uses/scons.mk index a2621391c6fe..7282b8492ab9 100644 --- a/Mk/Uses/scons.mk +++ b/Mk/Uses/scons.mk @@ -22,9 +22,11 @@ CPPPATH?= ${LOCALBASE}/include SCONS= ${LOCALBASE}/bin/scons BUILD_DEPENDS+= ${SCONS}:${PORTSDIR}/devel/scons MAKE_CMD?= ${SCONS} -MAKE_ENV+= PKGCONFIGDIR="${PKGCONFIGDIR}" \ - CCFLAGS="${CFLAGS}" LINKFLAGS="${LDFLAGS}" \ - LIBPATH="${LIBPATH}" CPPPATH="${CPPPATH}" +MAKE_ARGS+= CCFLAGS="${CCFLAGS}" CXXFLAGS="${CXXFLAGS}" \ + LINKFLAGS="${LINKFLAGS}" PKGCONFIGDIR="${PKGCONFIGDIR}" \ + CPPPATH="${CPPPATH}" LIBPATH="${LIBPATH}" PREFIX="${PREFIX}" \ + CC="${CC}" CXX="${CXX}" + .if !defined(NO_STAGE) MAKE_ARGS+= ${DESTDIRNAME:tl}=${STAGEDIR} .endif |