Subject: Re: CVS commit: pkgsrc/www/galeon
To: None <drochner@netbsd.org, tech-pkg@NetBSD.org>
From: Dieter Baron <dillo@danbala.tuwien.ac.at>
List: tech-pkg
Date: 05/31/2005 18:08:40
In article <20050531154356.389442DA27@cvs.netbsd.org> Matthias wrote:
: Log Message:
: let this use the renderer from "firefox" or "mozilla-gtk2", depending
: on the GECKO_PROVIDER option
Could you please use the options framework for this? We are
currently deprecating selecting build options via variables like the
one you just introduced.
PKG_OPTIONS_VAR= PKG_OPTIONS.galeon
PKG_SUPPORTED_OPTIONS= gecko-firefox gecko-mozilla-gtk2
PKG_SUGGESTED_OPTIONS= gecko-mozilla-gtk2
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mgecko-firefox)
CONFIGURE_ARGS+= --with-mozilla=firefox
.else
BUILDLINK_RPATHDIRS.mozilla-gtk2+= lib/mozilla-gtk2
.endif
thanks,
dillo