summaryrefslogtreecommitdiff
path: root/doc/pkgsrc.txt
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2005-05-20 10:04:41 +0000
committerrillig <rillig@pkgsrc.org>2005-05-20 10:04:41 +0000
commit35c6cb7187b136df8080d04a6714b0293860f1bf (patch)
tree7357383925ef5b64ff3cd1e12884087d91bdb672 /doc/pkgsrc.txt
parent1e94e065698ab16c27011c86782d6a41dc49248a (diff)
downloadpkgsrc-35c6cb7187b136df8080d04a6714b0293860f1bf.tar.gz
Regenerated.
Diffstat (limited to 'doc/pkgsrc.txt')
-rw-r--r--doc/pkgsrc.txt21
1 files changed, 10 insertions, 11 deletions
diff --git a/doc/pkgsrc.txt b/doc/pkgsrc.txt
index 387fc55f0d6..376415684bf 100644
--- a/doc/pkgsrc.txt
+++ b/doc/pkgsrc.txt
@@ -3112,12 +3112,7 @@ CONFIGURE_ARGS+= --enable-sasl=${BUILDLINK_PREFIX.sasl}
.endif
-The first section only exists if you are converting a package that had its own
-ad-hoc options handling to use bsd.options.mk. It converts global or legacy
-options variables into an equivalent PKG_OPTIONS.pkg value. These sections will
-be removed over time as the old options are in turn deprecated and removed.
-
-The second section contains the information about which build options are
+The first section contains the information about which build options are
supported by the package, and any default options settings if needed.
1. PKG_OPTIONS_VAR is the name of the make(1) variable that contains the
@@ -3139,22 +3134,26 @@ supported by the package, and any default options settings if needed.
PKG_DEFAULT_OPTIONS= kerberos ldap sasl
PKG_OPTIONS_VAR= WIBBLE_OPTIONS
WIBBLE_OPTIONS= ${PKG_DEFAULT_OPTIONS} -sasl
- # implies PKG_OPTIONS == "kerberos ldap"
+ # leads to PKG_OPTIONS = kerberos ldap
or
PKG_OPTIONS_VAR= WIBBLE_OPTIONS
WIBBLE_OPTIONS= kerberos -ldap ldap
- # implies PKG_OPTIONS == "kerberos"
+ # leads to PKG_OPTIONS = kerberos
This variable should be set in /etc/mk.conf.
-After the inclusion of bsd.options.mk, the following variables are set:
+ 5. The PKG_OPTIONS_LEGACY_VARS is only needed if you are converting a package
+ that had its own ad-hoc options handling to use bsd.options.mk. It converts
+ global or legacy options variables into an equivalent PKG_OPTIONS.pkg
+ value.
- * PKG_OPTIONS contains the list of the selected build options, properly
- filtered to remove unsupported and duplicate options.
+After the inclusion of bsd.options.mk, the variable PKG_OPTIONS contains the
+list of the selected build options, properly filtered to remove unsupported and
+duplicate options.
The remaining sections contain the logic that is specific to each option. There
should be a check for every option listed in PKG_SUPPORTED_OPTIONS, and there