From 7f5c773237d91744672965fcba897c17c5c97a76 Mon Sep 17 00:00:00 2001 From: Josef El-Rayes Date: Fri, 26 Mar 2004 23:35:01 +0000 Subject: [PATCH] Add hints about OSVERSION Submitted by: linimon PR: docs/64384 Approved by: simon(mentor) --- .../books/porters-handbook/book.sgml | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/en_US.ISO8859-1/books/porters-handbook/book.sgml b/en_US.ISO8859-1/books/porters-handbook/book.sgml index b6841c328f..285f45bb2e 100644 --- a/en_US.ISO8859-1/books/porters-handbook/book.sgml +++ b/en_US.ISO8859-1/books/porters-handbook/book.sgml @@ -6645,6 +6645,30 @@ bacula:*:910:910:Bacula Daemon:/var/db/bacula:/sbin/nologin entirely. + + Necessary workarounds + + Sometimes it is necessary to work around bugs in + software included with older versions of &os;. + + + + Some versions of &man.make.1; were broken + on at least 4.8 and 5.0 with respect to handling + comparisons based on OSVERSION. + This would often lead to failures during + make describe (and thus, the overall + ports make index). The workaround is + to enclose the conditional comparison in spaces, e.g.: + if ( OSVERSION > 500023 ) + Be aware that test-installing a port on 4.9 or 5.2 + will not detect this problem. + + + + + + Miscellanea