Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 May 2015 14:37:54 +0000 (UTC)
From:      Mark Felder <feld@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r386153 - branches/2015Q2/audio/mumble
Message-ID:  <201505121437.t4CEbsq1099960@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: feld
Date: Tue May 12 14:37:54 2015
New Revision: 386153
URL: https://svnweb.freebsd.org/changeset/ports/386153

Log:
  MFH: r385052
  Approved by: portmgr
  
  Disable PCH when compiler is GCC to unbreak builds on 8.x and 9.x

Modified:
  branches/2015Q2/audio/mumble/Makefile
Directory Properties:
  branches/2015Q2/   (props changed)

Modified: branches/2015Q2/audio/mumble/Makefile
==============================================================================
--- branches/2015Q2/audio/mumble/Makefile	Tue May 12 14:32:28 2015	(r386152)
+++ branches/2015Q2/audio/mumble/Makefile	Tue May 12 14:37:54 2015	(r386153)
@@ -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 \
@@ -53,6 +53,13 @@ CONFIG+=	no-bonjour
 LIB_DEPENDS+=	libdns_sd.so:${PORTSDIR}/net/mDNSResponder
 .endif
 
+.include <bsd.port.pre.mk>
+
+# PCH is broken on GCC
+.if ${COMPILER_TYPE} == gcc
+CONFIG+=	no-pch
+.endif
+
 post-patch:
 	@${REINPLACE_CMD} -e 's|-ldl||' ${WRKSRC}/overlay_gl/overlay_gl.pro
 
@@ -74,4 +81,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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201505121437.t4CEbsq1099960>