From 6880bb4a690b355cd5de8a1ed9ed339322b54ccb Mon Sep 17 00:00:00 2001 From: Alex Kozlov Date: Wed, 25 Oct 2017 15:01:30 +0000 Subject: [PATCH] - Update Scons section Differential Revision: https://reviews.freebsd.org/D12697 Approved by: portmgr (mat) --- .../porters-handbook/special/chapter.xml | 44 +------------------ 1 file changed, 2 insertions(+), 42 deletions(-) diff --git a/en_US.ISO8859-1/books/porters-handbook/special/chapter.xml b/en_US.ISO8859-1/books/porters-handbook/special/chapter.xml index 69707a06cf..48469e729c 100644 --- a/en_US.ISO8859-1/books/porters-handbook/special/chapter.xml +++ b/en_US.ISO8859-1/books/porters-handbook/special/chapter.xml @@ -766,51 +766,11 @@ CMAKE_SOURCE_PATH= ${WRKSRC}/subproject Using <command>scons</command> If the port uses SCons, - define USE_SCONS=yes. - - - Variables for Ports That Use - <command>scons</command> - - - - - Variable - Means - - - - - - SCONS_ARGS - Port specific SCons flags passed to the SCons - environment. - - - - SCONS_BUILDENV - Variables to be set in system - environment. - - - - SCONS_ENV - Variables to be set in SCons - environment. - - - - SCONS_TARGET - Last argument passed to SCons, similar to - MAKE_TARGET. - - - -
+ define USES=scons. To make third party SConstruct respect everything that is passed to SCons in - SCONS_ENV (that is, most importantly, + the environment (that is, most importantly, CC/CXX/CFLAGS/CXXFLAGS), patch SConstruct so build Environment is constructed like