From owner-svn-ports-all@FreeBSD.ORG Sun Feb 8 17:25:09 2015 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B93412FA; Sun, 8 Feb 2015 17:25:09 +0000 (UTC) Received: from ainaz.pair.com (ainaz.pair.com [209.68.2.66]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 94AD313D; Sun, 8 Feb 2015 17:25:08 +0000 (UTC) Received: from [192.168.0.132] (vie-91-186-145-149.dsl.sil.at [91.186.145.149]) by ainaz.pair.com (Postfix) with ESMTPSA id 048DC3F51B; Sun, 8 Feb 2015 12:24:59 -0500 (EST) Date: Sun, 8 Feb 2015 18:24:57 +0100 (CET) From: Gerald Pfeifer To: Thierry Thomas Subject: Re: svn commit: r378602 - head/cad/kicad In-Reply-To: <201502071607.t17G7XGK069391@svn.freebsd.org> Message-ID: References: <201502071607.t17G7XGK069391@svn.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Cc: svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, ports-committers@freebsd.org X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Feb 2015 17:25:09 -0000 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