mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-03 06:04:53 +00:00
gecko: factor out explicit USE_GCC
Excluding toolchain bugs the following is equivalent # Not supported yet USES= compiler:c++14-lib vs. USES= compiler:c++14-lang FAVORITE_COMPILER= gcc
This commit is contained in:
parent
f42a9340f9
commit
57f29e80f1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=423631
@ -85,7 +85,7 @@ MOZILLA_VER?= ${PORTVERSION}
|
|||||||
MOZILLA_BIN?= ${PORTNAME}-bin
|
MOZILLA_BIN?= ${PORTNAME}-bin
|
||||||
MOZILLA_EXEC_NAME?=${MOZILLA}
|
MOZILLA_EXEC_NAME?=${MOZILLA}
|
||||||
MOZ_RPATH?= ${MOZILLA}
|
MOZ_RPATH?= ${MOZILLA}
|
||||||
USES+= cpe compiler:c++11-lang gmake iconv perl5 pkgconfig \
|
USES+= cpe gmake iconv perl5 pkgconfig \
|
||||||
python:2.7,build desktop-file-utils
|
python:2.7,build desktop-file-utils
|
||||||
CPE_VENDOR?=mozilla
|
CPE_VENDOR?=mozilla
|
||||||
USE_PERL5= build
|
USE_PERL5= build
|
||||||
@ -96,9 +96,11 @@ BUNDLE_LIBS= yes
|
|||||||
.endif
|
.endif
|
||||||
|
|
||||||
# call to implicitly-deleted copy constructor of 'mozilla::WidevineVideoFrame'
|
# call to implicitly-deleted copy constructor of 'mozilla::WidevineVideoFrame'
|
||||||
. if ${OPSYS} == FreeBSD && ${OSVERSION} < 1000019 && ${MOZILLA_VER:R:R} >= 49
|
.if ${MOZILLA_VER:R:R} >= 49
|
||||||
# XXX USES=compiler:c++11-lib cannot be used due to ports/208538
|
USES+= compiler:c++14-lang
|
||||||
USE_GCC= 5+
|
FAVORITE_COMPILER= gcc # c++14-lib
|
||||||
|
.else
|
||||||
|
USES+= compiler:c++11-lang
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
MOZILLA_SUFX?= none
|
MOZILLA_SUFX?= none
|
||||||
|
Loading…
Reference in New Issue
Block a user