Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Dec 2004 11:30:16 -0600 (CST)
From:      Mark Linimon <linimon@lonesome.com>
To:        Ade Lovett <ade@FreeBSD.org>
Cc:        Bob Tito <lists@magicfingers.org>
Subject:   Re: INDEX failed for sparc64
Message-ID:  <Pine.LNX.4.44.0412291125090.686-100000@pancho>
In-Reply-To: <41D27AD0.5090005@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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= <whatever text it was>

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.44.0412291125090.686-100000>