git: 69cdd4b12e48 - main - java/openjdk17: allow bootstrapping on powerpc64le with bootstrap-openjdk17
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 20 Dec 2021 12:47:18 UTC
The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=69cdd4b12e48a9e2509ffb2e8f2139b1e0f1bec9 commit 69cdd4b12e48a9e2509ffb2e8f2139b1e0f1bec9 Author: Piotr Kubaj <pkubaj@FreeBSD.org> AuthorDate: 2021-12-20 12:45:04 +0000 Commit: Piotr Kubaj <pkubaj@FreeBSD.org> CommitDate: 2021-12-20 12:45:04 +0000 java/openjdk17: allow bootstrapping on powerpc64le with bootstrap-openjdk17 --- java/openjdk17/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/java/openjdk17/Makefile b/java/openjdk17/Makefile index 7bff8737c992..52366c2a60b5 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 || (defined(PPC_ABI) && ${PPC_ABI} == ELFv2) +.if ${ARCH} == aarch64 || ${ARCH} == amd64 || (defined(PPC_ABI) && ${PPC_ABI} == ELFv2) || ${ARCH} == powerpc64le 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 || (defined(PPC_ABI) && ${PPC_ABI} == ELFv2) +. if ${ARCH} == aarch64 || ${ARCH} == amd64 || (defined(PPC_ABI) && ${PPC_ABI} == ELFv2) || ${ARCH} == powerpc64le BOOTSTRAPJDKDIR?= ${LOCALBASE}/bootstrap-openjdk17 BUILD_DEPENDS+= ${BOOTSTRAPJDKDIR}/bin/javac:java/bootstrap-openjdk17 . else