From owner-freebsd-ports@FreeBSD.ORG Tue Apr 10 09:16:27 2012 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 78EDB1065670 for ; Tue, 10 Apr 2012 09:16:27 +0000 (UTC) (envelope-from erwin@mail.droso.net) Received: from mail.droso.net (grizzly.droso.dk [78.46.50.170]) by mx1.freebsd.org (Postfix) with ESMTP id 3A3158FC08 for ; Tue, 10 Apr 2012 09:16:27 +0000 (UTC) Received: by mail.droso.net (Postfix, from userid 1001) id 9851A5821; Tue, 10 Apr 2012 11:16:19 +0200 (CEST) Date: Tue, 10 Apr 2012 11:16:19 +0200 From: Erwin Lansing To: ports@freebsd.org Message-ID: <20120410091619.GS66606@droso.net> References: <4F83F893.7040500@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <4F83F893.7040500@FreeBSD.org> X-Operating-System: FreeBSD/amd64 9.0-RELEASE User-Agent: Mutt/1.5.21 (2010-09-15) Cc: Subject: Re: .if ARCH / BROKEN, or 'NOT_FOR_ARCH'? 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, 10 Apr 2012 09:16:27 -0000 On Tue, Apr 10, 2012 at 05:08:35AM -0400, Michael Scheidell wrote: > I believe there was a discussion a while back, and if you used this: > > .if ${ARCH} == "sparc64" > BROKEN= does not compile on sparc64: assertion failed > .endif > > it is POSSIBLE that cluster runs that test broken ports could fix them (accidentally), but, wasn't the opinion that you might as well use ' > NOT_FOR_ARCH(s)? ' > The rationele is that we use NOT_FOR_ARCHS and ONLY_FOR_ARCHS for ports that are not supported on those architecture from the upstream or for some other reasone are known to not work and never will work on those architectures. BROKEN is for less permanent or unknown breakage, like errors on pointyhat where the one analyzing the logs doesn't have detailed knownledge of each port and its breakage, and is used as a warning to users, so they don't try to build a port and get disappointed after installing all its dependencies, and as a message to the maintainer that something is wrong. There are quite a few large grey areas between those, but that's the general outline. Erwin -- Erwin Lansing http://droso.dk erwin@FreeBSD.org http:// www.FreeBSD.org