Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Dec 2006 22:22:13 +0100
From:      Ed Schouten <ed@fxq.nl>
To:        ports@freebsd.org
Subject:   How to properly check for GCC 4.1 in port
Message-ID:  <20061218212213.GU1072@hoeg.nl>

next in thread | raw e-mail | index | archive | help

--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 <ed@fxq.nl>
 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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061218212213.GU1072>