From owner-freebsd-ports@FreeBSD.ORG Mon Dec 18 21:53:09 2006 Return-Path: X-Original-To: ports@freebsd.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C6F3516A49E for ; Mon, 18 Dec 2006 21:53:09 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: from palm.hoeg.nl (palm.hoeg.nl [83.98.131.212]) by mx1.FreeBSD.org (Postfix) with ESMTP id 32E7143C9F for ; Mon, 18 Dec 2006 21:52:06 +0000 (GMT) (envelope-from ed@hoeg.nl) Received: by palm.hoeg.nl (Postfix, from userid 1000) id 5747D1CC8B; Mon, 18 Dec 2006 22:22:13 +0100 (CET) Date: Mon, 18 Dec 2006 22:22:13 +0100 From: Ed Schouten To: ports@freebsd.org Message-ID: <20061218212213.GU1072@hoeg.nl> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Vy6UCbb9EK60RK4A" Content-Disposition: inline User-Agent: Mutt/1.5.13 (2006-08-11) Cc: Subject: How to properly check for GCC 4.1 in port 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: Mon, 18 Dec 2006 21:53:09 -0000 --Vy6UCbb9EK60RK4A Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello, I'm the maintainer for the net/totd port. This port doesn't compile with GCC 4.1. The easiest fix is to add -Wno-pointer-sign to the CFLAGS. GCC 3.4 doesn't allow this option. What's the nicest way to add a conditional to the port Makefile to check for a GCC version? Yours, --=20 Ed Schouten WWW: http://g-rave.nl/ --Vy6UCbb9EK60RK4A Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFFhwaF52SDGA2eCwURAg00AJ9bvccfBtMZd0KgQ0iVZFCMoTlogACcC9bc KhORJ0D0F+NHlGahc/tH3ho= =8G+E -----END PGP SIGNATURE----- --Vy6UCbb9EK60RK4A--