Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 May 2015 10:05:52 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r385615 - head/textproc/sigil
Message-ID:  <201505071005.t47A5qSA024043@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Thu May  7 10:05:51 2015
New Revision: 385615
URL: https://svnweb.freebsd.org/changeset/ports/385615

Log:
  textproc/sigil: unbreak build on the package cluster (PCH)
  
  PR:		199905

Modified:
  head/textproc/sigil/Makefile   (contents, props changed)

Modified: head/textproc/sigil/Makefile
==============================================================================
--- head/textproc/sigil/Makefile	Thu May  7 10:05:37 2015	(r385614)
+++ head/textproc/sigil/Makefile	Thu May  7 10:05:51 2015	(r385615)
@@ -20,10 +20,17 @@ USE_GITHUB=	yes
 GH_ACCOUNT=	user-none
 GH_PROJECT=	Sigil
 
-USES=		cmake desktop-file-utils pkgconfig
+USES=		cmake compiler desktop-file-utils pkgconfig
 USE_QT4=	qmake gui svg webkit xml moc uic rcc imageformats linguist
 
+.include <bsd.port.pre.mk>
+
 post-patch:
 	@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' ${WRKSRC}/CMakeLists.txt
+.if ${COMPILER_TYPE} == gcc
+# GCC is broken with PCH: https://lists.freebsd.org/pipermail/svn-src-all/2015-March/101722.html
+	@${REINPLACE_CMD} -e '/precompiled_header/d' \
+		${WRKSRC}/src/FlightCrew/CMakeLists.txt
+.endif
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>



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