Gentoo Archives: gentoo-commits

From: Alfredo Tupone <tupone@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: eclass/
Date: Thu, 01 Jul 2021 18:10:07
Message-Id: 1625162961.679f4f3a7554cdf45dbee9186f274c60966597ed.tupone@gentoo
1 commit: 679f4f3a7554cdf45dbee9186f274c60966597ed
2 Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jul 1 18:09:21 2021 +0000
4 Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
5 CommitDate: Thu Jul 1 18:09:21 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=679f4f3a
7
8 findlib.eclass: conditionally RDEPEND
9
10 Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
11
12 eclass/findlib.eclass | 1 +
13 1 file changed, 1 insertion(+)
14
15 diff --git a/eclass/findlib.eclass b/eclass/findlib.eclass
16 index e8b6e73c97a..3b19b30c57c 100644
17 --- a/eclass/findlib.eclass
18 +++ b/eclass/findlib.eclass
19 @@ -29,6 +29,7 @@ IUSE="ocamlopt"
20 DEPEND=">=dev-ml/findlib-1.0.4-r1"
21 [[ ${FINDLIB_USE} ]] && DEPEND="${FINDLIB_USE}? ( ${DEPEND} )"
22 RDEPEND="dev-lang/ocaml:=[ocamlopt?]"
23 +[[ ${FINDLIB_USE} ]] && RDEPEND="${FINDLIB_USE}? ( ${RDEPEND} )"
24
25 check_ocamlfind() {
26 if [ ! -x "${EPREFIX}"/usr/bin/ocamlfind ] ; then