diff options
author | wiz <wiz@pkgsrc.org> | 2006-03-02 20:41:30 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2006-03-02 20:41:30 +0000 |
commit | c0c03cc8f88e2b8f550183447e795f991c9fdf09 (patch) | |
tree | 75c14d23d2cde7ceb2872d6ab40a3846ad870d24 /mail/gld | |
parent | 6945a1226184dd5381e8a9c2d7af242317813a46 (diff) | |
download | pkgsrc-c0c03cc8f88e2b8f550183447e795f991c9fdf09.tar.gz |
Convert to make better use of the options framework. Addresses part
of PR 32969 by Greg Oster.
Diffstat (limited to 'mail/gld')
-rw-r--r-- | mail/gld/options.mk | 13 |
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} |