git: f16c9201eb02 - main - java/openjdk11: drop ELFv1 support

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

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

commit f16c9201eb020462d4342660fce969456acac73d
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2024-01-04 18:32:57 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2024-01-05 21:01:01 +0000

    java/openjdk11: drop ELFv1 support
---
 java/openjdk11/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/java/openjdk11/Makefile b/java/openjdk11/Makefile
index 0dd0a8fc69e3..9fee2af307b0 100644
--- a/java/openjdk11/Makefile
+++ b/java/openjdk11/Makefile
@@ -163,10 +163,10 @@ CXX=		${LOCALBASE}/bin/clang++${LLVM_VER}
 .if ${ARCH} == aarch64 || ${ARCH:Marmv*} || ${ARCH:Mpowerpc64*}
 CONFIGURE_ARGS+=	--disable-warnings-as-errors
 .endif
-.if ${ARCH} == aarch64 || ${ARCH:Marmv*} || (defined(PPC_ABI) && ${PPC_ABI} == ELFv1)
+.if ${ARCH} == aarch64 || ${ARCH:Marmv*}
 CONFIGURE_ARGS+=	--disable-dtrace
 .endif
-.if (defined(PPC_ABI) && ${PPC_ABI} == ELFv2) || ${ARCH} == powerpc64le
+.if ${ARCH:Mpowerpc64*}
 CONFIGURE_ARGS+=	--disable-precompiled-headers
 .endif
 .if ${ARCH} != amd64