summaryrefslogtreecommitdiff
path: root/security/cy2-sql
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2004-08-22 19:32:51 +0000
committerjlam <jlam@pkgsrc.org>2004-08-22 19:32:51 +0000
commitdfe460ba774f2a95167edac5ba4a3edb868d569d (patch)
treebe106f064832dabfe855335adc4a7d14708a360a /security/cy2-sql
parent1b244d8d5ecef0e41548499a16a5812d4f65a208 (diff)
downloadpkgsrc-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 'security/cy2-sql')
-rw-r--r--security/cy2-sql/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/security/cy2-sql/Makefile b/security/cy2-sql/Makefile
index ac464dc9555..53c321b07da 100644
--- a/security/cy2-sql/Makefile
+++ b/security/cy2-sql/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2004/08/13 07:11:36 jlam Exp $
+# $NetBSD: Makefile,v 1.3 2004/08/22 19:32:52 jlam Exp $
PKGNAME= ${DISTNAME:S/cyrus-sasl/cy2-sql/}
COMMENT= Cyrus SASL SQL authentication plugin
@@ -7,8 +7,12 @@ SASL_PLUGIN= yes
.include "../cyrus-sasl2/Makefile.common"
PKG_OPTIONS_VAR= PKG_OPTIONS.cy2-sql
-PKG_OPTIONS.cy2-sql?= mysql
PKG_SUPPORTED_OPTIONS= mysql pgsql sqlite
+
+.if !defined(PKG_OPTIONS.cy2-sql)
+PKG_DEFAULT_OPTIONS+= mysql
+.endif
+
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mmysql)