pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mail/gld Convert to make better use of the options fra...
details: https://anonhg.NetBSD.org/pkgsrc/rev/aeb3ff3978ea
branches: trunk
changeset: 509069:aeb3ff3978ea
user: wiz <wiz%pkgsrc.org@localhost>
date: Thu Mar 02 20:41:30 2006 +0000
description:
Convert to make better use of the options framework. Addresses part
of PR 32969 by Greg Oster.
diffstat:
mail/gld/options.mk | 13 +++++--------
1 files changed, 5 insertions(+), 8 deletions(-)
diffs (24 lines):
diff -r 350be3bdf1c9 -r aeb3ff3978ea mail/gld/options.mk
--- a/mail/gld/options.mk Thu Mar 02 20:35:35 2006 +0000
+++ b/mail/gld/options.mk Thu Mar 02 20:41:30 2006 +0000
@@ -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}
Home |
Main Index |
Thread Index |
Old Index