summaryrefslogtreecommitdiff
path: root/doc/guide
diff options
context:
space:
mode:
authordholland <dholland@pkgsrc.org>2015-01-01 06:07:12 +0000
committerdholland <dholland@pkgsrc.org>2015-01-01 06:07:12 +0000
commit73b6c406015cae89b5e7fe73a4e1b3ed6d4958dd (patch)
tree2d6cf9f50bf2c4d8d955ab240d104bacd4a4be98 /doc/guide
parentcd5b6e5552c28a18ae81436f8d3ae8a880eaa9da (diff)
downloadpkgsrc-73b6c406015cae89b5e7fe73a4e1b3ed6d4958dd.tar.gz
Document BROKEN_ON_PLATFORM and BROKEN_EXCEPT_ON_PLATFORM.
Diffstat (limited to 'doc/guide')
-rw-r--r--doc/guide/files/fixes.xml17
1 files changed, 14 insertions, 3 deletions
diff --git a/doc/guide/files/fixes.xml b/doc/guide/files/fixes.xml
index ed8adc395ce..717605fc4ac 100644
--- a/doc/guide/files/fixes.xml
+++ b/doc/guide/files/fixes.xml
@@ -1,4 +1,4 @@
-<!-- $NetBSD: fixes.xml,v 1.125 2014/12/25 12:37:05 wiz Exp $ -->
+<!-- $NetBSD: fixes.xml,v 1.126 2015/01/01 06:07:12 dholland Exp $ -->
<chapter id="fixes"> <?dbhtml filename="fixes.html"?>
<title>Making your package work</title>
@@ -512,9 +512,20 @@ CONFLICTS= bar-[0-9]*
<para>There are several reasons why a package might be
instructed to not build under certain circumstances. If the
package builds and runs on most platforms, the exceptions
- should be noted with <varname>NOT_FOR_PLATFORM</varname>. If
+ should be noted with <varname>BROKEN_ON_PLATFORM</varname>. If
the package builds and runs on a small handful of platforms,
- set <varname>ONLY_FOR_PLATFORM</varname> instead.
+ set <varname>BROKEN_EXCEPT_ON_PLATFORM</varname> instead.
+ Both <varname>BROKEN_ON_PLATFORM</varname> and
+ <varname>BROKEN_EXCEPT_ON_PLATFORM</varname> are OS triples
+ (OS-version-platform) that can use glob-style
+ wildcards.</para>
+ <para>If a package is not appropriate for some platforms (as
+ oopposed to merely broken), a different set of variables should be
+ used as this affects failure reporting and statistics.
+ If the package is appropriate for most platforms, the exceptions
+ should be noted with <varname>NOT_FOR_PLATFORM</varname>. If
+ the package is appropriate for only a small handful of platforms
+ (often exactly one), set <varname>ONLY_FOR_PLATFORM</varname> instead.
Both <varname>ONLY_FOR_PLATFORM</varname> and
<varname>NOT_FOR_PLATFORM</varname> are OS triples
(OS-version-platform) that can use glob-style