git: debc63ce73ac - 2025Q2 - math/eispack: fix build on armv7

From: Robert Clausecker <fuz_at_FreeBSD.org>
Date: Sun, 25 May 2025 00:50:07 UTC
The branch 2025Q2 has been updated by fuz:

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

commit debc63ce73ac8bfe6ee32875dea1e04a51c20214
Author:     Robert Clausecker <fuz@FreeBSD.org>
AuthorDate: 2025-05-22 13:18:21 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2025-05-25 00:49:43 +0000

    math/eispack: fix build on armv7
    
    GNU ld supports neither -z relro nor -z norelro on armv7.
    Unfortunately <bsd.lib.mk> insists on adding either to the link.
    Work around this issue by using base ld for the link.
    
    MFH:            2025Q2
    (cherry picked from commit 4b940a90490f2ec8c0f0108e655abc6f7faac276)
---
 math/eispack/Makefile | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/math/eispack/Makefile b/math/eispack/Makefile
index 17bf3c421805..398e09e90b97 100644
--- a/math/eispack/Makefile
+++ b/math/eispack/Makefile
@@ -56,4 +56,8 @@ post-extract:
 	@(cd ${_DISTDIR}; ${CP} ${SRCS} ${WRKSRC})
 	${CP} ${FILESDIR}/Makefile.lib ${WRKSRC}/Makefile
 
+# ld.bfd supports neither -z relro nor -z norelro on armv7
+BINUTILS_NO_MAKE_ENV_armv7=	LD
+BINUTILS_NO_MAKE_ENV=	${BINUTILS_NO_MAKE_ENV_${ARCH}}
+
 .include <bsd.port.mk>