From owner-freebsd-ports@FreeBSD.ORG Wed Dec 29 17:30:17 2004 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 9C55F16A4D2; Wed, 29 Dec 2004 17:30:17 +0000 (GMT) Received: from mail.soaustin.net (mail.soaustin.net [207.200.4.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 260F643D31; Wed, 29 Dec 2004 17:30:17 +0000 (GMT) (envelope-from linimon@lonesome.com) Received: by mail.soaustin.net (Postfix, from userid 502) id 9EDFD148F2; Wed, 29 Dec 2004 11:30:16 -0600 (CST) Date: Wed, 29 Dec 2004 11:30:16 -0600 (CST) From: Mark Linimon X-X-Sender: linimon@pancho To: Ade Lovett In-Reply-To: <41D27AD0.5090005@FreeBSD.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: ports@freebsd.org cc: Bob Tito Subject: Re: INDEX failed for sparc64 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: Wed, 29 Dec 2004 17:30:17 -0000 On Wed, 29 Dec 2004, Ade Lovett wrote: > Bob Tito wrote: > > [the problem] > > >> lists# /usr/local/sbin/portsdb -Uu > >> Updating the ports index ... Generating INDEX.tmp - please > >> wait.."Makefile", line 110: Unsupported architecture sparc64. > is broken on !i386 as it stands. A quick local fix would be to replace > the two instances of .error with IGNORE= And the above, gentle readers, is why the use of .error in a ports Makefile is Always The Wrong Thing. The "quick local fix" is actually the known, documented, canonical, correct way for a ports Makefile to work. It needs to be committed. This is not to pick on anyone in particular. At some point (if no one else gets to it first) I intend to remove all instances of .error so that there are no further bad examples to clone from. (Note for people new to this issue: not only 'make index' is affected by use of of .error. Any attempt to generate any metainformation about a port via use of 'make -V' will also fail.) mcl