svn commit: r378602 - head/cad/kicad
Gerald Pfeifer
gerald at pfeifer.com
Sun Feb 8 17:25:09 UTC 2015
On Saturday 2015-02-07 16:07, Thierry Thomas wrote:
> 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?
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.
Gerald
More information about the svn-ports-all
mailing list