git: 8e7d39df8599 - main - Mk/bsd.gcc.mk: Adjust to the release of GCC 11
Gerald Pfeifer
gerald at FreeBSD.org
Mon Jun 21 07:26:14 UTC 2021
The branch main has been updated by gerald:
URL: https://cgit.FreeBSD.org/ports/commit/?id=8e7d39df8599614c1fd4cb3f264ecd4cfd7b365e
commit 8e7d39df8599614c1fd4cb3f264ecd4cfd7b365e
Author: Gerald Pfeifer <gerald at FreeBSD.org>
AuthorDate: 2021-06-21 07:25:53 +0000
Commit: Gerald Pfeifer <gerald at 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 at 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}
More information about the dev-commits-ports-all
mailing list