View | Details | Raw Unified | Return to bug 64384
Collapse All | Expand All

(-)book.sgml (+24 lines)
Lines 6639-6644 Link Here
6639
	  entirely.</para>
6639
	  entirely.</para>
6640
      </sect1>
6640
      </sect1>
6641
6641
6642
      <sect1 id="dads-workarounds">
6643
	<title>Necessary workarounds</title>
6644
6645
	<para>Sometimes it is necessary to work around bugs in
6646
	  software included with older versions of FreeBSD.</para>
6647
6648
	<itemizedlist>
6649
	  <listitem>
6650
	    <para>Some versions of &man.make.1; were broken
6651
	      on at least 4.8 and 5.0 with respect to handling
6652
	      comparisons based on <makevar>OSVERSION</makevar>.
6653
	      This would often lead to failures during
6654
	      <command>make describe</command> (and thus, the overall
6655
	      ports <command>make index</command>).  The workaround is
6656
	      to enclose the conditional comparison in spaces, e.g.:
6657
	      <programlisting>if ( OSVERSION > 500023 )</programlisting>
6658
	      Be aware that test-installing a port on 4.9 or 5.2
6659
	      will <emphasis>not</emphasis> detect this problem.</para>
6660
	  </listitem>
6661
6662
	</itemizedlist>
6663
6664
      </sect1>
6665
6642
      <sect1 id="dads-misc">
6666
      <sect1 id="dads-misc">
6643
	<title>Miscellanea</title>
6667
	<title>Miscellanea</title>

Return to bug 64384