diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-06-20 14:45:01 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-06-20 14:45:01 +0100 |
commit | 34dea8e38f88007799629d0a56b12dec480b1d21 (patch) | |
tree | 6790873994b58030360328cf5897d934b3b03d16 /eclass/findlib.eclass | |
parent | 7932d472a02d4c016ff7dff4b7a5479ab9d1883d (diff) |
gentoo resync : 20.06.2021
Diffstat (limited to 'eclass/findlib.eclass')
-rw-r--r-- | eclass/findlib.eclass | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/eclass/findlib.eclass b/eclass/findlib.eclass index 8eaaccd0ec96..d117c0b2bfd6 100644 --- a/eclass/findlib.eclass +++ b/eclass/findlib.eclass @@ -13,9 +13,13 @@ # Do not complain about CFLAGS etc since ML projects do not use them. QA_FLAGS_IGNORED='.*' +# Required to use the ocamlopt? dep in RDEPEND below +IUSE="ocamlopt" + # 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 |