1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-02 01:20:54 +00:00

Now that GCC 10.1 has been released and lang/gcc10 arrived to track

GCC 10 releases, switch to that over lang/gcc10-devel when GCC 10 is
requested.

Use lang/gcc11-devel when GCC 11 is requested, but note that this is
absolutely experimental and subject to constant change and likely
breakage over the next half year at least before that release series
enters stabilization.  Use at your own risk.
This commit is contained in:
Gerald Pfeifer 2020-06-02 08:49:21 +00:00
parent 2fedb62aea
commit d610ef4216
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=537529

View File

@ -34,7 +34,7 @@ GCC_Include_MAINTAINER= gerald@FreeBSD.org
# All GCC versions supported by the ports framework. Keep them in
# ascending order and in sync with the table below.
# When updating this, keep Mk/bsd.default-versions.mk in sync.
GCCVERSIONS= 4.8 7 8 9 10
GCCVERSIONS= 4.8 7 8 9 10 11
# No configurable parts below this. ####################################
#
@ -89,7 +89,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} == 10
. if ${V} == 11
_GCC_PORT:= gcc${V}-devel
. else
_GCC_PORT:= gcc${V}