svn commit: r533066 - head/Mk
Gerald Pfeifer
gerald at FreeBSD.org
Sun Apr 26 14:20:36 UTC 2020
Author: gerald
Date: Sun Apr 26 14:20:35 2020
New Revision: 533066
URL: https://svnweb.freebsd.org/changeset/ports/533066
Log:
Add support for GCC 10. That is in the release phase and has not seen
an upstream release yet, so we need to leverage the gcc10-devel port
which we'll replace by gcc10 once that exists.
This is not intended for production use, but to allow for an -exp run
and preparing other ports.
Modified:
head/Mk/bsd.gcc.mk
Modified: head/Mk/bsd.gcc.mk
==============================================================================
--- head/Mk/bsd.gcc.mk Sun Apr 26 14:16:58 2020 (r533065)
+++ head/Mk/bsd.gcc.mk Sun Apr 26 14:20:35 2020 (r533066)
@@ -34,7 +34,7 @@ GCC_Include_MAINTAINER= gerald at 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
+GCCVERSIONS= 4.8 7 8 9 10
# No configurable parts below this. ####################################
#
@@ -89,7 +89,11 @@ _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
+_GCC_PORT:= gcc${V}-devel
+. else
_GCC_PORT:= gcc${V}
+. endif
CC:= gcc${V}
CXX:= g++${V}
CPP:= cpp${V}
More information about the svn-ports-all
mailing list