summaryrefslogtreecommitdiff
path: root/security/cy2-sql
diff options
context:
space:
mode:
authorjlam <jlam>2004-08-22 19:32:51 +0000
committerjlam <jlam>2004-08-22 19:32:51 +0000
commit5cc6a7c1f324655a55780f73b3d7d11d39d55ec5 (patch)
treebe106f064832dabfe855335adc4a7d14708a360a /security/cy2-sql
parenta3f9a03576685fb9a6a35d58b1695247504fc00a (diff)
downloadpkgsrc-5cc6a7c1f324655a55780f73b3d7d11d39d55ec5.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)