java/openjdk17: allow bootstrapping on powerpc64le with bootstrap-openjdk17
This commit is contained in:
parent
4b0783d853
commit
69cdd4b12e
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue