How to pass configure options
drew at mykitchentable.net
Mon Jul 11 22:01:30 GMT 2005
On 7/11/2005 2:36 PM Kövesdán Gábor wrote:
> scuba at centroin.com.br wrote:
>> Hi all,
>> How can I pass some extra "configure" options when making ports?
>> I could not find it on FAQ or handbook.
>> I´m using the "hard" way.
>> make fetch
>> cd work/someprog/
>> ./configure --with...
>> cd ../../
>> make install
>> Is there any other way to do that from make command line?
>> - Marcelo
> Try something like this:
> make CONFIGURE_ARGS+=--with-feature1 --with-feature2 ... install
> I'm not sure it works, but there is a CONFIGURE_ARGS macro in the
> ports' Makefile for this purpose and You should be able to extend that
> in this way afaik.
Or if you're using port upgrade, look at the example file
/usr/local/etc/pkgtools.conf. Find the section called "MAKE_ARGS" (I
think. Pretty close to that if I'm wrong), and then specify your
settings there. That way any future portupgrade invocations will use
your defined settings and save you the grief of "WTF happened?" :)
Visit The Alchemist's Warehouse
Magic Tricks, DVDs, Videos, Books, & More!
More information about the freebsd-questions