Subject: pkg/30472: rt3 pkgsrc upset about build options
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Carl Brewer <carl@rollcage2.bl.echidna.id.au>
List: pkgsrc-bugs
Date: 06/09/2005 00:08:00
>Number:         30472
>Category:       pkg
>Synopsis:       rt3 pkg won't build - complaining about frontend definititons
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jun 09 00:08:00 +0000 2005
>Originator:     Carl Brewer
>Release:        NetBSD 1.6.2
>Organization:
	
>Environment:
	
	
System: NetBSD rollcage2.bl.echidna.id.au 1.6.2 NetBSD 1.6.2 (rollcage) #1: Fri Apr 23 00:50:50 EST 2004 carl@rollcage2.bl.echidna.id.au:/usr/src/sys/arch/i386/compile/rollcage i386
Architecture: i386
Machine: i386
>Description:
	trying to compile rt3 from pkgsrc with the following in /etc/mk.conf :

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

Stop.
make: stopped in /usr/pkgsrc/devel/rt3


If I comment out the PKG_OPTIONS.rt line, it'll build - but not for
modperl2!

>How-To-Repeat:
	NBSD 1.6.2, current pkgsrc, apache2/modperl2, try and build rt3 to suit
>Fix:
	I can hardhack the Makefile, but that's not right!

>Unformatted: