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

Andras Horvath mail at log69.com
Sat Oct 5 19:10:15 UTC 2013


Sure I could wait, only I'd like to create a solution that's compatible with 9.x and 8.x branches.

Will I sill need that upcoming change, or in my case I need to find something else?


On Sat, 5 Oct 2013 21:01:44 +0200
Baptiste Daroussin <bapt at FreeBSD.org> wrote:

> 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


More information about the freebsd-ports mailing list