Note that USE_GCC is a build and a run-time dependency.

PR:		234495
Reported by:	bergerkos yahoo co uk
This commit is contained in:
Mathieu Arnold 2019-01-04 13:55:53 +00:00
parent 0a14368c9d
commit b270bb0d04
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=52746

View file

@ -5731,24 +5731,31 @@ RUN_DEPENDS= ${MY_DEPENDS}</programlisting>
<tbody>
<row>
<entry><varname>USE_GCC</varname></entry>
<entry>The port requires GCC (<command>gcc</command> or
<command>g++</command>) to build. Some ports need any
GCC version, some require modern, recent versions. It
is typically set to <literal>any</literal> (in this
case, GCC from base would be used on versions of &os;
that still have it, or <literal>lang/gcc</literal>
port would be installed when default C/C++ compiler is
Clang); or <literal>yes</literal> (means always use
stable, modern GCC from <literal>lang/gcc</literal>
port). The exact version can also be specified, with
a value such as <literal>4.7</literal>. The minimal
required version can be specified as
<literal>4.6+</literal>. The GCC from the base system
is used when it satisfies the requested version,
otherwise an appropriate compiler is built from the
port, and <varname>CC</varname> and
<varname>CXX</varname> are adjusted
accordingly.</entry>
<entry>
<para>The port requires GCC (<command>gcc</command> or
<command>g++</command>) to build. Some ports need any
GCC version, some require modern, recent versions. It
is typically set to <literal>any</literal> (in this
case, GCC from base would be used on versions of &os;
that still have it, or <literal>lang/gcc</literal>
port would be installed when default C/C++ compiler is
Clang); or <literal>yes</literal> (means always use
stable, modern GCC from <literal>lang/gcc</literal>
port). The exact version can also be specified, with
a value such as <literal>4.7</literal>. The minimal
required version can be specified as
<literal>4.6+</literal>. The GCC from the base system
is used when it satisfies the requested version,
otherwise an appropriate compiler is built from the
port, and <varname>CC</varname> and
<varname>CXX</varname> are adjusted
accordingly.</para>
<note>
<para><varname>USE_GCC</varname> will register a
build-time and a run-time dependency.</para>
</note>
</entry>
</row>
</tbody>
</tgroup>