summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ml/num/num-1.4-r1.ebuild')
-rw-r--r--dev-ml/num/num-1.4-r1.ebuild7
1 files changed, 6 insertions, 1 deletions
diff --git a/dev-ml/num/num-1.4-r1.ebuild b/dev-ml/num/num-1.4-r1.ebuild
index 1221bd84c22f..1d40da0b807b 100644
--- a/dev-ml/num/num-1.4-r1.ebuild
+++ b/dev-ml/num/num-1.4-r1.ebuild
@@ -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}"