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

(-)book.sgml (-24 lines)
Lines 14281-14310 Link Here
14281
	  and confirm the changes with them.</para>
14281
	  and confirm the changes with them.</para>
14282
      </sect1>
14282
      </sect1>
14283
14283
14284
      <sect1 id="dads-workarounds">
14285
	<title>Necessary workarounds</title>
14286
14287
	<para>Sometimes it is necessary to work around bugs in
14288
	  software included with older versions of &os;.</para>
14289
14290
	<itemizedlist>
14291
	  <listitem>
14292
	    <para>Some versions of &man.make.1; were broken
14293
	      on at least 4.8 and 5.0 with respect to handling
14294
	      comparisons based on <makevar>OSVERSION</makevar>.
14295
	      This would often lead to failures during
14296
	      <command>make describe</command> (and thus, the overall
14297
	      ports <command>make index</command>).  The workaround is
14298
	      to enclose the conditional comparison in spaces, e.g.:
14299
	      <programlisting>if ( ${OSVERSION} &gt; 500023 )</programlisting>
14300
	      Be aware that test-installing a port on 4.9 or 5.2
14301
	      will <emphasis>not</emphasis> detect this problem.</para>
14302
	  </listitem>
14303
14304
	</itemizedlist>
14305
14306
      </sect1>
14307
14308
      <sect1 id="dads-misc">
14284
      <sect1 id="dads-misc">
14309
	<title>Miscellanea</title>
14285
	<title>Miscellanea</title>

Return to bug 152177