How to properly check for GCC 4.1 in port

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


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?

 Ed Schouten <ed at>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url :

More information about the freebsd-ports mailing list