Skip to content

Commit

Permalink
findlib.eclass: conditionally RDEPEND
Browse files Browse the repository at this point in the history
Signed-off-by: Alfredo Tupone <[email protected]>
  • Loading branch information
atupone committed Jul 1, 2021
1 parent 167cbe0 commit 679f4f3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions eclass/findlib.eclass
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 679f4f3

Please sign in to comment.