Date: Thu, 16 May 2002 17:41:16 -0700 (PDT) From: <obrien@FreeBSD.org> To: doc@freebsd.org Subject: Will I break the build with this commit? Message-ID: <200205170041.g4H0fGV75005@freefall.freebsd.org>
index | next in thread | raw e-mail
Index: book.sgml
===================================================================
RCS file: /home/ncvs/doc/en_US.ISO8859-1/books/porters-handbook/book.sgml,v
retrieving revision 1.208
diff -u -r1.208 book.sgml
--- book.sgml 13 May 2002 14:33:10 -0000 1.208
+++ book.sgml 17 May 2002 00:40:06 -0000
@@ -2548,6 +2548,15 @@
# endif
#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">
<tgroup cols="2">
<thead>
@@ -3255,11 +3264,6 @@
worry about old -CURRENTs; they are listed here just for your
reference.</para>
</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>
@@ -3322,7 +3326,7 @@
<entry><makevar>OSVERSION</makevar></entry>
<entry>The numeric version of the operating system, same as
<link
- linkend="porting-versions"><literal>__FreeBSD_version</literal></link>.</entry>
+ linkend="freebsd-versions"><literal>__FreeBSD_version</literal></link>.</entry>
</row>
<row>
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200205170041.g4H0fGV75005>
