git: 3250ebd7afb5 - main - lang/gcc12: drop ELFv1 support

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

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

commit 3250ebd7afb568ba91b56de9dec722de6bd9e546
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2024-01-05 18:40:12 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2024-01-05 21:04:07 +0000

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

diff --git a/lang/gcc12/Makefile b/lang/gcc12/Makefile
index 54f8ce6eba02..5186acf22fd0 100644
--- a/lang/gcc12/Makefile
+++ b/lang/gcc12/Makefile
@@ -79,7 +79,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