summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorobache <obache>2006-10-22 09:25:58 +0000
committerobache <obache>2006-10-22 09:25:58 +0000
commite25716ad6953ae9a0e2cf4259ba93b8aa15f97b8 (patch)
tree4f1a2933f3cd8ec6dc9b5fb0ff40a57f20669205 /security
parent88ffae5909f01e95d3952b87c20fe8fbd09c2b9f (diff)
downloadpkgsrc-e25716ad6953ae9a0e2cf4259ba93b8aa15f97b8.tar.gz
Disable expressly database drivers which is not specified by option.
Possibly fix PR 34555.
Diffstat (limited to 'security')
-rw-r--r--security/cy2-sql/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/security/cy2-sql/Makefile b/security/cy2-sql/Makefile
index 9cee26f724d..801d5066138 100644
--- a/security/cy2-sql/Makefile
+++ b/security/cy2-sql/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2006/04/18 17:42:12 jlam Exp $
+# $NetBSD: Makefile,v 1.14 2006/10/22 09:25:58 obache Exp $
PKGNAME= ${DISTNAME:S/cyrus-sasl/cy2-sql/}
COMMENT= Cyrus SASL SQL authentication plugin
@@ -15,16 +15,22 @@ PKG_SUGGESTED_OPTIONS= mysql
.if !empty(PKG_OPTIONS:Mmysql)
. include "../../mk/mysql.buildlink3.mk"
CONFIGURE_ARGS+= --with-mysql=${BUILDLINK_PREFIX.mysql-client}
+.else
+CONFIGURE_ARGS+= --without-mysql
.endif
.if !empty(PKG_OPTIONS:Mpgsql)
. include "../../mk/pgsql.buildlink3.mk"
CONFIGURE_ARGS+= --with-pgsql=${PGSQL_PREFIX:Q}
+.else
+CONFIGURE_ARGS+= --without-pgsql
.endif
.if !empty(PKG_OPTIONS:Msqlite)
. include "../../databases/sqlite/buildlink3.mk"
CONFIGURE_ARGS+= --with-sqlite=${BUILDLINK_PREFIX.sqlite}
+.else
+CONFIGURE_ARGS+= --without-sqlite
.endif
CONFIGURE_ARGS+= --enable-sql