git: a01528793ea6 - main - bsd.port.mk: remove unused base system binutils support

From: Ed Maste <emaste_at_FreeBSD.org>
Date: Tue, 13 Aug 2024 15:34:16 UTC
The branch main has been updated by emaste:

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

commit a01528793ea62bf2d9cff8104a06df7319b825f7
Author:     Ed Maste <emaste@FreeBSD.org>
AuthorDate: 2024-06-19 12:39:01 +0000
Commit:     Ed Maste <emaste@FreeBSD.org>
CommitDate: 2024-08-13 15:33:25 +0000

    bsd.port.mk: remove unused base system binutils support
    
    GNU binutils 2.17.50 was removed from the base system (for all archs)
    prior to FreeBSD 13.0.  Remove ports support for base system ld.bfd.
    
    Reviewed by:    portmgr (mat)
    Sponsored by:   The FreeBSD Foundation
    Differential Revision: https://reviews.freebsd.org/D46015
---
 Mk/bsd.port.mk | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk
index 3eb70709fd8c..84af28f9ee9d 100644
--- a/Mk/bsd.port.mk
+++ b/Mk/bsd.port.mk
@@ -1871,15 +1871,7 @@ PKG_DEPENDS+=	${LOCALBASE}/sbin/pkg:${PKG_ORIGIN}
 .    if defined(LLD_UNSAFE) && ${/usr/bin/ld:L:tA} == /usr/bin/ld.lld
 LDFLAGS+=	-fuse-ld=bfd
 BINARY_ALIAS+=	ld=${LD}
-.      if !defined(USE_BINUTILS)
-.        if exists(/usr/bin/ld.bfd)
-LD=	/usr/bin/ld.bfd
-CONFIGURE_ENV+=	LD=${LD}
-MAKE_ENV+=	LD=${LD}
-.        else
 USE_BINUTILS=	yes
-.        endif
-.      endif
 .    endif
 
 .    if defined(USE_BINUTILS) && !defined(DISABLE_BINUTILS)