svn commit: r378602 - head/cad/kicad
Thierry Thomas
thierry at FreeBSD.org
Sat Feb 7 16:07:34 UTC 2015
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 <bsd.port.options.mk>
.if {PORT_OPTIONS:MDOCS}
More information about the svn-ports-head
mailing list