summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2021-07-01 20:09:21 +0200
committerAlfredo Tupone <tupone@gentoo.org>2021-07-01 20:09:21 +0200
commit679f4f3a7554cdf45dbee9186f274c60966597ed (patch)
tree4795b894d8810d69d6a0b44ee80e781fb7eceef5 /eclass/findlib.eclass
parentdev-python/ipython: Reenable notebook on py3.10 (diff)
downloadgentoo-679f4f3a7554cdf45dbee9186f274c60966597ed.tar.gz
gentoo-679f4f3a7554cdf45dbee9186f274c60966597ed.tar.bz2
gentoo-679f4f3a7554cdf45dbee9186f274c60966597ed.zip
findlib.eclass: conditionally RDEPEND
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Diffstat (limited to 'eclass/findlib.eclass')
-rw-r--r--eclass/findlib.eclass1
1 files changed, 1 insertions, 0 deletions
diff --git a/eclass/findlib.eclass b/eclass/findlib.eclass
index e8b6e73c97af..3b19b30c57c9 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