Subject: Re: pkg/30472: rt3 pkgsrc upset about build options
To: None <gnats-bugs@netbsd.org>
From: Johnny C. Lam <jlam@NetBSD.org>
List: pkgsrc-bugs
Date: 06/09/2005 06:23:51
On Thu, Jun 09, 2005 at 12:08:00AM +0000, Carl Brewer wrote:
> 
> ACCEPTABLE_LICENSES+=fee-based-commercial-use
> ACCEPTABLE_LICENSES+=no-profit
> ACCEPTABLE_LICENSES+=majordomo-license
> USE_MILTER=YES
> FAILOVER_FETCH=yes
> PKG_DEVELOPER=1
> PKG_OPTIONS.rt=backend-mysql frontend-modperl2 
> #PKG_OPTIONS.rt+=backend-mysql
> PKG_OPTIONS.clamav+=milter
> APACHE_MODULES+=deflate
> APACHE_MODULES+=dav
> APACHE_MODULES+=deflate
> APACHE_MODULES+=all
> ACCEPTABLE_LICENSES+=shareware
> 
> When compiling, I get this error :
> 
> rollcage2# make
> ===> There must be no more than one frontend defined.
> *** Error code 1

There was a change in the way that package-specific PKG_OPTIONS should
be set.  There is no longer a simple override to completely set the
PKG_OPTIONS for a package.  I think you need to do the following to
build rt3 in the way that you want:

	PKG_OPTIONS.rt=	-frontend-fastcgi frontend-modperl2

This will deactivate the default FastCGI frontend and activate the
mod_perl-2.x frontend.

	Cheers,

	-- Johnny Lam <jlam@NetBSD.org>