1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00

java/openjdk17: enable on powerpc64

While here, sort ONLY_FOR_ARCHS.
This commit is contained in:
Piotr Kubaj 2021-09-30 22:19:01 +00:00
parent 3e3f361ff9
commit 225ed0ac76

View File

@ -9,7 +9,7 @@ COMMENT= Java Development Kit ${JDK_MAJOR_VERSION}
LICENSE= GPLv2 LICENSE= GPLv2
ONLY_FOR_ARCHS= amd64 aarch64 powerpc64le ONLY_FOR_ARCHS= aarch64 amd64 powerpc64 powerpc64le
BUILD_DEPENDS= zip:archivers/zip \ BUILD_DEPENDS= zip:archivers/zip \
autoconf>0:devel/autoconf \ autoconf>0:devel/autoconf \
@ -140,10 +140,7 @@ CONFIGURE_ARGS+= --disable-warnings-as-errors
.if ${ARCH} == aarch64 || (defined(PPC_ABI) && ${PPC_ABI} == ELFv1) .if ${ARCH} == aarch64 || (defined(PPC_ABI) && ${PPC_ABI} == ELFv1)
CONFIGURE_ARGS+= --disable-dtrace CONFIGURE_ARGS+= --disable-dtrace
.endif .endif
.if (defined(PPC_ABI) && ${PPC_ABI} == ELFv2) .if ${ARCH} != amd64 && !${ARCH:Mpowerpc64*}
CONFIGURE_ARGS+= --disable-precompiled-headers
.endif
.if ${ARCH} != amd64 && ${ARCH} != powerpc64le
CONFIGURE_ARGS+= --enable-aot=no CONFIGURE_ARGS+= --enable-aot=no
.endif .endif
.if ${ARCH} == powerpc64 && ${OSREL:C/\.[0-9]//} == 12 .if ${ARCH} == powerpc64 && ${OSREL:C/\.[0-9]//} == 12