libgdal: do not depend on armadillo on ppc32

This commit is contained in:
q66 2022-11-08 17:44:20 +00:00
parent 693229f70c
commit ddb9e22143
1 changed files with 5 additions and 1 deletions

View File

@ -26,7 +26,11 @@ subpackages="libgdal-devel libgdal-tools libgdal-python3"
python_version=3
if [ -z "$CROSS_BUILD" ]; then
makedepends+=" hdf5-devel armadillo-devel"
makedepends+=" hdf5-devel"
case "$XBPS_TARGET_MACHINE" in
ppc|ppc-musl) ;;
*) makedepends+=" armadillo-devel";;
esac
fi
# "error: static assertion failed: OFF_T should be 64 bits !"