From owner-svn-ports-head@FreeBSD.ORG Sat Feb 7 16:07:34 2015 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id F09E8596; Sat, 7 Feb 2015 16:07:33 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (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 DCC3C8C9; Sat, 7 Feb 2015 16:07:33 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t17G7X0q069392; Sat, 7 Feb 2015 16:07:33 GMT (envelope-from thierry@FreeBSD.org) Received: (from thierry@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t17G7XGK069391; Sat, 7 Feb 2015 16:07:33 GMT (envelope-from thierry@FreeBSD.org) Message-Id: <201502071607.t17G7XGK069391@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: thierry set sender to thierry@FreeBSD.org using -f From: Thierry Thomas Date: Sat, 7 Feb 2015 16:07:33 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r378602 - head/cad/kicad X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Feb 2015 16:07:34 -0000 Author: thierry Date: Sat Feb 7 16:07:33 2015 New Revision: 378602 URL: https://svnweb.freebsd.org/changeset/ports/378602 QAT: https://qat.redports.org/buildarchive/r378602/ 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 Modified: head/cad/kicad/Makefile ============================================================================== --- head/cad/kicad/Makefile Sat Feb 7 15:58:33 2015 (r378601) +++ head/cad/kicad/Makefile Sat Feb 7 16:07:33 2015 (r378602) @@ -21,8 +21,15 @@ RUN_DEPENDS= xpdf:${PORTSDIR}/graphics/x CONFLICTS= kicad-devel* USES= cmake dos2unix desktop-file-utils shared-mime-info tar:xz -# 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 +LDFLAGS+= -L${LOCALBASE}/lib/c++ +CXXFLAGS+= -nostdinc++ -isystem ${LOCALBASE}/include/c++/v1 +BUILD_DEPENDS+= ${LOCALBASE}/lib/c++/libstdc++.so:${PORTSDIR}/devel/libc++ + DOS2UNIX_GLOB= *.cmake sch_bus_entry.h sch_line.h sch_no_connect.h USE_XORG= x11 ice xext USE_GL= yes @@ -48,7 +55,6 @@ BINS= cvpcb eeschema gerbview kicad pcb EXTRAS2RM= linux-non_unicode linux wings3d LINUX.README \ contrib_makefiles.txt running_kicad_under_W98.txt - .include .if {PORT_OPTIONS:MDOCS}