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)"