summaryrefslogtreecommitdiff
path: root/chat
diff options
context:
space:
mode:
authordillo <dillo@pkgsrc.org>2005-06-02 20:39:16 +0000
committerdillo <dillo@pkgsrc.org>2005-06-02 20:39:16 +0000
commit9495c54c39ad8e1d14059675bb95d7a7182738f0 (patch)
tree694f660941a274a474432f1ed01fafbc4173b0ad /chat
parent0a9365175c5f3b5dfdc8d7ebc7e188a66c41e09b (diff)
downloadpkgsrc-9495c54c39ad8e1d14059675bb95d7a7182738f0.tar.gz
use option groups
Diffstat (limited to 'chat')
-rw-r--r--chat/jabberd2/options.mk10
1 files changed, 4 insertions, 6 deletions
diff --git a/chat/jabberd2/options.mk b/chat/jabberd2/options.mk
index 6d6d5f2ef6b..73099786029 100644
--- a/chat/jabberd2/options.mk
+++ b/chat/jabberd2/options.mk
@@ -1,16 +1,14 @@
-# $NetBSD: options.mk,v 1.9 2005/05/31 11:24:32 dillo Exp $
+# $NetBSD: options.mk,v 1.10 2005/06/02 20:39:16 dillo Exp $
#
PKG_OPTIONS_VAR= PKG_OPTIONS.jabberd2
-PKG_SUPPORTED_OPTIONS= db mysql pgsql ldap pam
+PKG_SUPPORTED_OPTIONS= db ldap pam
+PKG_OPTIONS_OPTIONAL_GROUPS= database
+PKG_OPTIONS_GROUP.database= mysql pgsql
PKG_SUGGESTED_OPTIONS= mysql
.include "../../mk/bsd.options.mk"
-.if !empty(PKG_OPTIONS:Mmysql) && !empty(PKG_OPTIONS:Mpgsql)
-PKG_FAIL_REASON+= "Cannot use mysql and pgsql, use one of them."
-.endif
-
.if !empty(PKG_OPTIONS:Mdb)
BUILD_DEFS+= JABBERD_DBDIR
JABBERD_DBDIR?= ${VARBASE}/db/jabberd