community/gdal: possible fix for it searching for unavailable java on riscv64

This commit is contained in:
Bart Ribbers 2021-11-16 17:54:25 +01:00
parent 5b809b6c2d
commit 3fa626dd80

View File

@ -63,9 +63,9 @@ source="
20-userfaultfd-detection.patch
"
# Optional dependency netcdf-dev is not available on mips and s390x
# Optional dependency netcdf-dev is not available on s390x
case "$CARCH" in
mips*|s390x) ;;
s390x) ;;
*) makedepends="$makedepends netcdf-dev" ;;
esac
@ -100,8 +100,8 @@ build() {
--with-cpp14 \
--with-dods-root=/usr \
--with-poppler \
--with-mysql \
$_with_java
$_with_java \
--with-mysql
make
cd "$builddir/swig/python"