From owner-freebsd-ports@FreeBSD.ORG Tue Jun 16 05:13:43 2009 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EFDB71065672 for ; Tue, 16 Jun 2009 05:13:43 +0000 (UTC) (envelope-from gerald@pfeifer.com) Received: from vexpert.dbai.tuwien.ac.at (vexpert.dbai.tuwien.ac.at [128.131.111.2]) by mx1.freebsd.org (Postfix) with ESMTP id AB26F8FC17 for ; Tue, 16 Jun 2009 05:13:43 +0000 (UTC) (envelope-from gerald@pfeifer.com) Received: from acrux.dbai.tuwien.ac.at (acrux [128.131.111.60]) by vexpert.dbai.tuwien.ac.at (Postfix) with ESMTP id 804A339117; Tue, 16 Jun 2009 07:13:42 +0200 (CEST) Received: by acrux.dbai.tuwien.ac.at (Postfix, from userid 1203) id 949DD10059; Tue, 16 Jun 2009 07:13:42 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by acrux.dbai.tuwien.ac.at (Postfix) with ESMTP id 84CA31003D; Tue, 16 Jun 2009 07:13:42 +0200 (CEST) Date: Tue, 16 Jun 2009 07:13:42 +0200 (CEST) From: Gerald Pfeifer To: Jeremy Messenger In-Reply-To: Message-ID: References: User-Agent: Alpine 1.99 (LSU 1142 2008-08-13) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: ports@freebsd.org Subject: Re: Why not use normal CONFLICTS in lang/gcc43 instead of custom? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Jun 2009 05:13:44 -0000 On Sat, 13 Jun 2009, Jeremy Messenger wrote: > I am trying to install x11/gnome2 last night and the build has gotten > stop at lang/gcc43, because of conflict with lang/gcc295. But wait, I > don't have lang/gcc295 install. I only have ccache installed that has > put 'gcc295' in /usr/local/libexec/ccache/ and this path is in the front > of my PATH. It caused lang/gcc43 to find it by mistake. I'm afraid you indeed ran into a false positive here, alas there is good news -- see below... > Puzzled me for you to not use the CONFLICTS, so why not use it? If you > really can't use CONFLICTS, then can you use the full path of gcc295? > Thanks. Originally I had CONFLICTS, but that does not work as you may think since it only gets active after the build, at which point the user will have run into the build failure. So, upon request by somone (in portmgr?) I added the current check. Using the full path will not work too well either with different LOCALBASEs though I guess one could check /usr/local, $PREFIX, and $LOCALBASE and consider that good enough. Now for the good news: lang/gcc295 is a living dead. It has not built for some eight, nine months and I have deprecated all dependencies (I think), and plan to yank this port finally now. (If anyone wants to start with that, I'm barely online for the next week, and it would be nice to see the process starting...) Gerald