Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Oct 2016 02:58:43 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r423631 - head/Mk
Message-ID:  <201610100258.u9A2whWX046730@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Mon Oct 10 02:58:43 2016
New Revision: 423631
URL: https://svnweb.freebsd.org/changeset/ports/423631

Log:
  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

Modified:
  head/Mk/bsd.gecko.mk   (contents, props changed)

Modified: head/Mk/bsd.gecko.mk
==============================================================================
--- head/Mk/bsd.gecko.mk	Mon Oct 10 02:07:49 2016	(r423630)
+++ head/Mk/bsd.gecko.mk	Mon Oct 10 02:58:43 2016	(r423631)
@@ -85,7 +85,7 @@ MOZILLA_VER?=	${PORTVERSION}
 MOZILLA_BIN?=	${PORTNAME}-bin
 MOZILLA_EXEC_NAME?=${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
 CPE_VENDOR?=mozilla
 USE_PERL5=	build
@@ -96,9 +96,11 @@ BUNDLE_LIBS=	yes
 .endif
 
 # call to implicitly-deleted copy constructor of 'mozilla::WidevineVideoFrame'
-. if ${OPSYS} == FreeBSD && ${OSVERSION} < 1000019 && ${MOZILLA_VER:R:R} >= 49
-# XXX USES=compiler:c++11-lib cannot be used due to ports/208538
-USE_GCC=	5+
+.if ${MOZILLA_VER:R:R} >= 49
+USES+=		compiler:c++14-lang
+FAVORITE_COMPILER=	gcc # c++14-lib
+.else
+USES+=		compiler:c++11-lang
 .endif
 
 MOZILLA_SUFX?=	none



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