Re: git: b481defa675a - main - Mk/bsd.gcc.mk: Add GCC 15 support

From: Lorenzo Salvadore <developer_at_lorenzosalvadore.it>
Date: Mon, 06 May 2024 12:00:51 UTC
Approved by: gerald (maintainer)




On Monday, May 6th, 2024 at 13:59, Lorenzo Salvadore <salvadore@FreeBSD.org> wrote:

> 
> 
> The branch main has been updated by salvadore:
> 
> URL: https://cgit.FreeBSD.org/ports/commit/?id=b481defa675a20477146a6d4a9595cc2330b0ecc
> 
> commit b481defa675a20477146a6d4a9595cc2330b0ecc
> Author: Lorenzo Salvadore salvadore@FreeBSD.org
> 
> AuthorDate: 2024-04-29 20:26:14 +0000
> Commit: Lorenzo Salvadore salvadore@FreeBSD.org
> 
> CommitDate: 2024-05-06 11:59:03 +0000
> 
> Mk/bsd.gcc.mk: Add GCC 15 support
> ---
> Mk/bsd.default-versions.mk | 2 +-
> Mk/bsd.gcc.mk | 4 ++--
> 2 files changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/Mk/bsd.default-versions.mk b/Mk/bsd.default-versions.mk
> index a319b8dd12de..fd381a423145 100644
> --- a/Mk/bsd.default-versions.mk
> +++ b/Mk/bsd.default-versions.mk
> @@ -56,7 +56,7 @@ FPC_DEFAULT?= 3.2.2
> . else
> FPC_DEFAULT?= 3.3.1
> . endif
> -# Possible values: 9, 10, 11, 12, 13, 14
> +# Possible values: 9, 10, 11, 12, 13, 14, 15
> # (Any other version is completely unsupported and not meant for general use.)
> GCC_DEFAULT?= 13
> # Possible values: 10
> diff --git a/Mk/bsd.gcc.mk b/Mk/bsd.gcc.mk
> index 170865b57bab..0ecb8527a713 100644
> --- a/Mk/bsd.gcc.mk
> +++ b/Mk/bsd.gcc.mk
> @@ -35,7 +35,7 @@ GCC_Include_MAINTAINER= gerald@FreeBSD.org
> # All GCC versions supported by this framework.
> #
> # When updating this, keep Mk/bsd.default-versions.mk in sync.
> -GCCVERSIONS= 9 10 11 12 13 14
> +GCCVERSIONS= 9 10 11 12 13 14 15
> 
> # No configurable parts below this. ####################################
> #
> @@ -85,7 +85,7 @@ IGNORE= Unknown version of GCC specified (USE_GCC=${USE_GCC})
> # A concrete version has been selected. Set proper ports dependencies,
> # CC, CXX, CPP, and flags.
> V:= ${_USE_GCC:S/.//}
> -. if ${V} == 14
> +. if ${V} == 14 || ${V} == 15
> _GCC_PORT:= gcc${V}-devel
> . else
> _GCC_PORT:= gcc${V}