How to pass configure options
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 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to pass configure options
On Jul 11, 2005, at 5:24 PM, [EMAIL PROTECTED] wrote: How can I pass some extra configure options when making ports? Edit the port's top-level Makefile, and add whatever options you'd like to $CONFIGURE_ARGS, as in: CONFIGURE_ARGS+=--disable-nls -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to pass configure options
[EMAIL PROTECTED] 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 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to pass configure options
On 7/11/2005 2:36 PM Kövesdán Gábor wrote: [EMAIL PROTECTED] 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. 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? :) Drew -- Visit The Alchemist's Warehouse Magic Tricks, DVDs, Videos, Books, More! http://www.alchemistswarehouse.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]