svn commit: r385050 - head/audio/mumble

Mark Felder feld at FreeBSD.org
Thu Apr 30 15:12:01 UTC 2015


Author: feld
Date: Thu Apr 30 15:12:00 2015
New Revision: 385050
URL: https://svnweb.freebsd.org/changeset/ports/385050

Log:
  Disable PCH when compiler is GCC to unbreak builds on 8.x and 9.x

Modified:
  head/audio/mumble/Makefile

Modified: head/audio/mumble/Makefile
==============================================================================
--- head/audio/mumble/Makefile	Thu Apr 30 14:43:04 2015	(r385049)
+++ head/audio/mumble/Makefile	Thu Apr 30 15:12:00 2015	(r385050)
@@ -21,7 +21,7 @@ LIB_DEPENDS+=	libspeex.so:${PORTSDIR}/au
 
 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>


More information about the svn-ports-all mailing list