diff options
author | feld <feld@FreeBSD.org> | 2015-04-30 23:12:00 +0800 |
---|---|---|
committer | feld <feld@FreeBSD.org> | 2015-04-30 23:12:00 +0800 |
commit | 575b3aeae6c990f34ce8c81a14dca91830ed8f05 (patch) | |
tree | ebf98001217d6c252f0b6aa03e7e058ba24d19f7 | |
parent | 81fc20e3a5acad477e426637a5b31553e58a749b (diff) | |
download | freebsd-ports-graphics-575b3aeae6c990f34ce8c81a14dca91830ed8f05.tar.gz freebsd-ports-graphics-575b3aeae6c990f34ce8c81a14dca91830ed8f05.tar.zst freebsd-ports-graphics-575b3aeae6c990f34ce8c81a14dca91830ed8f05.zip |
Disable PCH when compiler is GCC to unbreak builds on 8.x and 9.x
-rw-r--r-- | audio/mumble/Makefile | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/audio/mumble/Makefile b/audio/mumble/Makefile index 0e1527e9714..07106fb8af3 100644 --- a/audio/mumble/Makefile +++ b/audio/mumble/Makefile @@ -21,7 +21,7 @@ LIB_DEPENDS+= libspeex.so:${PORTSDIR}/audio/speex \ PLIST_SUB+= PORTVERSION="${PORTVERSION}" -USES= gmake pkgconfig qmake +USES= compiler gmake pkgconfig qmake USE_LDCONFIG= yes USE_QT4= gui svg iconengines_run xml sql network l10n \ linguist_build moc_build rcc_build uic_build \ @@ -33,6 +33,14 @@ MAKE_JOBS_UNSAFE=yes CONFIG= no-server no-alsa no-speechd no-bundled-speex no-bundled-opus no-update \ bundled-celt no-g15 no-portaudio no-pulseaudio no-xevie no-embed-qt-translations + +.include <bsd.port.pre.mk> + +# PCH is broken on GCC +.if ${COMPILER_TYPE} == gcc +CONFIG+= no-pch +.endif + QMAKE_ARGS= "CONFIG+=${CONFIG}" OPTIONS_DEFINE= DBUS BONJOUR @@ -74,4 +82,4 @@ do-install: ${INSTALL_DATA} ${WRKSRC}/icons/mumble.svg ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps ${INSTALL_MAN} ${WRKSRC}/man/mumble.1 ${STAGEDIR}${MANPREFIX}/man/man1/mumble.1 -.include <bsd.port.mk> +.include <bsd.port.post.mk> |