pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/security/cy2-sql Disable expressly database drivers wh...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/acec29c3851c
branches:  trunk
changeset: 520480:acec29c3851c
user:      obache <obache%pkgsrc.org@localhost>
date:      Sun Oct 22 09:25:58 2006 +0000

description:
Disable expressly database drivers which is not specified by option.
Possibly fix PR 34555.

diffstat:

 security/cy2-sql/Makefile |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (32 lines):

diff -r 3452ff3ddc23 -r acec29c3851c security/cy2-sql/Makefile
--- a/security/cy2-sql/Makefile Sun Oct 22 09:24:38 2006 +0000
+++ b/security/cy2-sql/Makefile Sun Oct 22 09:25:58 2006 +0000
@@ -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 @@
 .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



Home | Main Index | Thread Index | Old Index