From owner-freebsd-ports@FreeBSD.ORG Sat Mar 19 03:51:46 2005 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D88B916A4CF for ; Sat, 19 Mar 2005 03:51:46 +0000 (GMT) Received: from connectmail.carleton.ca (connectmail.carleton.ca [134.117.2.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9BE2943D1F for ; Sat, 19 Mar 2005 03:51:46 +0000 (GMT) (envelope-from adamw@FreeBSD.org) Received: from [192.168.1.141] ([134.117.145.25]) by connectmail.carleton.ca (iPlanet Messaging Server 5.2 HotFix 2.02 (built Oct 21 2004)) with ESMTPSA id <0IDK0092UYQ942@connectmail.carleton.ca> for freebsd-ports@freebsd.org; Fri, 18 Mar 2005 22:51:45 -0500 (EST) Date: Fri, 18 Mar 2005 22:52:12 -0500 From: Adam Weinberger In-reply-to: To: Mark Linimon Message-id: <423BA1EC.9020806@FreeBSD.org> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7BIT X-Accept-Language: en-us, en User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) References: cc: Lowell Gilbert cc: freebsd-ports@freebsd.org Subject: Re: Max recursion level (500) exceeded. X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Mar 2005 03:51:47 -0000 Mark Linimon wrote: > On Fri, 18 Mar 2005, Adam Weinberger wrote: > > >>The problem lies in the gcc32 port. It redefines USE_GCC. It, and the >>other gcc ports, need not to do that. > > > IIRC gcc3.2 had a USE_GCC definition that its internal make stuff > needed whose existance predated the creation of bsd.gcc.mk which > introduced a USE_GCC variable intended to be used internal to the > ports framework which has different semantics. AFAIK gcc32 has > been broken since that time. > > I do not have time to test this hypothesis but would suggest trying > a patchset with s/USE_GCC/INTERNAL_USE_GCC/ or something. > > It would be great if someone could investigate and fix this problem ... Here is a simple solution. First of all, OOo needs to remove the gcc32 BUILD_DEPENDS, and replace it with USE_GCC=3.2. Then, for each gcc port, simply replace the USE_GCC=2.7+ line with .undef USE_GCC If people want to test this, I'll commit it. # Adam -- Adam Weinberger adamw@magnesium.net || adamw@FreeBSD.org adamw@vectors.cx || adamw@gnome.org http://www.vectors.cx