Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Nov 2009 17:05:26 -0600
From:      Mark Linimon <linimon@lonesome.com>
To:        Jeremy Chadwick <freebsd@jdc.parodius.com>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: NSIS compile failed on FreeBSD 7.2
Message-ID:  <20091120230525.GA11504@lonesome.com>
In-Reply-To: <20091120194613.GA81572@icarus.home.lan>
References:  <4B02B7D4.7020502@madhaus.cns.utoronto.ca> <4B06E274.3090207@madhaus.cns.utoronto.ca> <20091120194613.GA81572@icarus.home.lan>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Nov 20, 2009 at 11:46:13AM -0800, Jeremy Chadwick wrote:
> If that's indeed the case, then the port Makefile needs to be modified
> to reject building on any architectures other than i386.  This should
> suffice:
> 
> ONLY_FOR_ARCHS=	i386

There's a (fine?) distinction between the usage of IGNORE (which
*_FOR_ARCHS drives) and BROKEN.  The former is more of a statement
of "it will never work"; the latter is more of a statement of "it
doesn't work right now."

So, in my own patches for e.g. sparc64, I use

.if ${ARCH} == "sparc64"
BROKEN=         Does not compile on sparc64
.endif

unless the port bails out of config with "arch not supported", or it's
clearly i386-hardware-related, or something like that.

I recognize that this may be a matter of personal taste.

mcl



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20091120230525.GA11504>