openjdk17: update to 17.0.3+7.
also disable for armv5 and 6, the arch is not supported
This commit is contained in:
parent
91fd35d2b4
commit
8af2ed2fc4
1 changed files with 4 additions and 8 deletions
|
@ -1,6 +1,6 @@
|
|||
# Template file for 'openjdk17'
|
||||
pkgname=openjdk17
|
||||
version=17.0.3+5
|
||||
version=17.0.3+7
|
||||
revision=1
|
||||
_gtest_ver=1.8.1
|
||||
_java_ver="${version%%.*}"
|
||||
|
@ -44,7 +44,7 @@ license="GPL-2.0-only WITH Classpath-exception-2.0"
|
|||
homepage="http://openjdk.java.net/"
|
||||
distfiles="https://github.com/openjdk/jdk${_java_ver}u/archive/jdk-${version}.tar.gz
|
||||
https://github.com/google/googletest/archive/refs/tags/release-${_gtest_ver}.tar.gz"
|
||||
checksum="a557f4d2972bbbbcdc12fa7e167ad60b4ee1461a9bc7ad259a003172c34e6331
|
||||
checksum="22575340d080a396442658356583d9c7dc0c44cefa52842fbfcf23eef23c39a0
|
||||
9bf1fe5182a604b4135edc1a425ae356c9ad15e9b23f9f12a02e80184c3a249c"
|
||||
provides="java-environment-${version}_1"
|
||||
patch_args="-Np1 --directory=$build_wrksrc"
|
||||
|
@ -53,10 +53,11 @@ patch_args="-Np1 --directory=$build_wrksrc"
|
|||
disable_parallel_build=yes
|
||||
build_options="docs"
|
||||
|
||||
# no hotspot JIT for ppc32
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
ppc64*) ;;
|
||||
# no hotspot JIT for ppc32
|
||||
ppc*) _use_zero=yes ;;
|
||||
armv[56]*) broken="Unsupported architecture" ;;
|
||||
esac
|
||||
|
||||
if [ -n "$_use_zero" ]; then
|
||||
|
@ -81,11 +82,6 @@ else
|
|||
fi
|
||||
|
||||
alternatives="
|
||||
java:/usr/bin/java:/${_jdk_home}/bin/java
|
||||
java:/usr/bin/jfr:/${_jdk_home}/bin/jfr
|
||||
java:/usr/bin/keytool:/${_jdk_home}/bin/keytool
|
||||
java:/usr/bin/rmiregistry:/${_jdk_home}/bin/rmiregistry
|
||||
|
||||
jdk:/usr/bin/jar:/${_jdk_home}/bin/jar
|
||||
jdk:/usr/bin/jarsigner:/${_jdk_home}/bin/jarsigner
|
||||
jdk:/usr/bin/java:/${_jdk_home}/bin/java
|
||||
|
|
Loading…
Reference in a new issue