svn commit: r386354 - branches/2015Q2/textproc/sigil

Jan Beich jbeich at FreeBSD.org
Thu May 14 19:03:05 UTC 2015


Author: jbeich
Date: Thu May 14 19:03:04 2015
New Revision: 386354
URL: https://svnweb.freebsd.org/changeset/ports/386354

Log:
  MFH: r385615
  
  textproc/sigil: unbreak build on the package cluster (PCH)
  
  PR:		199905
  Approved by:	/head @ r385020
  Approved by:	ports-secteam (delphij)

Modified:
  branches/2015Q2/textproc/sigil/Makefile
Directory Properties:
  branches/2015Q2/   (props changed)

Modified: branches/2015Q2/textproc/sigil/Makefile
==============================================================================
--- branches/2015Q2/textproc/sigil/Makefile	Thu May 14 18:45:16 2015	(r386353)
+++ branches/2015Q2/textproc/sigil/Makefile	Thu May 14 19:03:04 2015	(r386354)
@@ -18,11 +18,18 @@ LIB_DEPENDS=	libboost_thread.so:${PORTSD
 		libhunspell-1.3.so:${PORTSDIR}/textproc/hunspell \
 		libpcre.so:${PORTSDIR}/devel/pcre
 
-USES=		cmake desktop-file-utils pkgconfig zip
+USES=		cmake compiler desktop-file-utils pkgconfig zip
 NO_WRKSUBDIR=	yes
 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