commit: a18ecb8b03acd2c557c2c11303af3a6d291ce398
Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 1 18:08:36 2021 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Fri Oct 1 18:08:36 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a18ecb8b
dev-ml/opam-format: 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-format/opam-format-2.0.8-r2.ebuild | 1 +
dev-ml/opam-format/opam-format-2.0.8-r3.ebuild | 4 ++++
dev-ml/opam-format/opam-format-2.0.9.ebuild | 4 ++++
3 files changed, 9 insertions(+)
diff --git a/dev-ml/opam-format/opam-format-2.0.8-r2.ebuild
b/dev-ml/opam-format/opam-format-2.0.8-r2.ebuild
index 54b3b0ce46d..eb552240221 100644
--- a/dev-ml/opam-format/opam-format-2.0.8-r2.ebuild
+++ b/dev-ml/opam-format/opam-format-2.0.8-r2.ebuild
@@ -19,6 +19,7 @@ KEYWORDS="amd64 arm arm64 ppc ppc64 x86"
IUSE="+ocamlopt"
RDEPEND="
+ <dev-lang/ocaml-4.12
~dev-ml/opam-core-${PV}:=
dev-ml/re:=
dev-ml/opam-file-format:=
diff --git a/dev-ml/opam-format/opam-format-2.0.8-r3.ebuild
b/dev-ml/opam-format/opam-format-2.0.8-r3.ebuild
index ace83b9a6ae..ac4e8512b38 100644
--- a/dev-ml/opam-format/opam-format-2.0.8-r3.ebuild
+++ b/dev-ml/opam-format/opam-format-2.0.8-r3.ebuild
@@ -40,3 +40,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-format/opam-format-2.0.9.ebuild
b/dev-ml/opam-format/opam-format-2.0.9.ebuild
index ace83b9a6ae..ac4e8512b38 100644
--- a/dev-ml/opam-format/opam-format-2.0.9.ebuild
+++ b/dev-ml/opam-format/opam-format-2.0.9.ebuild
@@ -40,3 +40,7 @@ src_prepare() {
(flags (:standard -warn-error -3-9-33))))
EOF
}
+
+src_compile() {
+ dune build @install --profile release || die
+}