svn commit: r378602 - head/cad/kicad
Thierry Thomas
thierry at FreeBSD.org
Sun Feb 8 20:44:00 UTC 2015
Le dim 8 fév 15 à 18:24:57 +0100, Gerald Pfeifer <gerald at pfeifer.com>
écrivait :
> > Log:
> > Since Gcc is 4.8 by default, Kicad does not build anymore: e.g. see
> > http://beefy2.isc.freebsd.org/data/10amd64-default/2015-01-08_21h32m30s/logs/kicad-20140622.2.b4027_1,1.log
> >
> > Add an ugly hack to make it build with Gcc 4.7.
> >
> > Modified: head/cad/kicad/Makefile
> > ==============================================================================
> > -# Boost templates and compiler and library support for the ISO C++ 2011 standard from include/wx-3.0
> > -USES+= compiler:gcc-c++11-lib
> > +
> > +# Does not compile with Gcc48
> > +GCC_DEFAULT= 4.7
> > +USE_GCC= ${GCC_DEFAULT}
> > +#USES+= compiler:gcc-c++11-lib
>
> Ugh, this is really a hack.
>
> Why not just USE_GCC=4.7 instead of overriden GCC_DEFAULT? GCC_DEFAULT
> is not used anywhere in this port, is it?
I tried without that, and Gcc-4.8 was used. Maybe am I missing
something?
> Have you looked into fixing the port itself or building with clang
> -or- building with GCC and using its libstdc++? This combination
> currently used here strikes me as fragile.
Of course, this would be the best solution, but unfortunately I have not
yet understood why we get a different behaviour with Gcc-4.7 and
Gcc-4.8! This hack is just a work-around, because several users asked
for a package of this port.
--
Th. Thomas.
More information about the svn-ports-all
mailing list