diff options
Diffstat (limited to 'test-ports/default/Mk/bsd.gcc.mk')
-rw-r--r-- | test-ports/default/Mk/bsd.gcc.mk | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/test-ports/default/Mk/bsd.gcc.mk b/test-ports/default/Mk/bsd.gcc.mk index 6c5faed5..6e649ade 100644 --- a/test-ports/default/Mk/bsd.gcc.mk +++ b/test-ports/default/Mk/bsd.gcc.mk @@ -27,14 +27,14 @@ # If you are wondering what your port exactly does, use "make test-gcc" # to see some debugging. # -# $FreeBSD: head/Mk/bsd.gcc.mk 531883 2020-04-16 22:25:20Z gerald $ +# $FreeBSD: head/Mk/bsd.gcc.mk 533066 2020-04-26 14:20:35Z gerald $ 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 +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} |