summaryrefslogtreecommitdiff
path: root/mail/gld
diff options
context:
space:
mode:
Diffstat (limited to 'mail/gld')
-rw-r--r--mail/gld/options.mk13
1 files changed, 5 insertions, 8 deletions
diff --git a/mail/gld/options.mk b/mail/gld/options.mk
index 50546b8f42c..0f41ee4b5a7 100644
--- a/mail/gld/options.mk
+++ b/mail/gld/options.mk
@@ -1,15 +1,12 @@
-# $NetBSD: options.mk,v 1.3 2005/05/31 10:01:37 dillo Exp $
+# $NetBSD: options.mk,v 1.4 2006/03/02 20:41:30 wiz Exp $
-PKG_OPTIONS_VAR= PKG_OPTIONS.gld
-PKG_SUPPORTED_OPTIONS= mysql pgsql
-PKG_SUGGESTED_OPTIONS= mysql
+PKG_OPTIONS_VAR= PKG_OPTIONS.gld
+PKG_OPTIONS_REQUIRED_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+= "Choose one option: mysql or pgsql."
-.endif
-
.if !empty(PKG_OPTIONS:Mmysql)
. include "../../mk/mysql.buildlink3.mk"
CONFIGURE_ARGS+= --with-mysql=${BUILDLINK_PREFIX.mysql-client}