ocaml-stdcompat: rebuild for ocaml-5.1.1.

This commit is contained in:
Leah Neukirchen 2022-12-21 22:21:38 +01:00
parent 870dacf792
commit 8d19f1813a
1 changed files with 9 additions and 1 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'ocaml-stdcompat'
pkgname=ocaml-stdcompat
version=19
revision=1
revision=2
build_style=gnu-configure
configure_args="--libdir=/usr/lib/ocaml"
hostmakedepends="automake"
@ -15,6 +15,14 @@ checksum=0ca4067789e720de923e5b3a85c03fd89bdcee2bd836978c53aad8b157350a55
nocross=yes
disable_parallel_build=yes
disable_parallel_build=yes
pre_configure() {
if ! command -v ocamlc.opt >/dev/null; then
sed -i 's/AC_SUBST(\[OCAMLOPT\], \[\["$OCAMLFIND ocamlopt"\]\])//' configure.ac
fi
}
post_install() {
vlicense COPYING LICENSE
}