commit: 679f4f3a7554cdf45dbee9186f274c60966597ed
Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Thu Jul 1 18:09:21 2021 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Thu Jul 1 18:09:21 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=679f4f3a
findlib.eclass: conditionally RDEPEND
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 e8b6e73c97a..3b19b30c57c 100644
--- a/eclass/findlib.eclass
+++ b/eclass/findlib.eclass
@@ -29,6 +29,7 @@ IUSE="ocamlopt"
DEPEND=">=dev-ml/findlib-1.0.4-r1"
[[ ${FINDLIB_USE} ]] && DEPEND="${FINDLIB_USE}? ( ${DEPEND} )"
RDEPEND="dev-lang/ocaml:=[ocamlopt?]"
+[[ ${FINDLIB_USE} ]] && RDEPEND="${FINDLIB_USE}? ( ${RDEPEND} )"
check_ocamlfind() {
if [ ! -x "${EPREFIX}"/usr/bin/ocamlfind ] ; then