Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Jun 2021 07:26:14 GMT
From:      Gerald Pfeifer <gerald@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 8e7d39df8599 - main - Mk/bsd.gcc.mk: Adjust to the release of GCC 11
Message-ID:  <202106210726.15L7QEYq095336@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by gerald:

URL: https://cgit.FreeBSD.org/ports/commit/?id=8e7d39df8599614c1fd4cb3f264ecd4cfd7b365e

commit 8e7d39df8599614c1fd4cb3f264ecd4cfd7b365e
Author:     Gerald Pfeifer <gerald@FreeBSD.org>
AuthorDate: 2021-06-21 07:25:53 +0000
Commit:     Gerald Pfeifer <gerald@FreeBSD.org>
CommitDate: 2021-06-21 07:25:53 +0000

    Mk/bsd.gcc.mk: Adjust to the release of GCC 11
    
    Now that GCC 11.1 has been released and lang/gcc11 is in place,
    have USE_GCC=11 use that instead of lang/gcc11-devel.
    
    In addition add support for USE_GCC=12 which uses lang/gcc12-devel
    (still in early development, not recommended for production use).
---
 Mk/bsd.gcc.mk | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Mk/bsd.gcc.mk b/Mk/bsd.gcc.mk
index 0fc7c2c94877..14a781f69fb5 100644
--- a/Mk/bsd.gcc.mk
+++ b/Mk/bsd.gcc.mk
@@ -44,7 +44,7 @@ GCC_Include_MAINTAINER=		gerald@FreeBSD.org
 # All GCC versions supported by this framework.
 #
 # When updating this, keep Mk/bsd.default-versions.mk in sync.
-GCCVERSIONS=	4.8 7 8 9 10 11
+GCCVERSIONS=	4.8 7 8 9 10 11 12
 
 # No configurable parts below this. ####################################
 #
@@ -106,7 +106,7 @@ _USE_GCC:=	${GCC_DEFAULT}
 # A concrete version has been selected. Set proper ports dependencies,
 # CC, CXX, CPP, and flags.
 V:=			${_USE_GCC:S/.//}
-. if ${V} == 11
+. if ${V} == 12
 _GCC_PORT:=		gcc${V}-devel
 . else
 _GCC_PORT:=		gcc${V}



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