coq: rebuild with new ocaml-zarith and dune, drop hack.

This commit is contained in:
Leah Neukirchen 2022-02-18 15:55:01 +01:00
parent b5139c5dae
commit 903ea394b7

View file

@ -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
}