Date: Sat, 19 Feb 2005 05:12:56 +0100 From: Bartosz Fabianowski <freebsd@chillt.de> To: Mark Linimon <linimon@lonesome.com> Cc: freebsd-gnats-submit@FreeBSD.org Subject: Re: ports/77707: Fix for ports/77403 introduced circular dependency in ports tree Message-ID: <4216BCC8.2040905@chillt.de> In-Reply-To: <Pine.LNX.4.44.0502182150290.15689-100000@pancho> References: <Pine.LNX.4.44.0502182150290.15689-100000@pancho>
next in thread | previous in thread | raw e-mail | index | archive | help
> So we've overloaded the meaning of the variable. At least this is > what I recall. I see. It doesn't seem to have been announced anywhere big time, so missed that information. Sorry. While lang/gcc32 will build just fine without USE_GCC, the compiler used in this case (cc) will complain a lot about GCC extensions being used. So that's not a good idea. It seems to me that the following might be a proper fix: bsd.gcc.mk should try to satisfy the USE_GCC with the system compiler first and only if that does not match the version requested, it should try port versions. This way, USE_GCC= 2.7+ would take on the same meaning as the old USE_GCC= X in that it simply requests for system GCC to be used. At the same time, things such as USE_GCC= 3.1 would continue to work because if the system compiler isn't 3.1, bsd.gcc.mk would keep looking for an acceptable GCC. - Bartosz
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4216BCC8.2040905>