FreeBSD Port: devel/apr1

olli hauer ohauer at gmx.de
Mon Oct 7 19:42:43 UTC 2013


On 2013-10-07 20:05, John Bolton wrote:
> Hi guys,
> 
> I ran into some trouble building this port on FreeBSD 9.1 x64 using the -D arguments so the build does not require user interaction. The command line I used is:
> 
> make -D BATCH -D WITH_LDAP package
> 
> Unfortunately, the build proceeds without LDAP support. I noticed the Makefule does not contain an OPTIONS_DEFINE line. The build worked as expected after modifying the Makefile to include this line. The version of apr1 I am building is 1.4.8.
> 
> What do you guys thinks about this?
> 
> Regards,
> 
> John Bolton

Hello John,

I'm not sure if the new OPTIONS framework covers all cases, but the new notation is working as expected
https://wiki.freebsd.org/Ports/Options/OptionsNG

> make -D BATCH -D WITH=LDAP package

also with disabling a default option

> make -D BATCH -D WITH="LDAP PGSQL" WITHOUT="GDBM" package


-- 
Regards,
olli


More information about the freebsd-apache mailing list