git: ab6b94ebf3f1 - main - lang/gcc11: remove ELFv1 support

From: Piotr Kubaj <pkubaj_at_FreeBSD.org>
Date: Fri, 05 Jan 2024 21:05:05 UTC
The branch main has been updated by pkubaj:

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

commit ab6b94ebf3f19586568ce8f1992ca229a9384905
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2024-01-05 19:11:35 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2024-01-05 21:04:13 +0000

    lang/gcc11: remove ELFv1 support
---
 lang/gcc11/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lang/gcc11/Makefile b/lang/gcc11/Makefile
index f64478223d27..0297b36f653d 100644
--- a/lang/gcc11/Makefile
+++ b/lang/gcc11/Makefile
@@ -78,7 +78,7 @@ EXTRACT_CMD=    ${SETENV} LC_ALL=en_US.UTF-8 /usr/bin/bsdtar
 .if ${ARCH} == amd64
 CONFIGURE_TARGET=	x86_64-portbld-${OPSYS:tl}${OSREL}
 
-.elif defined(PPC_ABI) && ${PPC_ABI} == ELFv2
+.elif ${ARCH} == powerpc64
 CONFIGURE_ARGS+=	--with-abi=elfv2
 .endif