git: 51d9f23280d1 - main - java/openjdk21: remove ELFv1 support

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

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

commit 51d9f23280d128f473e26e9b01184f873be6c912
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2024-01-04 16:07:51 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2024-01-05 21:00:58 +0000

    java/openjdk21: remove ELFv1 support
---
 java/openjdk21/Makefile | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/java/openjdk21/Makefile b/java/openjdk21/Makefile
index 6f05797ca0e7..fdeab8ad32f8 100644
--- a/java/openjdk21/Makefile
+++ b/java/openjdk21/Makefile
@@ -154,11 +154,8 @@ CONFIGURE_ARGS+=	--with-extra-cxxflags="${EXTRA_CFLAGS}"
 .if ${ARCH} == aarch64 || ${ARCH:Mpowerpc64*}
 CONFIGURE_ARGS+=	--disable-warnings-as-errors
 .endif
-.if ${ARCH} == aarch64 || (defined(PPC_ABI) && ${PPC_ABI} == ELFv1)
-CONFIGURE_ARGS+=	--disable-dtrace
-.endif
 .if ${ARCH} == aarch64
-CONFIGURE_ARGS+=	--with-boot-jdk-jvmargs=-XX:-UseCompressedClassPointers
+CONFIGURE_ARGS+=	--with-boot-jdk-jvmargs=-XX:-UseCompressedClassPointers --disable-dtrace
 MAKE_ENV+=		JAVA_TOOL_OPTIONS="-XX:-UseCompressedClassPointers"
 .endif