diff options
author | obache <obache@pkgsrc.org> | 2006-10-22 09:25:58 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2006-10-22 09:25:58 +0000 |
commit | ae875b85e1583abd243714b85525a8c31e81abd8 (patch) | |
tree | 4f1a2933f3cd8ec6dc9b5fb0ff40a57f20669205 /security/cy2-sql | |
parent | f4770e60d1c5a4bb61a25196eabc6e1a52a92cd6 (diff) | |
download | pkgsrc-ae875b85e1583abd243714b85525a8c31e81abd8.tar.gz |
Disable expressly database drivers which is not specified by option.
Possibly fix PR 34555.
Diffstat (limited to 'security/cy2-sql')
-rw-r--r-- | security/cy2-sql/Makefile | 8 |
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 |