From owner-svn-ports-all@freebsd.org Tue Sep 12 20:43:59 2017 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B465DE1CE00; Tue, 12 Sep 2017 20:43:59 +0000 (UTC) (envelope-from gerald@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 83EDC143C; Tue, 12 Sep 2017 20:43:59 +0000 (UTC) (envelope-from gerald@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v8CKhwQX016506; Tue, 12 Sep 2017 20:43:58 GMT (envelope-from gerald@FreeBSD.org) Received: (from gerald@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v8CKhwVM016505; Tue, 12 Sep 2017 20:43:58 GMT (envelope-from gerald@FreeBSD.org) Message-Id: <201709122043.v8CKhwVM016505@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: gerald set sender to gerald@FreeBSD.org using -f From: Gerald Pfeifer Date: Tue, 12 Sep 2017 20:43:58 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r449716 - head/Mk/Uses X-SVN-Group: ports-head X-SVN-Commit-Author: gerald X-SVN-Commit-Paths: head/Mk/Uses X-SVN-Commit-Revision: 449716 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Sep 2017 20:43:59 -0000 Author: gerald Date: Tue Sep 12 20:43:58 2017 New Revision: 449716 URL: https://svnweb.freebsd.org/changeset/ports/449716 Log: Replace USE_GCC=5+ by USE_GCC=yes in the case of USES=compiler:c++14-lang. When this was added by r392084 on 2015-07-14, the default flavor of GCC was GCC 4.8 and explicitly requesting GCC 5 (or later) was necessary for C++ 14 support. Now that the default version of GCC is GCC 6, after GCC 5 for several months, we can use the preferred notion of USE_GCC=yes instead of specifying a concrete minimum version. Among others this helps with cases where GCC 6 is better adjusted for FreeBSD, notably the well known std::to_string issue (where that is only enabled with GCC 6 or later). PR: 222268 Approved by: portmgr (antoine) MFH: 2017Q3 Modified: head/Mk/Uses/compiler.mk Modified: head/Mk/Uses/compiler.mk ============================================================================== --- head/Mk/Uses/compiler.mk Tue Sep 12 20:29:20 2017 (r449715) +++ head/Mk/Uses/compiler.mk Tue Sep 12 20:43:58 2017 (r449716) @@ -144,7 +144,7 @@ CHOSEN_COMPILER_TYPE= gcc .if ${_COMPILER_ARGS:Mc++14-lang} .if !${COMPILER_FEATURES:Mc++14} .if (defined(FAVORITE_COMPILER) && ${FAVORITE_COMPILER} == gcc) || (${ARCH} != amd64 && ${ARCH} != i386) # clang not always supported on Tier-2 -USE_GCC= 5+ +USE_GCC= yes CHOSEN_COMPILER_TYPE= gcc .elif (${COMPILER_TYPE} == clang && ${COMPILER_VERSION} < 35) || ${COMPILER_TYPE} == gcc .if ${ALT_COMPILER_TYPE} == clang && ${ALT_COMPILER_VERSION} >= 35