svn commit: r384098 - head/databases/flamerobin
Antoine Brodin
antoine at FreeBSD.org
Thu Apr 16 11:08:12 UTC 2015
Author: antoine
Date: Thu Apr 16 11:08:11 2015
New Revision: 384098
URL: https://svnweb.freebsd.org/changeset/ports/384098
Log:
Fix build with GCC on recent head kernel by disabling PCH for GCC
With hat: portmgr
Modified:
head/databases/flamerobin/Makefile
Modified: head/databases/flamerobin/Makefile
==============================================================================
--- head/databases/flamerobin/Makefile Thu Apr 16 11:04:36 2015 (r384097)
+++ head/databases/flamerobin/Makefile Thu Apr 16 11:08:11 2015 (r384098)
@@ -16,6 +16,7 @@ LICENSE_NAME= FlameRobin Expat
LICENSE_FILE= ${WRKSRC}/docs/fr_license.html
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
+USES= compiler
USE_FIREBIRD= yes
USE_WX= 2.8+
WX_COMPS= wx contrib
@@ -28,4 +29,11 @@ LDFLAGS+= -L${LOCALBASE}/lib
SUB_FILES= pkg-message
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+# GCC is broken with PCH: https://lists.freebsd.org/pipermail/svn-src-all/2015-March/101722.html
+.if ${COMPILER_TYPE} == gcc
+CONFIGURE_ARGS= --disable-precomp-headers
+.endif
+
+.include <bsd.port.post.mk>
More information about the svn-ports-head
mailing list