summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-ml/opam/opam-2.0.8-r1.ebuild1
-rw-r--r--dev-ml/opam/opam-2.0.8-r2.ebuild4
2 files changed, 5 insertions, 0 deletions
diff --git a/dev-ml/opam/opam-2.0.8-r1.ebuild b/dev-ml/opam/opam-2.0.8-r1.ebuild
index 6fd893a1ef12..d380dc8772c7 100644
--- a/dev-ml/opam/opam-2.0.8-r1.ebuild
+++ b/dev-ml/opam/opam-2.0.8-r1.ebuild
@@ -16,6 +16,7 @@ KEYWORDS="amd64 arm arm64 ppc ppc64 x86"
IUSE="+ocamlopt"
RDEPEND="
+ <dev-lang/ocaml-4.12
dev-ml/cmdliner:=
dev-ml/cudf:=
dev-ml/dose3:=
diff --git a/dev-ml/opam/opam-2.0.8-r2.ebuild b/dev-ml/opam/opam-2.0.8-r2.ebuild
index e882aefd038f..bb7dff8d408c 100644
--- a/dev-ml/opam/opam-2.0.8-r2.ebuild
+++ b/dev-ml/opam/opam-2.0.8-r2.ebuild
@@ -39,3 +39,7 @@ src_prepare() {
(flags (:standard -warn-error -3-9-33))))
EOF
}
+
+src_compile() {
+ dune build @install --profile release || die
+}