On Wed, Mar 07, 2012 at 12:11:52PM +0000, b. f. wrote:
> The custom gcc article that you are attempting to use was written at
> a time when some of the related port Makefiles had some shortcomings
> that no longer exist, and is not the recommended way to use lang/gcc*
> for ports.

Would you be interested in helping to update it?

> For all but a handful of ports that lang/gcc* depends upon, or
> those that don't respect the toolchain-related variables, you can just
> install lang/gcc or lang/gcc46 and set USE_GCC=4.6 in your build
> environment, an included Makefile, or on the command line.

Setting USE_* in e.g. /etc/make.conf is always incorrect, see:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/makefile-depend.html#USE-VARS

You can wind up in the degenerate case maknig gcc46 depend upon itself.

mcl
_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to