How to properly check for GCC 4.1 in port

Ed Schouten ed at fxq.nl
Mon Dec 18 13:53:09 PST 2006


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,
-- 
 Ed Schouten <ed at fxq.nl>
 WWW: http://g-rave.nl/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20061218/15ab0238/attachment.pgp


More information about the freebsd-ports mailing list