z3: fix build.
This commit is contained in:
parent
efe260cbbc
commit
a2579a6f02
2 changed files with 13 additions and 1 deletions
12
srcpkgs/z3/patches/ocaml.patch
Normal file
12
srcpkgs/z3/patches/ocaml.patch
Normal file
|
@ -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
|
||||
|
|
@ -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)"
|
||||
|
|
Loading…
Reference in a new issue