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

2013-10-05 Thread Andras Horvath
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 t

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

2013-10-05 Thread Andras Horvath
*) ... .endif On Sat, 5 Oct 2013 15:18:03 +0200 Baptiste Daroussin wrote: > On Sat, Oct 05, 2013 at 02:44:27PM +0200, Andras Horvath wrote: > > Dear Members, > > > > I'd like to ask your help. I'm a developer and maintainer of a port and I > > intend to give di

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

2013-10-05 Thread Andras Horvath
Dear Members, I'd like to ask your help. I'm a developer and maintainer of a port and I intend to give different compile options for different compilers when building my software. I'm using the OpenMP feature of GCC that is available from GCC version 4.2 and above. I would like to know how I c