mirror of
https://git.freebsd.org/ports.git
synced 2025-05-25 07:26:29 -04:00
Disable PCH when compiler is GCC to unbreak builds on 8.x and 9.x
This commit is contained in:
parent
9fbb9b3c6d
commit
8fe6ad9b9c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=385050
1 changed files with 10 additions and 2 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Reference in a new issue