coq: rebuild with new ocaml-zarith and dune, drop hack.
This commit is contained in:
parent
b5139c5dae
commit
903ea394b7
1 changed files with 5 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'coq'
|
||||
pkgname=coq
|
||||
version=8.15.0
|
||||
revision=1
|
||||
revision=2
|
||||
hostmakedepends="camlp5 dune ocaml ocaml-findlib ocaml-num ocaml-zarith"
|
||||
short_desc="Proof assistant written in OCaml"
|
||||
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
||||
|
@ -17,13 +17,15 @@ case "$XBPS_TARGET_MACHINE" in
|
|||
ppc*) broken="R_PPC_REL24 relocation out of range";;
|
||||
esac
|
||||
|
||||
post_patch() {
|
||||
vsed -i -e 's/which/command -v/g' dev/tools/make_git_revision.sh
|
||||
}
|
||||
|
||||
do_configure() {
|
||||
./configure -prefix /usr -coqide no
|
||||
}
|
||||
|
||||
do_build() {
|
||||
# can't find dllzarith.so else; also disable fatal deprecations
|
||||
export OCAMLPARAM='I=/usr/lib/ocaml/zarith,_,w=-D'
|
||||
dune build --display=short -p coq-core,coq-stdlib
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue