Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Feb 2015 18:24:57 +0100 (CET)
From:      Gerald Pfeifer <gerald@pfeifer.com>
To:        Thierry Thomas <thierry@FreeBSD.org>
Cc:        svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, ports-committers@freebsd.org
Subject:   Re: svn commit: r378602 - head/cad/kicad
Message-ID:  <alpine.LSU.2.11.1502081806160.2504@tuna.site>
In-Reply-To: <201502071607.t17G7XGK069391@svn.freebsd.org>
References:  <201502071607.t17G7XGK069391@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.LSU.2.11.1502081806160.2504>