Skip to content
Snippets Groups Projects
Commit a44c3094 authored by J0WI's avatar J0WI Committed by Bart Ribbers
Browse files

community/gdal: disabling java support on riscv64

parent 3e634a02
1 merge request!27714community/gdal: disabling java support on riscv64
Pipeline #100647 canceled
......@@ -81,7 +81,9 @@ esac
# Optional dependency java-jdk is not available on riscv64
_with_java=""
case "$CARCH" in
riscv64) ;;
riscv64)
_with_java="no"
;;
*)
makedepends="$makedepends apache-ant java-jdk"
subpackages="$subpackages java-$pkgname:_java"
......@@ -108,7 +110,7 @@ build() {
cd "$builddir/swig/python"
python3 setup.py build
if [ -z "$_with_java" ]; then
if [ "$_with_java" != "no" ]; then
cd "$builddir/swig/java"
make
fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment