commit:     5f25458fdc27eaad996a539a9c55231f958cf7b2
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Fri Oct  1 19:00:55 2021 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Fri Oct  1 19:00:55 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f25458f

dev-ml/opam-state: 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-state/opam-state-2.0.8-r1.ebuild | 4 ++++
 dev-ml/opam-state/opam-state-2.0.8.ebuild    | 1 +
 dev-ml/opam-state/opam-state-2.0.9.ebuild    | 4 ++++
 3 files changed, 9 insertions(+)

diff --git a/dev-ml/opam-state/opam-state-2.0.8-r1.ebuild 
b/dev-ml/opam-state/opam-state-2.0.8-r1.ebuild
index cf9ab72c819..cde1ebca6cb 100644
--- a/dev-ml/opam-state/opam-state-2.0.8-r1.ebuild
+++ b/dev-ml/opam-state/opam-state-2.0.8-r1.ebuild
@@ -36,3 +36,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-state/opam-state-2.0.8.ebuild 
b/dev-ml/opam-state/opam-state-2.0.8.ebuild
index 48e053b3e9c..9e492c92294 100644
--- a/dev-ml/opam-state/opam-state-2.0.8.ebuild
+++ b/dev-ml/opam-state/opam-state-2.0.8.ebuild
@@ -17,6 +17,7 @@ IUSE="+ocamlopt"
 RESTRICT="test"
 
 RDEPEND="
+       <dev-lang/ocaml-4.12
        dev-ml/re:=
        dev-ml/opam-file-format:=
        ~dev-ml/opam-repository-${PV}:=

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

Reply via email to