mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-28 10:08:24 +00:00
java/openjdk17: use java/bootstrap-openjdk17 on powerpc64 elfv2
This commit is contained in:
parent
fe26440b8f
commit
9089fb036d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user