diff --git a/srcpkgs/z3/template b/srcpkgs/z3/template index 5c24bec533b..656527da3a9 100644 --- a/srcpkgs/z3/template +++ b/srcpkgs/z3/template @@ -1,6 +1,6 @@ # Template file for 'z3' pkgname=z3 -version=4.12.5 +version=4.12.6 revision=1 build_style=configure configure_args="--prefix=/usr -g --python $(vopt_if ocaml --ml)" @@ -14,7 +14,7 @@ maintainer="Leah Neukirchen " license="MIT" homepage="https://github.com/Z3Prover/z3" distfiles="https://github.com/Z3Prover/z3/archive/z3-${version}.tar.gz" -checksum=70e211e0a8e77febccc51865e45111066f623356a4ef0b527c3597362bc6db72 +checksum=9e46a1260ea26c441a1ad6faf378bf911ee9ffd110868867b4b2f2e3c7d2200e build_options="ocaml" desc_option_ocaml="Enable support for OCaml bindings" @@ -23,7 +23,9 @@ shlib_provides="libz3.so" subpackages="$(vopt_if ocaml z3-ocaml)" if [ -z "$CROSS_BUILD" ]; then - build_options_default="ocaml" + case "$XBPS_TARGET_MACHINE" in + x86_64*|aarch64*|riscv64*) build_options_default="ocaml" + esac fi do_check() {