dev-ml/num: fix tests

Closes: https://bugs.gentoo.org/775146
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2021-03-09 22:08:07 +00:00
parent 0207eb8131
commit 346a94086d
+6 -1
View File
@@ -3,7 +3,7 @@
EAPI=7
inherit dune findlib
inherit findlib
DESCRIPTION="Library for arbitrary-precision integer and rational arithmetic"
HOMEPAGE="https://github.com/ocaml/num"
@@ -18,6 +18,11 @@ src_compile() {
emake CFLAGS="${CFLAGS}"
}
src_test() {
# Override needed to not use dune
emake test
}
src_install() {
findlib_src_preinst
OCAMLPATH="${OCAMLFIND_DESTDIR}" emake install DESTDIR="${D}"