commit: e5392114fd49759eb52b3b03c2c89798c2942ad0 Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org> AuthorDate: Fri Oct 1 19:09:32 2021 +0000 Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org> CommitDate: Fri Oct 1 19:09:32 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e5392114
dev-ml/opam: 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/opam-2.0.8-r1.ebuild | 1 + dev-ml/opam/opam-2.0.8-r2.ebuild | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/dev-ml/opam/opam-2.0.8-r1.ebuild b/dev-ml/opam/opam-2.0.8-r1.ebuild index 6fd893a1ef1..d380dc8772c 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 e882aefd038..bb7dff8d408 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 +}