diff options
author | jlam <jlam@pkgsrc.org> | 2004-08-22 19:32:51 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2004-08-22 19:32:51 +0000 |
commit | dfe460ba774f2a95167edac5ba4a3edb868d569d (patch) | |
tree | be106f064832dabfe855335adc4a7d14708a360a /databases | |
parent | 1b244d8d5ecef0e41548499a16a5812d4f65a208 (diff) | |
download | pkgsrc-dfe460ba774f2a95167edac5ba4a3edb868d569d.tar.gz |
Change the way that legacy USE_* and FOO_USE_* options are converted
into the bsd.options.mk framework. Instead of appending to
${PKG_OPTIONS_VAR}, it appends to PKG_DEFAULT_OPTIONS. This causes
the default options to be the union of PKG_DEFAULT_OPTIONS and any
old USE_* and FOO_USE_* settings.
This fixes PR pkg/26590.
Diffstat (limited to 'databases')
-rw-r--r-- | databases/openldap/options.mk | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/databases/openldap/options.mk b/databases/openldap/options.mk index 79e87470e15..4aada900454 100644 --- a/databases/openldap/options.mk +++ b/databases/openldap/options.mk @@ -1,19 +1,4 @@ -# $NetBSD: options.mk,v 1.1 2004/08/05 03:04:33 jlam Exp $ - -# Global and legacy options -.if defined(KERBEROS) || defined(USE_SASL) || defined(USE_SASL2) -. if !defined(PKG_OPTIONS.openldap) -. if defined(KERBEROS) -PKG_OPTIONS.openldap+= kerberos -. endif -. if defined(USE_SASL) && !empty(USE_SASL:M[yY][eE][sS]) -PKG_OPTIONS.openldap+= sasl -. endif -. if defined(USE_SASL2) && !empty(USE_SASL2:M[yY][eE][sS]) -PKG_OPTIONS.openldap+= sasl -. endif -. endif -.endif +# $NetBSD: options.mk,v 1.2 2004/08/22 19:32:51 jlam Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.openldap PKG_SUPPORTED_OPTIONS= dynamic kerberos sasl slp |