git: 5e72aec75e8c - main - lang/gnat1?: fix EXTRACT_CMD on arm64

From: Thierry Thomas <thierry_at_FreeBSD.org>
Date: Mon, 16 Jun 2025 15:44:48 UTC
The branch main has been updated by thierry:

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

commit 5e72aec75e8c4f0d6352c4189e7a79307d06fd69
Author:     Thierry Thomas <thierry@FreeBSD.org>
AuthorDate: 2025-06-16 15:37:44 +0000
Commit:     Thierry Thomas <thierry@FreeBSD.org>
CommitDate: 2025-06-16 15:44:46 +0000

    lang/gnat1?: fix EXTRACT_CMD on arm64
    
    Patch borrowed from
    https://cgit.freebsd.org/ports/commit/?id=5b4cadb23cbc2db23d7e2a40c16abd3e862fcf62
    
    PR:             286895
    Reported by:    agh (at) riseup.net
---
 lang/gnat12/Makefile | 1 +
 lang/gnat13/Makefile | 1 +
 2 files changed, 2 insertions(+)

diff --git a/lang/gnat12/Makefile b/lang/gnat12/Makefile
index 4b609e5573f6..35175ded2f43 100644
--- a/lang/gnat12/Makefile
+++ b/lang/gnat12/Makefile
@@ -141,6 +141,7 @@ PLIST_SUB+=	AMD64="@comment " \
 		X86=" " \
 		64BIT="@comment "
 .elif ${ARCH} == aarch64
+EXTRACT_CMD=    ${SETENV} LC_ALL=en_US.UTF-8 /usr/bin/bsdtar
 PLIST_SUB+=	X86="@comment " \
 		AMD64="@comment " \
 		AARCH64=" " \
diff --git a/lang/gnat13/Makefile b/lang/gnat13/Makefile
index 87741b23030e..643844174918 100644
--- a/lang/gnat13/Makefile
+++ b/lang/gnat13/Makefile
@@ -129,6 +129,7 @@ PLIST_SUB+=	32BITS=""
 .  endif
 .endif
 .if ${ARCH} == aarch64
+EXTRACT_CMD=    ${SETENV} LC_ALL=en_US.UTF-8 /usr/bin/bsdtar
 PLIST_SUB+=	ARM="" \
 		NOARM="@comment "
 .else