pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/chat/jabberd2 use option groups



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2ecc7409f32b
branches:  trunk
changeset: 495116:2ecc7409f32b
user:      dillo <dillo%pkgsrc.org@localhost>
date:      Thu Jun 02 20:39:16 2005 +0000

description:
use option groups

diffstat:

 chat/jabberd2/options.mk |  10 ++++------
 1 files changed, 4 insertions(+), 6 deletions(-)

diffs (24 lines):

diff -r a1fba54662a9 -r 2ecc7409f32b chat/jabberd2/options.mk
--- a/chat/jabberd2/options.mk  Thu Jun 02 20:38:51 2005 +0000
+++ b/chat/jabberd2/options.mk  Thu Jun 02 20:39:16 2005 +0000
@@ -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



Home | Main Index | Thread Index | Old Index