git: c2f3b7d631f9 - main - graphics/mesa: Drop check for ld and lld

From: Emmanuel Vadot <manu_at_FreeBSD.org>
Date: Wed, 19 Jun 2024 13:21:46 UTC
The branch main has been updated by manu:

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

commit c2f3b7d631f9fe9b6187f71df2d28bf4a389ab75
Author:     Emmanuel Vadot <manu@FreeBSD.org>
AuthorDate: 2024-06-19 08:06:19 +0000
Commit:     Emmanuel Vadot <manu@FreeBSD.org>
CommitDate: 2024-06-19 13:21:19 +0000

    graphics/mesa: Drop check for ld and lld
    
    We stopped shipping bfd.ld a long time ago so we can drop this.
    
    No functional changes intented.
    
    Sponsored by:   Beckhoff Automation GmbH & Co. KG
---
 graphics/mesa-dri/Makefile.common | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/graphics/mesa-dri/Makefile.common b/graphics/mesa-dri/Makefile.common
index 35357b2d145d..43e549a2a072 100644
--- a/graphics/mesa-dri/Makefile.common
+++ b/graphics/mesa-dri/Makefile.common
@@ -40,13 +40,6 @@ LIB_DEPENDS+=	libdrm.so:graphics/libdrm \
 USES+=		compiler:c++11-lib bison meson pathfix pkgconfig \
 		python:build shebangfix tar:xz
 
-.if ${/usr/bin/ld:L:tA} != /usr/bin/ld.lld
-# --build-id isn't supported by old GNU ld.bfd in base
-# Also ld.bfd have problems that seems related to --as-needed
-USE_BINUTILS=		yes
-LDFLAGS+=		-B${LOCALBASE}/bin
-.endif
-
 # only have one port to check with portscout.
 .if ${PORTNAME} != mesa-dri
 PORTSCOUT=	ignore:1