diff options
author | wiz <wiz@pkgsrc.org> | 2005-06-09 08:08:26 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2005-06-09 08:08:26 +0000 |
commit | e549bb9cbf5fe9d44682a938e44e3af419f09fe9 (patch) | |
tree | 01808a0c3c6fe194de71b5c31b4879254eac2869 /devel | |
parent | 6aa61d71fbf68ef2d754ec4ac377318340d7611b (diff) | |
download | pkgsrc-e549bb9cbf5fe9d44682a938e44e3af419f09fe9.tar.gz |
Convert to use PKG_OPTIONS_REQUIRED_GROUPS.
Should fix PR 30472.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/rt3/Makefile.options | 24 |
1 files changed, 5 insertions, 19 deletions
diff --git a/devel/rt3/Makefile.options b/devel/rt3/Makefile.options index dccfec16643..3be4d225d6e 100644 --- a/devel/rt3/Makefile.options +++ b/devel/rt3/Makefile.options @@ -1,28 +1,14 @@ -# $NetBSD: Makefile.options,v 1.4 2005/05/26 15:00:29 cube Exp $ +# $NetBSD: Makefile.options,v 1.5 2005/06/09 08:08:26 wiz Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.rt -PKG_SUPPORTED_OPTIONS= backend-mysql backend-pgsql \ - frontend-modperl1 frontend-modperl2 \ - frontend-fastcgi +PKG_OPTIONS_REQUIRED_GROUPS= backend frontend +PKG_OPTIONS_GROUP.backend= backend-mysql backend-pgsql +PKG_OPTIONS_GROUP.frontend= frontend-modperl1 frontend-modperl2 \ + frontend-fastcgi PKG_SUGGESTED_OPTIONS= backend-mysql frontend-fastcgi .include "../../mk/bsd.options.mk" -# Too bad -1-6's make doesn't have :[#] modifier -.for _option_ in backend frontend -. if empty(PKG_OPTIONS:M${_option_}-*) -PKG_FAIL_REASON+= "There must be one ${_option_} defined." -. else -_RT_DUMMY:= # empty -. for _dummy_ in ${PKG_OPTIONS:M${_option_}-*} -_RT_DUMMY:= ${_RT_DUMMY}+ -. endfor -. if ${_RT_DUMMY} != + -PKG_FAIL_REASON+= "There must be no more than one ${_option_} defined." -. endif -. endif -.endfor - # Other options RT_GROUP?= rt |