From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Feb 19 04:12:58 2005 Return-Path: Delivered-To: freebsd-ports-bugs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 295C016A4CE; Sat, 19 Feb 2005 04:12:58 +0000 (GMT) Received: from dd3.kasserver.com (dd2718.kasserver.com [81.209.184.159]) by mx1.FreeBSD.org (Postfix) with ESMTP id A0CD343D54; Sat, 19 Feb 2005 04:12:57 +0000 (GMT) (envelope-from freebsd@chillt.de) Received: from [192.168.0.5] (dsl-082-083-057-208.arcor-ip.net [82.83.57.208]) by dd3.kasserver.com (Postfix) with ESMTP id 37535241BF; Sat, 19 Feb 2005 05:12:44 +0100 (CET) Message-ID: <4216BCC8.2040905@chillt.de> Date: Sat, 19 Feb 2005 05:12:56 +0100 From: Bartosz Fabianowski User-Agent: Mozilla Thunderbird 1.0 (X11/20050202) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Mark Linimon References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-ports-bugs@FreeBSD.org cc: freebsd-gnats-submit@FreeBSD.org Subject: Re: ports/77707: Fix for ports/77403 introduced circular dependency in ports tree X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Feb 2005 04:12:58 -0000 > 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