From b5139c5dae61e7b90c9ef16a4dbb5fbe6417a7c9 Mon Sep 17 00:00:00 2001 From: Leah Neukirchen Date: Fri, 18 Feb 2022 15:51:37 +0100 Subject: [PATCH] ocaml-zarith: don't use ocaml-findlib. It installs the stublibs into the libdir, not where dune can find them... --- srcpkgs/ocaml-zarith/template | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/srcpkgs/ocaml-zarith/template b/srcpkgs/ocaml-zarith/template index e3bb17fa7e5..d6c12772723 100644 --- a/srcpkgs/ocaml-zarith/template +++ b/srcpkgs/ocaml-zarith/template @@ -1,12 +1,12 @@ # Template file for 'ocaml-zarith' pkgname=ocaml-zarith version=1.12 -revision=2 +revision=3 wrksrc="Zarith-release-${version}" build_style=configure make_check_target="tests" hostmakedepends="perl" -makedepends="gmp-devel ocaml ocaml-findlib" +makedepends="gmp-devel ocaml" depends="gmp-devel" short_desc="OCaml operations over arbitrary-precision integers" maintainer="Leah Neukirchen " @@ -20,6 +20,6 @@ disable_parallel_build=yes post_configure() { sed -i 's/INSTALLDIR=/&$(DESTDIR)/' Makefile } -pre_install() { - vmkdir usr/lib/ocaml +post_install() { + vcopy META usr/lib/ocaml/zarith }