Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Jul 2017 20:32:00 +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: r445960 - in head: Mk emulators/citra
Message-ID:  <201707152032.v6FKW0qR044753@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Sat Jul 15 20:32:00 2017
New Revision: 445960
URL: https://svnweb.freebsd.org/changeset/ports/445960

Log:
  Drop 9.x hack for USES=compiler:c++14-lang
  
  On x86 architectures when base compiler doesn't support C++14
  USES=compiler prefers Clang. As only lang/gcc* provide C++14 library
  outside of base some ports need to define USE_GCC. However, adding it
  would require ugly bsd.port.options.mk conditionals thus FAVORITE_COMPILER
  was used. As /stable/9 reached EOL we no longer need to support ancient
  libstdc++ on x86.

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

Modified: head/Mk/bsd.gecko.mk
==============================================================================
--- head/Mk/bsd.gecko.mk	Sat Jul 15 20:16:25 2017	(r445959)
+++ head/Mk/bsd.gecko.mk	Sat Jul 15 20:32:00 2017	(r445960)
@@ -97,7 +97,6 @@ BUNDLE_LIBS=	yes
 
 .if ${MOZILLA_VER:R:R} >= 49
 USES+=		compiler:c++14-lang
-FAVORITE_COMPILER=	${COMPILER_TYPE} # c++14-lib
 CPPFLAGS+=	-D_GLIBCXX_USE_C99 -D_GLIBCXX_USE_C99_MATH_TR1 \
 			-D_DECLARE_C99_LDBL_MATH # XXX ports/193528
 .else

Modified: head/emulators/citra/Makefile
==============================================================================
--- head/emulators/citra/Makefile	Sat Jul 15 20:16:25 2017	(r445959)
+++ head/emulators/citra/Makefile	Sat Jul 15 20:32:00 2017	(r445960)
@@ -38,7 +38,6 @@ GH_TUPLE=	citra-emu:ext-soundtouch:5274ec4:soundtouch/
 		weidai11:cryptopp:CRYPTOPP_5_6_5-164-g841c37e:cryptopp/externals/cryptopp/cryptopp
 
 USES=		cmake:outsource compiler:c++14-lang iconv localbase:ldflags
-FAVORITE_COMPILER=	${COMPILER_TYPE} # c++14-lib
 CMAKE_ARGS=	-DENABLE_WEB_SERVICE=off # XXX unbundle curl-7.52.1
 CXXFLAGS+=	-D_GLIBCXX_USE_C99 -D_GLIBCXX_USE_C99_MATH_TR1 \
 		-D_DECLARE_C99_LDBL_MATH # XXX ports/193528



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