Problems with devel/apr1 or options_group

Olli Hauer ohauer at FreeBSD.org
Thu Dec 27 14:05:25 UTC 2012


On 2012-12-27 09:38, Dewayne Geraghty wrote:
> While trying to build apache22 with ldap, the dependency apr1 passes a "--without-ldap" flag to apr-util which results in apache
> failing.
> 
> * Background *
> Some 450+ packages are built on a 4 monthly cycle, 149 of these are controlled by ports.conf and built using portmaster. This is the
> second time since 2005 that I've been stuck and would appreciate some advice/guidance whether the problem lies with something in apr
> that I am missing, or the use of ${UNIQUENAME}_SET doesn't work with new OPTIONS_GROUP?
> 
> We used a script to modify our ports.conf to accommodate the new optionng _SET and _UNSET which worked nicely last time ports were
> built. 
> 
> These are the relevant options from ports.conf
> devel/apr1: WITH_THREADS | WITH_BDB | WITH_LDAP | WITHOUT_GDBM | APR1_UNSET=GDBM |  APR1_SET=THREADS BDB LDAP
[...]

I suspect here is the mistake
$> cd devel/apr1
$> make -V UNIQUENAME
apr  (-> not apr1)

I don't work with portmaster (happy tinderbox user ;).
Can you try the following line in your ports.conf

file ports.conf: devel/apr1: WITH_THREADS | WITH_BDB | WITH_LDAP | WITHOUT_GDBM | APR_UNSET=GDBM |  APR_SET=THREADS BDB LDAP

--
Regards,
olli


More information about the freebsd-ports mailing list