git: 66512b7e3ce8 - main - lang/ldc: Remove dependency on libgphobos.so which was needed for the GDC bootstrap.

From: Gleb Popov <arrowd_at_FreeBSD.org>
Date: Tue, 14 Nov 2023 19:12:53 UTC
The branch main has been updated by arrowd:

URL: https://cgit.FreeBSD.org/ports/commit/?id=66512b7e3ce8f71ca19871831c30eb8833f42177

commit 66512b7e3ce8f71ca19871831c30eb8833f42177
Author:     Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2023-11-14 19:12:10 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2023-11-14 19:12:10 +0000

    lang/ldc: Remove dependency on libgphobos.so which was needed for the GDC bootstrap.
    
    Sponsored by:   Serenity Cybersecurity, LLC
---
 lang/ldc/Makefile | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/lang/ldc/Makefile b/lang/ldc/Makefile
index d849a451eefe..5add870b1557 100644
--- a/lang/ldc/Makefile
+++ b/lang/ldc/Makefile
@@ -15,8 +15,7 @@ LICENSE=	BSD3CLAUSE
 ONLY_FOR_ARCHS=	amd64
 ONLY_FOR_ARCHS_REASON=	The bootstrap compiler is provided only for x86_64
 
-LIB_DEPENDS=	libconfig.so:devel/libconfig \
-		libgphobos.so:lang/gcc${_GCC_VER}
+LIB_DEPENDS=	libconfig.so:devel/libconfig
 
 USES=		llvm:lib,run ninja cmake:insource pkgconfig
 
@@ -26,8 +25,6 @@ USES=		llvm:lib,run ninja cmake:insource pkgconfig
 
 USE_LDCONFIG=	yes
 
-_GCC_VER=	11
-
 CFLAGS+=	-fPIC
 
 CMAKE_ARGS+=	-DLDC_INSTALL_PREFIX="${PREFIX}" \