commit:     f498bcbd7c3fd328bd5f66f3286521b6db926f5e
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Thu Jun 17 18:49:06 2021 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Thu Jun 17 18:49:06 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f498bcbd

eclass/findlib.eclass: add rdep on ocaml:=

Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>

 eclass/findlib.eclass | 1 +
 1 file changed, 1 insertion(+)

diff --git a/eclass/findlib.eclass b/eclass/findlib.eclass
index 8eaaccd0ec9..9c19ca96dda 100644
--- a/eclass/findlib.eclass
+++ b/eclass/findlib.eclass
@@ -16,6 +16,7 @@ QA_FLAGS_IGNORED='.*'
 # From this findlib version, there is proper stublibs support.
 DEPEND=">=dev-ml/findlib-1.0.4-r1"
 [[ ${FINDLIB_USE} ]] && DEPEND="${FINDLIB_USE}? ( ${DEPEND} )"
+RDEPEND="dev-lang/ocaml:=[ocamlopt?]"
 
 check_ocamlfind() {
        if [ ! -x "${EPREFIX}"/usr/bin/ocamlfind ] ; then

Reply via email to