1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-30 01:15:52 +00:00

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

PR:		199905
This commit is contained in:
Jan Beich 2015-05-07 10:05:51 +00:00
parent 1971dc2eb5
commit ce902b79ba
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=385615

View File

@ -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>