How to pass configure options

Kövesdán Gábor gabor.kovesdan at t-hosting.hu
Mon Jul 11 21:36:56 GMT 2005


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
>	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.

Cheers,

Gábor Kövesdán


More information about the freebsd-questions mailing list