From owner-freebsd-ports@FreeBSD.ORG Sat May 30 16:05:18 2009 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 2544D10656C7 for ; Sat, 30 May 2009 16:05:18 +0000 (UTC) (envelope-from mel.flynn+fbsd.ports@mailing.thruhere.net) Received: from mailhub.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id E06678FC2B for ; Sat, 30 May 2009 16:05:17 +0000 (UTC) (envelope-from mel.flynn+fbsd.ports@mailing.thruhere.net) Received: from sarevok.dnr.servegame.org (mailhub.lan.rachie.is-a-geek.net [192.168.2.11]) by mailhub.rachie.is-a-geek.net (Postfix) with ESMTP id C40967E837; Sat, 30 May 2009 08:05:16 -0800 (AKDT) From: Mel Flynn To: freebsd-ports@freebsd.org, gerald@freebsd.org Date: Sat, 30 May 2009 18:05:14 +0200 User-Agent: KMail/1.11.3 (FreeBSD/8.0-CURRENT; KDE/4.2.3; i386; ; ) References: <20090529123633.GM48776@hoeg.nl> <4A213F84.1000704@FreeBSD.org> <20090530142152.GS48776@hoeg.nl> In-Reply-To: <20090530142152.GS48776@hoeg.nl> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-6" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200905301805.15180.mel.flynn+fbsd.ports@mailing.thruhere.net> Cc: Ed Schouten , Gabor Kovesdan Subject: Re: [Patch] Proposal: USE_GNU89 switch 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: Sat, 30 May 2009 16:05:18 -0000 On Saturday 30 May 2009 16:21:52 Ed Schouten wrote: > Really, I really don't care how it's done, whether it's a flag or added > to the compiler flags directly. I'm just saying adding it to CFLAGS > directly sounds like a very bad idea. Adding it to /etc/make.conf sounds > even worse, because it probably only confuses (autoconf) scripts that > try to figure out a way to make the compiler speak C99. Are there any edge cases of (antiquated) ports that (indirectly) use bsd.sys.mk and as such get hit by: 11 # the default is gnu99 for now 12 CSTD ?= gnu99 In other words should one clean CFLAGS of -std before applying the forced one, similar as to what WITH_DEBUG in ports does for -O*. -- Mel