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
commitb90bae2fba677239e82fc33d58dca0ca235c2f94 (patch)
tree694f660941a274a474432f1ed01fafbc4173b0ad /chat
parent788acb84cf902a7bf98f88e654a2e5a6f0f3e721 (diff)
downloadpkgsrc-b90bae2fba677239e82fc33d58dca0ca235c2f94.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