From owner-freebsd-ports@FreeBSD.ORG Sun Sep 4 03:26:56 2011 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F117D106566B; Sun, 4 Sep 2011 03:26:56 +0000 (UTC) (envelope-from gerald@pfeifer.com) Received: from ainaz.pair.com (ainaz.pair.com [209.68.2.66]) by mx1.freebsd.org (Postfix) with ESMTP id D04128FC0C; Sun, 4 Sep 2011 03:26:56 +0000 (UTC) Received: from g159.suse.de (charybdis-ext.suse.de [195.135.221.2]) by ainaz.pair.com (Postfix) with ESMTPSA id DBB323F416; Sat, 3 Sep 2011 23:09:05 -0400 (EDT) Date: Sun, 4 Sep 2011 05:09:05 +0200 (CEST) From: Gerald Pfeifer To: Matthias Andree In-Reply-To: <4E2DE60C.8030902@FreeBSD.org> Message-ID: References: <20110725155920.GA83490@freebsd.org> <4E2DE60C.8030902@FreeBSD.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-ports@freebsd.org, Edwin Groothuis Subject: Re: [ANNOUNCE]: clang compiling ports, take 2 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: Sun, 04 Sep 2011 03:26:57 -0000 On Mon, 25 Jul 2011, Matthias Andree wrote: > Namely: if a port sets USE_GCC=4.2+ (for instance, sysutils/busybox does > that), the Pointyhat build does not install GCC. I think the bug is in > ports/Mk/bsd.gcc.mk which is unaware that there are newer clang-based > 9-CURRENT systems without gcc. > > I hope we can have another -exp run soon that addresses this. Matthias, sorry for not getting to this earlier. If you look at Mk/bsd.port.mk, there is a line GCCVERSION_040200= 700042 999999 4.2 which indicates that GCC 4.2 has been in the base system starting with FreeBSD 7.0 (and that magic 42 marker) until the rest of times. Can you advise which value of __FreeBSD_version to use? The official list at http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/freebsd-versions.html does not have a reference from what I can see. Gerald