My suggestion is to drop
>=dev-lang/ocaml-4:=[ocamlopt?]
in favor of
dev-lang/ocaml:=[ocamlopt?]
ocaml-3 is out of the tree from ages. Please comments!
diff --git a/eclass/dune.eclass b/eclass/dune.eclass
index cfe81433a5bc..8ba7eef72461 100644
--- a/eclass/dune.eclass
+++ b/eclass/dune.eclass
@@ -23,31 +23,31 @@ if [[ -z ${_DUNE_ECLASS} ]]; then
_DUNE_ECLASS=1
# @ECLASS_VARIABLE: DUNE_PKG_NAME
# @PRE_INHERIT
# @DESCRIPTION:
# Sets the actual Dune package name, if different from Gentoo package name.
# Set before inheriting the eclass.
: "${DUNE_PKG_NAME:=${PN}}"
inherit edo multiprocessing
# Do not complain about CFLAGS etc since ml projects do not use them.
QA_FLAGS_IGNORED='.*'
RDEPEND="
- >=dev-lang/ocaml-4:=[ocamlopt?]
+ dev-lang/ocaml:=[ocamlopt?]
dev-ml/dune:=
"
DEPEND="${RDEPEND}"
BDEPEND="
dev-lang/ocaml
dev-ml/dune
"
# @FUNCTION: edune
# @USAGE: <arg> ...
# @DESCRIPTION:
# A thin wrapper for the `dune` command.
# Runs `dune` with given arguments and dies on failure.
#
# Example use: