From owner-freebsd-ports@FreeBSD.ORG Thu Jun 30 23:37:47 2005 Return-Path: X-Original-To: ports@freebsd.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9D84716A41C for ; Thu, 30 Jun 2005 23:37:47 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (CPE0050040655c8-CM00111ae02aac.cpe.net.cable.rogers.com [69.194.102.232]) by mx1.FreeBSD.org (Postfix) with ESMTP id 60B4543D1D for ; Thu, 30 Jun 2005 23:37:47 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 1BCD251329; Thu, 30 Jun 2005 19:37:46 -0400 (EDT) Date: Thu, 30 Jun 2005 19:37:45 -0400 From: Kris Kennaway To: Martin Cracauer Message-ID: <20050630233745.GA78956@xor.obsecurity.org> References: <20050630174246.A73270@cons.org> <20050630214943.GA45010@xor.obsecurity.org> <20050630181641.A74954@cons.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="nFreZHaLTZJo0R7j" Content-Disposition: inline In-Reply-To: <20050630181641.A74954@cons.org> User-Agent: Mutt/1.4.2.1i Cc: ports@freebsd.org, Kris Kennaway Subject: Re: Problem with mingw port, obeys $(CPUTYPE) but shouldn't 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: Thu, 30 Jun 2005 23:37:47 -0000 --nFreZHaLTZJo0R7j Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jun 30, 2005 at 06:16:41PM -0400, Martin Cracauer wrote: > Kris Kennaway wrote on Thu, Jun 30, 2005 at 05:49:43PM -0400:=20 > > On Thu, Jun 30, 2005 at 05:42:46PM -0400, Martin Cracauer wrote: > > > The mingw port seems to inherit CPU-specific settings from > > > /etc/make.conf which it shouldn't. It uses an older version of gcc > > > which is bound not to understand the fancy tuning from the CPU type. > >=20 > > There's a bsd.port.mk option (WITHOUT_CPU_CFLAGS or something) that > > sanitizes the CFLAGS to prevent old compiler ports from breaking in > > this way. >=20 > Thank you Kris, that is doing the right thing. The appended diff > fixes the port. >=20 > Anybody thinks of a reason not to commit that? Seems good to me :-) It would be nice if someone could sweep the other miscellaneous compiler ports for this too. Kris --nFreZHaLTZJo0R7j Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQFCxIJJWry0BWjoQKURAvuTAKCQkiaivI0yiBwjVWn6TlD9l7gvywCgvyl8 Se1CywqgG0BecENk4UgMINE= =mT6K -----END PGP SIGNATURE----- --nFreZHaLTZJo0R7j--