summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2021-10-01 21:09:32 +0200
committerAlfredo Tupone <tupone@gentoo.org>2021-10-01 21:09:32 +0200
commite5392114fd49759eb52b3b03c2c89798c2942ad0 (patch)
tree740d2d3d0d5d209afc47c1e3137aeb0d9043558e /dev-ml/opam
parentdev-ml/opam-client: build with ocaml-4.12 (diff)
downloadgentoo-e5392114fd49759eb52b3b03c2c89798c2942ad0.tar.gz
gentoo-e5392114fd49759eb52b3b03c2c89798c2942ad0.tar.bz2
gentoo-e5392114fd49759eb52b3b03c2c89798c2942ad0.zip
dev-ml/opam: build with ocaml-4.12
Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Diffstat (limited to 'dev-ml/opam')
-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
+}