Date: Sun, 26 Apr 2020 14:20:35 +0000 (UTC) From: Gerald Pfeifer <gerald@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r533066 - head/Mk Message-ID: <202004261420.03QEKZwa020777@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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@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}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202004261420.03QEKZwa020777>