git: 04a50fdffdfc - main - sysutils/slurm-wlm: add correct linker emulation for aarch64

From: Robert Clausecker <fuz_at_FreeBSD.org>
Date: Mon, 06 May 2024 19:12:04 UTC
The branch main has been updated by fuz:

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

commit 04a50fdffdfcf12183556b691aa138ef7a173d59
Author:     Robert Clausecker <fuz@FreeBSD.org>
AuthorDate: 2024-05-05 17:20:52 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2024-05-06 19:11:21 +0000

    sysutils/slurm-wlm: add correct linker emulation for aarch64
    
    Approved by:    portmgr (blanket)
    MFH:            2024Q2
---
 sysutils/slurm-wlm/Makefile | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/sysutils/slurm-wlm/Makefile b/sysutils/slurm-wlm/Makefile
index 88eae618e62e..3355f4090c56 100644
--- a/sysutils/slurm-wlm/Makefile
+++ b/sysutils/slurm-wlm/Makefile
@@ -150,6 +150,9 @@ pre-configure:
 .elif ${ARCH} == powerpc64
 	${FIND} ${LLD2FIX:C|^|${WRKSRC}/src/|} -name Makefile.in | ${XARGS}	\
 		${REINPLACE_CMD} -e 's|-r -o|-r -m elf64ppc -o|'
+.elif ${ARCH} == aarch64
+	${FIND} ${LLD2FIX:C|^|${WRKSRC}/src/|} -name Makefile.in | ${XARGS}	\
+		${REINPLACE_CMD} -e 's|-r -o|-r -m aarch64elf -o|'
 .else
 	${FIND} ${LLD2FIX:C|^|${WRKSRC}/src/|} -name Makefile.in | ${XARGS}	\
 		${REINPLACE_CMD} -e 's|-r -o|-r -m elf_${ARCH} -o|'