- Update Scons section
Differential Revision: https://reviews.freebsd.org/D12697 Approved by: portmgr (mat)
This commit is contained in:
parent
6a0b5e9b91
commit
6880bb4a69
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=51143
1 changed files with 2 additions and 42 deletions
|
@ -766,51 +766,11 @@ CMAKE_SOURCE_PATH= ${WRKSRC}/subproject</programlisting>
|
||||||
<title>Using <command>scons</command></title>
|
<title>Using <command>scons</command></title>
|
||||||
|
|
||||||
<para>If the port uses <application>SCons</application>,
|
<para>If the port uses <application>SCons</application>,
|
||||||
define <literal>USE_SCONS=yes</literal>.</para>
|
define <literal>USES=scons</literal>.</para>
|
||||||
|
|
||||||
<table frame="none" xml:id="using-scons-variables">
|
|
||||||
<title>Variables for Ports That Use
|
|
||||||
<command>scons</command></title>
|
|
||||||
|
|
||||||
<tgroup cols="2">
|
|
||||||
<thead>
|
|
||||||
<row>
|
|
||||||
<entry>Variable</entry>
|
|
||||||
<entry>Means</entry>
|
|
||||||
</row>
|
|
||||||
</thead>
|
|
||||||
|
|
||||||
<tbody>
|
|
||||||
<row>
|
|
||||||
<entry><varname>SCONS_ARGS</varname></entry>
|
|
||||||
<entry>Port specific SCons flags passed to the SCons
|
|
||||||
environment.</entry>
|
|
||||||
</row>
|
|
||||||
|
|
||||||
<row>
|
|
||||||
<entry><varname>SCONS_BUILDENV</varname></entry>
|
|
||||||
<entry>Variables to be set in system
|
|
||||||
environment.</entry>
|
|
||||||
</row>
|
|
||||||
|
|
||||||
<row>
|
|
||||||
<entry><varname>SCONS_ENV</varname></entry>
|
|
||||||
<entry>Variables to be set in SCons
|
|
||||||
environment.</entry>
|
|
||||||
</row>
|
|
||||||
|
|
||||||
<row>
|
|
||||||
<entry><varname>SCONS_TARGET</varname></entry>
|
|
||||||
<entry>Last argument passed to SCons, similar to
|
|
||||||
<varname>MAKE_TARGET</varname>.</entry>
|
|
||||||
</row>
|
|
||||||
</tbody>
|
|
||||||
</tgroup>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
<para>To make third party <filename>SConstruct</filename>
|
<para>To make third party <filename>SConstruct</filename>
|
||||||
respect everything that is passed to SCons in
|
respect everything that is passed to SCons in
|
||||||
<varname>SCONS_ENV</varname> (that is, most importantly,
|
the environment (that is, most importantly,
|
||||||
<varname>CC/CXX/CFLAGS/CXXFLAGS</varname>), patch
|
<varname>CC/CXX/CFLAGS/CXXFLAGS</varname>), patch
|
||||||
<filename>SConstruct</filename> so build
|
<filename>SConstruct</filename> so build
|
||||||
<literal>Environment</literal> is constructed like
|
<literal>Environment</literal> is constructed like
|
||||||
|
|
Loading…
Reference in a new issue