Make the __FreeBSD_version list its own section so it is easier to find
from the index. Approved by: trhodes
This commit is contained in:
parent
f7e4314f90
commit
bd1d8a144a
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=13106
1 changed files with 10 additions and 6 deletions
|
@ -2548,6 +2548,15 @@ PLIST_SUB= OCTAVE_VERSION=${OCTAVE_VERSION}</programlisting>
|
||||||
# endif
|
# endif
|
||||||
#endif</programlisting>
|
#endif</programlisting>
|
||||||
|
|
||||||
|
<para>In the hundreds of ports that have been done, there have only
|
||||||
|
been one or two cases where <literal>__FreeBSD__</literal> should
|
||||||
|
have been used. Just because an earlier port screwed up and used it
|
||||||
|
in the wrong place does not mean you should do so too.</para>
|
||||||
|
</sect1>
|
||||||
|
|
||||||
|
<sect1 id="freebsd-versions">
|
||||||
|
<title>__FreeBSD_version values</title>
|
||||||
|
|
||||||
<informaltable frame="none">
|
<informaltable frame="none">
|
||||||
<tgroup cols="2">
|
<tgroup cols="2">
|
||||||
<thead>
|
<thead>
|
||||||
|
@ -3255,11 +3264,6 @@ PLIST_SUB= OCTAVE_VERSION=${OCTAVE_VERSION}</programlisting>
|
||||||
worry about old -CURRENTs; they are listed here just for your
|
worry about old -CURRENTs; they are listed here just for your
|
||||||
reference.</para>
|
reference.</para>
|
||||||
</note>
|
</note>
|
||||||
|
|
||||||
<para>In the hundreds of ports that have been done, there have only
|
|
||||||
been one or two cases where <literal>__FreeBSD__</literal> should
|
|
||||||
have been used. Just because an earlier port screwed up and used it
|
|
||||||
in the wrong place does not mean you should do so too.</para>
|
|
||||||
</sect1>
|
</sect1>
|
||||||
|
|
||||||
<sect1>
|
<sect1>
|
||||||
|
@ -3322,7 +3326,7 @@ PLIST_SUB= OCTAVE_VERSION=${OCTAVE_VERSION}</programlisting>
|
||||||
<entry><makevar>OSVERSION</makevar></entry>
|
<entry><makevar>OSVERSION</makevar></entry>
|
||||||
<entry>The numeric version of the operating system, same as
|
<entry>The numeric version of the operating system, same as
|
||||||
<link
|
<link
|
||||||
linkend="porting-versions"><literal>__FreeBSD_version</literal></link>.</entry>
|
linkend="freebsd-versions"><literal>__FreeBSD_version</literal></link>.</entry>
|
||||||
</row>
|
</row>
|
||||||
|
|
||||||
<row>
|
<row>
|
||||||
|
|
Loading…
Reference in a new issue