From a2579a6f02c0a1ac8b0a3ea1b5371a5cc270e6a8 Mon Sep 17 00:00:00 2001 From: Leah Neukirchen Date: Sat, 10 Aug 2019 17:57:48 +0200 Subject: [PATCH] z3: fix build. --- srcpkgs/z3/patches/ocaml.patch | 12 ++++++++++++ srcpkgs/z3/template | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 srcpkgs/z3/patches/ocaml.patch diff --git a/srcpkgs/z3/patches/ocaml.patch b/srcpkgs/z3/patches/ocaml.patch new file mode 100644 index 00000000000..a6ea181752d --- /dev/null +++ b/srcpkgs/z3/patches/ocaml.patch @@ -0,0 +1,12 @@ +Does not use ocamlfind, so this fails on nums.cmxa. + +--- scripts/mk_project.py.orig ++++ scripts/mk_project.py +@@ -101,7 +101,6 @@ + add_c_example('maxsat') + add_dotnet_example('dotnet_example', 'dotnet') + add_java_example('java_example', 'java') +- add_ml_example('ml_example', 'ml') + add_z3py_example('py_example', 'python') + return API_files + diff --git a/srcpkgs/z3/template b/srcpkgs/z3/template index ccd40cf932f..3173c97b918 100644 --- a/srcpkgs/z3/template +++ b/srcpkgs/z3/template @@ -1,7 +1,7 @@ # Template file for 'z3' pkgname=z3 version=4.8.5 -revision=2 +revision=3 wrksrc="${pkgname}-Z3-${version}" build_style=configure configure_args="--prefix=/usr -g --python $(vopt_if ocaml --ml)"