svn commit: r385615 - head/textproc/sigil

Jan Beich jbeich at FreeBSD.org
Thu May 7 10:05:52 UTC 2015


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>


More information about the svn-ports-all mailing list