aboutsummaryrefslogtreecommitdiff
path: root/java
diff options
context:
space:
mode:
authorPiotr Kubaj <pkubaj@FreeBSD.org>2021-12-20 01:56:41 +0000
committerPiotr Kubaj <pkubaj@FreeBSD.org>2021-12-20 01:56:41 +0000
commit9089fb036dc739eb5a132a4745b5d69df0c1f9e0 (patch)
tree1d4106a9668401ce51e21637bfd2e5b8074ae31c /java
parentfe26440b8f99a8dc5c235363c82dacebbf70d845 (diff)
downloadports-9089fb036dc739eb5a132a4745b5d69df0c1f9e0.tar.gz
ports-9089fb036dc739eb5a132a4745b5d69df0c1f9e0.zip
java/openjdk17: use java/bootstrap-openjdk17 on powerpc64 elfv2
Diffstat (limited to 'java')
-rw-r--r--java/openjdk17/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/java/openjdk17/Makefile b/java/openjdk17/Makefile
index 078431d0c568..7bff8737c992 100644
--- a/java/openjdk17/Makefile
+++ b/java/openjdk17/Makefile
@@ -105,7 +105,7 @@ JDK_BUILD_TYPE= release
.include <bsd.port.pre.mk>
BOOTSTRAP_JDKS= ${LOCALBASE}/openjdk17
-.if ${ARCH} == aarch64 || ${ARCH} == amd64
+.if ${ARCH} == aarch64 || ${ARCH} == amd64 || (defined(PPC_ABI) && ${PPC_ABI} == ELFv2)
BOOTSTRAP_JDKS+= ${LOCALBASE}/bootstrap-openjdk17
.endif
BOOTSTRAP_JDKS+= ${LOCALBASE}/openjdk16
@@ -119,7 +119,7 @@ BOOTSTRAPJDKDIR= ${BJDK}
# if no valid jdk found, set dependency
.if !defined(BOOTSTRAPJDKDIR)
-. if ${ARCH} == aarch64 || ${ARCH} == amd64
+. if ${ARCH} == aarch64 || ${ARCH} == amd64 || (defined(PPC_ABI) && ${PPC_ABI} == ELFv2)
BOOTSTRAPJDKDIR?= ${LOCALBASE}/bootstrap-openjdk17
BUILD_DEPENDS+= ${BOOTSTRAPJDKDIR}/bin/javac:java/bootstrap-openjdk17
. else