commit:     38ae9203ad05bc80e0172feaf162a9f6e8d92ad5
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Fri Oct  1 18:49:12 2021 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Fri Oct  1 18:49:12 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=38ae9203

dev-ml/opam-repository: build with ocaml-4.12

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>

 dev-ml/opam-repository/opam-repository-2.0.8-r1.ebuild | 4 ++++
 dev-ml/opam-repository/opam-repository-2.0.8.ebuild    | 1 +
 dev-ml/opam-repository/opam-repository-2.0.9.ebuild    | 4 ++++
 3 files changed, 9 insertions(+)

diff --git a/dev-ml/opam-repository/opam-repository-2.0.8-r1.ebuild 
b/dev-ml/opam-repository/opam-repository-2.0.8-r1.ebuild
index 77365ae1bce..7715c1f74d1 100644
--- a/dev-ml/opam-repository/opam-repository-2.0.8-r1.ebuild
+++ b/dev-ml/opam-repository/opam-repository-2.0.8-r1.ebuild
@@ -37,3 +37,7 @@ src_prepare() {
                  (flags (:standard -warn-error -3-9-33))))
        EOF
 }
+
+src_compile() {
+       dune build @install --profile release || die
+}

diff --git a/dev-ml/opam-repository/opam-repository-2.0.8.ebuild 
b/dev-ml/opam-repository/opam-repository-2.0.8.ebuild
index 632b71026c6..4bfd5662c25 100644
--- a/dev-ml/opam-repository/opam-repository-2.0.8.ebuild
+++ b/dev-ml/opam-repository/opam-repository-2.0.8.ebuild
@@ -17,6 +17,7 @@ IUSE="+ocamlopt"
 RESTRICT="test"
 
 RDEPEND="
+       <dev-lang/ocaml-4.12
        ~dev-ml/opam-format-${PV}:=
        dev-ml/re:=
        dev-ml/dose3:=

diff --git a/dev-ml/opam-repository/opam-repository-2.0.9.ebuild 
b/dev-ml/opam-repository/opam-repository-2.0.9.ebuild
index 77365ae1bce..7715c1f74d1 100644
--- a/dev-ml/opam-repository/opam-repository-2.0.9.ebuild
+++ b/dev-ml/opam-repository/opam-repository-2.0.9.ebuild
@@ -37,3 +37,7 @@ src_prepare() {
                  (flags (:standard -warn-error -3-9-33))))
        EOF
 }
+
+src_compile() {
+       dune build @install --profile release || die
+}

Reply via email to