FreeBSD Port: devel/apr1
John.Bolton at software.dell.com
Mon Oct 7 20:13:00 UTC 2013
Thank you Olli.
I was able to get this to work:
make -D BATCH WITH="LDAP" package
Putting a -D before WITH or WITHOUT does not work but perhaps that was a typo on your part. ;)
From: olli hauer [mailto:ohauer at gmx.de]
Sent: Monday, October 07, 2013 12:43 PM
To: apache at FreeBSD.org
Cc: John Bolton
Subject: Re: FreeBSD Port: devel/apr1
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?
> John Bolton
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
More information about the freebsd-apache