Re: git: e858e20eec81 - main - devel/freebsd-gcc12: Use -stdlib=libc++ to use libc++.

From: Matthias Andree <mandree_at_FreeBSD.org>
Date: Sat, 05 Aug 2023 15:34:40 UTC
Am 05.08.23 um 17:24 schrieb John Baldwin:
> The branch main has been updated by jhb:
> 
> URL: https://cgit.FreeBSD.org/ports/commit/?id=e858e20eec8104648b25313b388e9f2532c980fb
> 
> commit e858e20eec8104648b25313b388e9f2532c980fb
> Author:     John Baldwin <jhb@FreeBSD.org>
> AuthorDate: 2023-08-05 15:24:11 +0000
> Commit:     John Baldwin <jhb@FreeBSD.org>
> CommitDate: 2023-08-05 15:24:11 +0000
> 
>      devel/freebsd-gcc12: Use -stdlib=libc++ to use libc++.
>      
>      Instead of overriding the path and library name of libstdc++, set the
>      path for libc++ and change the default of -stdlib= from libstdc++ to
>      libc++.
> ---
>   devel/freebsd-gcc12/Makefile                       |  8 ++++----
>   devel/freebsd-gcc12/files/patch-gcc-configure      | 13 -------------
>   devel/freebsd-gcc12/files/patch-gcc_c-family_c.opt | 11 +++++++++++
>   devel/freebsd-gcc12/files/patch-gcc_cp_g++spec.cc  | 11 +++++++++++
>   4 files changed, 26 insertions(+), 17 deletions(-)
> 
> diff --git a/devel/freebsd-gcc12/Makefile b/devel/freebsd-gcc12/Makefile
> index 677f60f8c5dd..e6ac2069852a 100644
> --- a/devel/freebsd-gcc12/Makefile
> +++ b/devel/freebsd-gcc12/Makefile
> @@ -1,6 +1,6 @@
>   PORTNAME=	gcc
>   PORTVERSION=	12.2.0
> -PORTREVISION=	8
> +PORTREVISION=	9
>   CATEGORIES=	devel
>   MASTER_SITES=	GCC
>   PKGNAMEPREFIX=	${TARGETARCH}-
> @@ -53,7 +53,7 @@ CONFIGURE_ARGS+=--target=${GCC_TARGET} --disable-nls --enable-languages=c,c++ \
>   		--with-pkgversion="FreeBSD Ports Collection for ${PKGNAMEPREFIX:C/-//g}" \
>   		--with-system-zlib \
>   		--without-zstd \
> -		--with-gxx-include-dir=/usr/include/c++/v1/ \
> +		--with-gxx-libcxx-include-dir=//usr/include/c++/v1 \

Are the double leading slashes intentional/necessary/harmless?

-- 
Matthias Andree
FreeBSD ports committer