summaryrefslogtreecommitdiff
path: root/doc/pkgsrc.txt
diff options
context:
space:
mode:
authordillo <dillo@pkgsrc.org>2005-06-11 16:33:48 +0000
committerdillo <dillo@pkgsrc.org>2005-06-11 16:33:48 +0000
commitd483ad77f7aea7f8431a3a530e21902727aabce5 (patch)
treeaaa2b11d688fc387b08d3899de08ef456c8be443 /doc/pkgsrc.txt
parentc360872d9f3c2878c26fed89270a715ee63e1ed5 (diff)
downloadpkgsrc-d483ad77f7aea7f8431a3a530e21902727aabce5.tar.gz
regen
Diffstat (limited to 'doc/pkgsrc.txt')
-rw-r--r--doc/pkgsrc.txt17
1 files changed, 10 insertions, 7 deletions
diff --git a/doc/pkgsrc.txt b/doc/pkgsrc.txt
index a707f380e49..4c58abcfc81 100644
--- a/doc/pkgsrc.txt
+++ b/doc/pkgsrc.txt
@@ -71,7 +71,7 @@ I. The pkgsrc user's guide
5. Configuring pkgsrc
- 5.1. Selecting build options
+ 5.1. Selecting Build Options
6. Creating binary packages
@@ -454,7 +454,7 @@ Table of Contents
5. Configuring pkgsrc
- 5.1. Selecting build options
+ 5.1. Selecting Build Options
6. Creating binary packages
@@ -1174,9 +1174,9 @@ Chapter 5. Configuring pkgsrc
Table of Contents
-5.1. Selecting build options
+5.1. Selecting Build Options
-5.1. Selecting build options
+5.1. Selecting Build Options
Some packages have build time options, usually to select between different
dependencies, enable optional support for big dependencies or enable
@@ -3557,9 +3557,12 @@ A package should never modify PKG_DEFAULT_OPTIONS or the variable named in
PKG_OPTIONS_VAR. These are strictly user-settable. To suggest a default set of
options, use PKG_SUGGESTED_OPTIONS.
-PKG_OPTIONS_VAR and at least one of PKG_SUPPORTED_OPTIONS,
-PKG_OPTIONS_OPTIONAL_GROUPS, and PKG_OPTIONS_REQUIRED_GROUPS must be defined
-before including bsd.options.mk.
+PKG_OPTIONS_VAR must be defined before including bsd.options.mk. If none of
+PKG_SUPPORTED_OPTIONS, PKG_OPTIONS_OPTIONAL_GROUPS, and
+PKG_OPTIONS_REQUIRED_GROUPS are defined (as can happen with platform specific
+options if none of them is supported on the current platform), PKG_OPTIONS is
+set to the empty list and the package is otherwise treated as not using the
+options framework.
After the inclusion of bsd.options.mk, the variable PKG_OPTIONS contains the
list of selected build options, properly filtered to remove unsupported and