Subject: Re: code: which option from an options group was selected?
To: None <firstname.lastname@example.org, tech-pkg@NetBSD.org>
From: Dieter Baron <email@example.com>
Date: 09/19/2005 21:02:28
In article <20050919140047.GA4811@lori.mine.nu> Geert wrote:
: is it possible to make the following code shorter:
: > PKG_OPTIONS_REQUIRED_GROUPS+= mozilla
: > PKG_OPTIONS_GROUP.mozilla= firefox firefox-gtk1 mozilla mozilla-gtk2
: > PKG_SUGGESTED_OPTIONS+= firefox
: > .include "../../mk/bsd.options.mk"
You may also want to look at www/mozilla/gecko-options.mk and
www/mozilla/gecko-depends.mk, which is used by other packages needing
a dependency on some mozilla-like package.