ports / Makefile / check if default compiler is GCC and version is 4.2+

Baptiste Daroussin bapt at FreeBSD.org
Sat Oct 5 19:01:49 UTC 2013


On Sat, Oct 05, 2013 at 03:38:41PM +0200, Andras Horvath wrote:
> There is something similar here:
> http://lists.freebsd.org/pipermail/freebsd-ports-bugs/2013-August/259882.html
> 
> I put that like the following. Does this seem ok? I tested it on 8 stable and 10 current and seems to work just fine:
> 
> CCISCLANG!= ${CC} --version
> .if empty(CCISCLANG:M*clang*)
> ...
> .endif
> 
if you can wait a couple of days, a real framework is coming, but that needs to
wait for a tinderbox update.

regards,
Bapt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20131005/f13ad343/attachment.sig>


More information about the freebsd-ports mailing list