From 35c6cb7187b136df8080d04a6714b0293860f1bf Mon Sep 17 00:00:00 2001 From: rillig Date: Fri, 20 May 2005 10:04:41 +0000 Subject: Regenerated. --- doc/pkgsrc.html | 501 ++++++++++++++++++++++++++++---------------------------- doc/pkgsrc.txt | 21 ++- 2 files changed, 258 insertions(+), 264 deletions(-) diff --git a/doc/pkgsrc.html b/doc/pkgsrc.html index 1bc6da6a604..f9f7124b7b1 100644 --- a/doc/pkgsrc.html +++ b/doc/pkgsrc.html @@ -542,7 +542,7 @@ alink="#0000FF"> "#build.prefix">12.1. Program location -
12.2. +
12.2. Main targets
-
13.1. +
13.1. General operation
13.1.1. How to pull in variables + "#id2632838">13.1.1. How to pull in variables from /etc/mk.conf
13.1.2. Restricted + "#id2632921">13.1.2. Restricted packages
dependencies
13.1.4. Handling conflicts with + "#id2633374">13.1.4. Handling conflicts with other packages
13.1.5. Packages that cannot or + "#id2633493">13.1.5. Packages that cannot or should not be built
13.1.6. Packages which should not + "#id2633518">13.1.6. Packages which should not be deleted, once installed
with security problems
13.1.8. How to handle compiler + "#id2633678">13.1.8. How to handle compiler bugs
13.1.9. How to handle incrementing + "#id2633701">13.1.9. How to handle incrementing versions when fixing an existing package
13.1.10. Portability of + "#id2633818">13.1.10. Portability of packages
-
13.2. +
13.2. Possible downloading issues
13.2.1. Packages whose distfiles + "#id2633846">13.2.1. Packages whose distfiles aren't available for plain downloading
13.2.2. How to handle modified + "#id2633909">13.2.2. How to handle modified distfiles with the 'old' name
-
13.3. +
13.3. Configuration gotchas
@@ -630,66 +630,66 @@ alink="#0000FF"> libtool
13.3.2. Using libtool on GNU + "#id2634286">13.3.2. Using libtool on GNU packages that already support libtool
13.3.3. GNU + "#id2634504">13.3.3. GNU Autoconf/Automake
-
13.4. +
13.4. Building considerations
13.4.1. CPP + "#id2634620">13.4.1. CPP defines
-
13.5. +
13.5. Package specific actions
13.5.1. Package configuration + "#id2634653">13.5.1. Package configuration files
13.5.2. User + "#id2634756">13.5.2. User interaction
13.5.3. Handling + "#id2634801">13.5.3. Handling licenses
13.5.4. Creating an account from a + "#id2634884">13.5.4. Creating an account from a package
13.5.5. Installing score + "#id2635014">13.5.5. Installing score files
13.5.6. Packages providing login + "#id2635058">13.5.6. Packages providing login shells
13.5.7. Packages containing perl + "#id2635115">13.5.7. Packages containing perl scripts
13.5.8. Packages with hardcoded + "#id2635133">13.5.8. Packages with hardcoded paths to other interpreters
13.5.9. Packages installing perl + "#id2635155">13.5.9. Packages installing perl modules
info files
13.5.11. Packages installing + "#id2635511">13.5.11. Packages installing GConf2 data files
13.5.12. Packages installing + "#id2635680">13.5.12. Packages installing scrollkeeper data files
13.5.13. Packages installing X11 + "#id2635731">13.5.13. Packages installing X11 fonts
13.5.14. Packages installing GTK2 + "#id2635778">13.5.14. Packages installing GTK2 modules
13.5.15. Packages installing SGML + "#id2635847">13.5.15. Packages installing SGML or XML data
13.5.16. Packages installing + "#id2635899">13.5.16. Packages installing extensions to the MIME database
13.5.17. Packages using + "#id2636038">13.5.17. Packages using intltool
13.5.18. Packages installing + "#id2636052">13.5.18. Packages installing startup scripts
-
13.6. +
13.6. Feedback to the author
@@ -743,18 +743,18 @@ alink="#0000FF">
-
15.1. +
15.1. Submitting your packages
-
15.2. +
15.2. Committing: Importing a package into CVS
-
15.3. +
15.3. Updating a package to a newer version
-
15.4. +
15.4. Moving a package in pkgsrc
@@ -766,27 +766,27 @@ alink="#0000FF">
-
A.1. +
A.1. files
-
A.1.1. +
A.1.1. Makefile
-
A.1.2. +
A.1.2. DESCR
-
A.1.3. +
A.1.3. PLIST
-
A.1.4. +
A.1.4. Checking a package with pkglint
-
A.2. Steps +
A.2. Steps for building, installing, packaging
@@ -812,10 +812,10 @@ alink="#0000FF">
-
D.1. +
D.1. Targets
-
D.2. +
D.2. Procedure
@@ -4984,7 +4984,7 @@ CONF_FILES= ${EGDIR}/Muttrc ${PKG_SYSCONFDIR}/Muttrc
12.1. Program location
-
12.2. +
12.2. Main targets
-
13.1. +
13.1. General operation
13.1.1. How to pull in variables + "#id2632838">13.1.1. How to pull in variables from /etc/mk.conf
13.1.2. Restricted + "#id2632921">13.1.2. Restricted packages
13.1.4. Handling conflicts with + "#id2633374">13.1.4. Handling conflicts with other packages
13.1.5. Packages that cannot or + "#id2633493">13.1.5. Packages that cannot or should not be built
13.1.6. Packages which should not be + "#id2633518">13.1.6. Packages which should not be deleted, once installed
13.1.8. How to handle compiler + "#id2633678">13.1.8. How to handle compiler bugs
13.1.9. How to handle incrementing + "#id2633701">13.1.9. How to handle incrementing versions when fixing an existing package
13.1.10. Portability of + "#id2633818">13.1.10. Portability of packages
-
13.2. +
13.2. Possible downloading issues
13.2.1. Packages whose distfiles + "#id2633846">13.2.1. Packages whose distfiles aren't available for plain downloading
13.2.2. How to handle modified + "#id2633909">13.2.2. How to handle modified distfiles with the 'old' name
-
13.3. +
13.3. Configuration gotchas
@@ -5072,65 +5072,65 @@ CONF_FILES= ${EGDIR}/Muttrc ${PKG_SYSCONFDIR}/Muttrc libtool
13.3.2. Using libtool on GNU + "#id2634286">13.3.2. Using libtool on GNU packages that already support libtool
13.3.3. GNU + "#id2634504">13.3.3. GNU Autoconf/Automake
-
13.4. +
13.4. Building considerations
13.4.1. CPP defines
+ "#id2634620">13.4.1. CPP defines
-
13.5. +
13.5. Package specific actions
13.5.1. Package configuration + "#id2634653">13.5.1. Package configuration files
13.5.2. User + "#id2634756">13.5.2. User interaction
13.5.3. Handling + "#id2634801">13.5.3. Handling licenses
13.5.4. Creating an account from a + "#id2634884">13.5.4. Creating an account from a package
13.5.5. Installing score + "#id2635014">13.5.5. Installing score files
13.5.6. Packages providing login + "#id2635058">13.5.6. Packages providing login shells
13.5.7. Packages containing perl + "#id2635115">13.5.7. Packages containing perl scripts
13.5.8. Packages with hardcoded + "#id2635133">13.5.8. Packages with hardcoded paths to other interpreters
13.5.9. Packages installing perl + "#id2635155">13.5.9. Packages installing perl modules
13.5.11. Packages installing GConf2 + "#id2635511">13.5.11. Packages installing GConf2 data files
13.5.12. Packages installing + "#id2635680">13.5.12. Packages installing scrollkeeper data files
13.5.13. Packages installing X11 + "#id2635731">13.5.13. Packages installing X11 fonts
13.5.14. Packages installing GTK2 + "#id2635778">13.5.14. Packages installing GTK2 modules
13.5.15. Packages installing SGML or + "#id2635847">13.5.15. Packages installing SGML or XML data
13.5.16. Packages installing + "#id2635899">13.5.16. Packages installing extensions to the MIME database
13.5.17. Packages using + "#id2636038">13.5.17. Packages using intltool
13.5.18. Packages installing startup + "#id2636052">13.5.18. Packages installing startup scripts
-
13.6. +
13.6. Feedback to the author
@@ -5184,17 +5184,17 @@ CONF_FILES= ${EGDIR}/Muttrc ${PKG_SYSCONFDIR}/Muttrc
-
15.1. +
15.1. Submitting your packages
-
15.2. +
15.2. Committing: Importing a package into CVS
-
15.3. +
15.3. Updating a package to a newer version
-
15.4. +
15.4. Moving a package in pkgsrc
@@ -7707,17 +7707,8 @@ CONFIGURE_ARGS+= --enable-sasl=${BUILDLINK_PREFIX.sasl} -

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 supported by the package, and any +

The first section contains the information about which + build options are supported by the package, and any default options settings if needed.

@@ -7763,7 +7754,7 @@ CONFIGURE_ARGS+= --enable-sasl=${BUILDLINK_PREFIX.sasl} 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 @@ -7771,30 +7762,34 @@ CONFIGURE_ARGS+= --enable-sasl=${BUILDLINK_PREFIX.sasl}
         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:

- -
- +
+

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 12.1. Program location -

12.2. Main +
12.2. Main targets

12.2. Main + "id2631338" id="id2631338">12.2. Main targets

@@ -8805,17 +8800,17 @@ make build

Table of Contents

-
13.1. +
13.1. General operation
13.1.1. How to pull in variables from + "#id2632838">13.1.1. How to pull in variables from /etc/mk.conf
13.1.2. Restricted + "#id2632921">13.1.2. Restricted packages
13.1.4. Handling conflicts with other + "#id2633374">13.1.4. Handling conflicts with other packages
13.1.5. Packages that cannot or should + "#id2633493">13.1.5. Packages that cannot or should not be built
13.1.6. Packages which should not be + "#id2633518">13.1.6. Packages which should not be deleted, once installed
13.1.8. How to handle compiler + "#id2633678">13.1.8. How to handle compiler bugs
13.1.9. How to handle incrementing + "#id2633701">13.1.9. How to handle incrementing versions when fixing an existing package
13.1.10. Portability of + "#id2633818">13.1.10. Portability of packages
-
13.2. +
13.2. Possible downloading issues
13.2.1. Packages whose distfiles + "#id2633846">13.2.1. Packages whose distfiles aren't available for plain downloading
13.2.2. How to handle modified + "#id2633909">13.2.2. How to handle modified distfiles with the 'old' name
-
13.3. +
13.3. Configuration gotchas
@@ -8879,64 +8874,64 @@ make build libtool
13.3.2. Using libtool on GNU packages + "#id2634286">13.3.2. Using libtool on GNU packages that already support libtool
13.3.3. GNU + "#id2634504">13.3.3. GNU Autoconf/Automake
-
13.4. +
13.4. Building considerations
13.4.1. CPP defines
+ "#id2634620">13.4.1. CPP defines
-
13.5. +
13.5. Package specific actions
13.5.1. Package configuration + "#id2634653">13.5.1. Package configuration files
13.5.2. User + "#id2634756">13.5.2. User interaction
13.5.3. Handling + "#id2634801">13.5.3. Handling licenses
13.5.4. Creating an account from a + "#id2634884">13.5.4. Creating an account from a package
13.5.5. Installing score + "#id2635014">13.5.5. Installing score files
13.5.6. Packages providing login + "#id2635058">13.5.6. Packages providing login shells
13.5.7. Packages containing perl + "#id2635115">13.5.7. Packages containing perl scripts
13.5.8. Packages with hardcoded paths + "#id2635133">13.5.8. Packages with hardcoded paths to other interpreters
13.5.9. Packages installing perl + "#id2635155">13.5.9. Packages installing perl modules
13.5.11. Packages installing GConf2 + "#id2635511">13.5.11. Packages installing GConf2 data files
13.5.12. Packages installing + "#id2635680">13.5.12. Packages installing scrollkeeper data files
13.5.13. Packages installing X11 + "#id2635731">13.5.13. Packages installing X11 fonts
13.5.14. Packages installing GTK2 + "#id2635778">13.5.14. Packages installing GTK2 modules
13.5.15. Packages installing SGML or + "#id2635847">13.5.15. Packages installing SGML or XML data
13.5.16. Packages installing + "#id2635899">13.5.16. Packages installing extensions to the MIME database
13.5.17. Packages using + "#id2636038">13.5.17. Packages using intltool
13.5.18. Packages installing startup + "#id2636052">13.5.18. Packages installing startup scripts
-
13.6. +
13.6. Feedback to the author
@@ -8987,7 +8982,7 @@ make build

13.1. General + "id2632835" id="id2632835">13.1. General operation

@@ -8997,8 +8992,8 @@ make build
-

13.1.1. How to pull in +

13.1.1. How to pull in variables from /etc/mk.conf

@@ -9058,8 +9053,8 @@ CFLAGS+= -your -flags
-

13.1.2. Restricted +

13.1.2. Restricted packages

@@ -9366,8 +9361,8 @@ pre-clean:
-

13.1.4. Handling conflicts +

13.1.4. Handling conflicts with other packages

@@ -9414,8 +9409,8 @@ CONFLICTS= Xaw3d-[0-9]*
-

13.1.5. Packages that cannot +

13.1.5. Packages that cannot or should not be built

@@ -9446,8 +9441,8 @@ CONFLICTS= Xaw3d-[0-9]*
-

13.1.6. Packages which +

13.1.6. Packages which should not be deleted, once installed

@@ -9510,8 +9505,8 @@ CONFLICTS= Xaw3d-[0-9]*
-

13.1.8. How to handle +

13.1.8. How to handle compiler bugs

@@ -9536,8 +9531,8 @@ CONFLICTS= Xaw3d-[0-9]*
-

13.1.9. How to handle +

13.1.9. How to handle incrementing versions when fixing an existing package

@@ -9577,8 +9572,8 @@ DISTNAME= foo-17.43
-

13.1.10. Portability of +

13.1.10. Portability of packages

@@ -9594,8 +9589,8 @@ DISTNAME= foo-17.43
-

13.1.10.1. ${INSTALL}, +

13.1.10.1. ${INSTALL}, ${INSTALL_DATA_DIR}, ...

@@ -9620,7 +9615,7 @@ ${INSTALL_DATA_DIR} ${PREFIX}/dir2

13.2. Possible + "id2633843" id="id2633843">13.2. Possible downloading issues

@@ -9630,8 +9625,8 @@ ${INSTALL_DATA_DIR} ${PREFIX}/dir2
-

13.2.1. Packages whose +

13.2.1. Packages whose distfiles aren't available for plain downloading

@@ -9692,8 +9687,8 @@ ${INSTALL_DATA_DIR} ${PREFIX}/dir2
-

13.2.2. How to handle +

13.2.2. How to handle modified distfiles with the 'old' name

@@ -9722,8 +9717,8 @@ ${INSTALL_DATA_DIR} ${PREFIX}/dir2

13.3. Configuration + "id2633921" id= + "id2633921">13.3. Configuration gotchas

@@ -9942,8 +9937,8 @@ ${LIBTOOL} --mode=install ${BSD_INSTALL_DATA} ${SOMELIB:.a=.la} ${PREFIX}/lib
-

13.3.2. Using libtool on GNU +

13.3.2. Using libtool on GNU packages that already support libtool

@@ -10021,8 +10016,8 @@ ${LIBTOOL} --mode=install ${BSD_INSTALL_DATA} ${SOMELIB:.a=.la} ${PREFIX}/lib
-

13.3.3. GNU +

13.3.3. GNU Autoconf/Automake

@@ -10088,7 +10083,7 @@ pre-configure:

13.4. Building + "id2634617" id="id2634617">13.4. Building considerations

@@ -10098,8 +10093,8 @@ pre-configure:
-

13.4.1. CPP defines

+

13.4.1. CPP defines

@@ -10138,7 +10133,7 @@ pre-configure:

13.5. Package + "id2634650" id="id2634650">13.5. Package specific actions

@@ -10148,8 +10143,8 @@ pre-configure:
-

13.5.1. Package +

13.5.1. Package configuration files

@@ -10221,8 +10216,8 @@ pre-configure:
-

13.5.2. User +

13.5.2. User interaction

@@ -10271,8 +10266,8 @@ INTERACTIVE_STAGE= configure install
-

13.5.3. Handling +

13.5.3. Handling licenses

@@ -10346,8 +10341,8 @@ ACCEPTABLE_LICENSES+=graphviz-license
-

13.5.4. Creating an account +

13.5.4. Creating an account from a package

@@ -10401,8 +10396,8 @@ user:group[:[userid][:[description][:[home][:shell]]]]
-

13.5.5. Installing score +

13.5.5. Installing score files

@@ -10439,8 +10434,8 @@ user:group[:[userid][:[description][:[home][:shell]]]]
-

13.5.6. Packages providing +

13.5.6. Packages providing login shells

@@ -10475,8 +10470,8 @@ user:group[:[userid][:[description][:[home][:shell]]]]
-

13.5.7. Packages containing +

13.5.7. Packages containing perl scripts

@@ -10494,8 +10489,8 @@ user:group[:[userid][:[description][:[home][:shell]]]]
-

13.5.8. Packages with +

13.5.8. Packages with hardcoded paths to other interpreters

@@ -10521,8 +10516,8 @@ user:group[:[userid][:[description][:[home][:shell]]]]
-

13.5.9. Packages installing +

13.5.9. Packages installing perl modules

@@ -10661,8 +10656,8 @@ PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Pg/.packlist
-

13.5.11. Packages installing +

13.5.11. Packages installing GConf2 data files

@@ -10736,8 +10731,8 @@ PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Pg/.packlist
-

13.5.12. Packages installing +

13.5.12. Packages installing scrollkeeper data files

@@ -10781,8 +10776,8 @@ PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Pg/.packlist
-

13.5.13. Packages installing +

13.5.13. Packages installing X11 fonts

@@ -10819,8 +10814,8 @@ PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Pg/.packlist
-

13.5.14. Packages installing +

13.5.14. Packages installing GTK2 modules

@@ -10886,8 +10881,8 @@ PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Pg/.packlist
-

13.5.15. Packages installing +

13.5.15. Packages installing SGML or XML data

@@ -10948,8 +10943,8 @@ PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Pg/.packlist
-

13.5.16. Packages installing +

13.5.16. Packages installing extensions to the MIME database

@@ -11007,8 +11002,8 @@ PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Pg/.packlist
-

13.5.17. Packages using +

13.5.17. Packages using intltool

@@ -11031,8 +11026,8 @@ PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Pg/.packlist
-

13.5.18. Packages installing +

13.5.18. Packages installing startup scripts

@@ -11055,7 +11050,7 @@ PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Pg/.packlist

13.6. Feedback + "id2636073" id="id2636073">13.6. Feedback to the author

@@ -11291,17 +11286,17 @@ PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Pg/.packlist

Table of Contents

-
15.1. +
15.1. Submitting your packages
-
15.2. +
15.2. Committing: Importing a package into CVS
-
15.3. +
15.3. Updating a package to a newer version
-
15.4. +
15.4. Moving a package in pkgsrc
@@ -11311,8 +11306,8 @@ PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Pg/.packlist

15.1. Submitting your + "id2636740" id= + "id2636740">15.1. Submitting your packages

@@ -11381,8 +11376,8 @@ PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Pg/.packlist

15.2. Committing: Importing a + "id2636797" id= + "id2636797">15.2. Committing: Importing a package into CVS

@@ -11438,7 +11433,7 @@ PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Pg/.packlist

15.3. Updating + "id2636860" id="id2636860">15.3. Updating a package to a newer version

@@ -11489,7 +11484,7 @@ PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Pg/.packlist

15.4. Moving a + "id2636880" id="id2636880">15.4. Moving a package in pkgsrc

@@ -11590,27 +11585,27 @@ PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Pg/.packlist

Table of Contents

-
A.1. +
A.1. files
-
A.1.1. +
A.1.1. Makefile
-
A.1.2. +
A.1.2. DESCR
-
A.1.3. +
A.1.3. PLIST
-
A.1.4. +
A.1.4. Checking a package with pkglint
-
A.2. Steps +
A.2. Steps for building, installing, packaging
@@ -11628,7 +11623,7 @@ PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Pg/.packlist

A.1. files

+ "id2637037" id="id2637037">A.1. files
@@ -11637,8 +11632,8 @@ PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Pg/.packlist
-

A.1.1. Makefile

+

A.1.1. Makefile

@@ -11665,8 +11660,8 @@ INFO_FILES= bison.info
-

A.1.2. DESCR

+

A.1.2. DESCR

@@ -11682,8 +11677,8 @@ of the NetBSD source tree is beyond me.
-

A.1.3. PLIST

+

A.1.3. PLIST

@@ -11700,8 +11695,8 @@ share/bison.hairy
-

A.1.4. Checking a package with +

A.1.4. Checking a package with pkglint

@@ -11735,7 +11730,7 @@ looks fine.

A.2. Steps for + "id2637111" id="id2637111">A.2. Steps for building, installing, packaging

@@ -12153,10 +12148,10 @@ Registering depends:.

Table of Contents

-
D.1. +
D.1. Targets
-
D.2. +
D.2. Procedure
@@ -12169,7 +12164,7 @@ Registering depends:.

D.1. Targets

+ "id2637894" id="id2637894">D.1. Targets
@@ -12220,8 +12215,8 @@ Registering depends:.

D.2. Procedure

+ "id2637959" id= + "id2637959">D.2. Procedure
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 -- cgit v1.2.3