diff options
author | 2021-06-19 23:07:27 +0100 | |
---|---|---|
committer | 2021-06-19 23:10:41 +0100 | |
commit | 94105a4ed58bb5977ccbbcbe1084f04e3218e08a (patch) | |
tree | fb47f52ae428ec680f118f3392ef1545f48fdb4e /eclass | |
parent | sys-fs/mtools: Bump to version 4.0.31 (diff) | |
download | gentoo-94105a4ed58bb5977ccbbcbe1084f04e3218e08a.tar.gz gentoo-94105a4ed58bb5977ccbbcbe1084f04e3218e08a.tar.bz2 gentoo-94105a4ed58bb5977ccbbcbe1084f04e3218e08a.zip |
findlib.eclass: define IUSE="ocamlopt"
Fixes failures such as:
```
dev-ml/camlbz2-0.7.0::gentoo (masked by: invalid: RDEPEND: USE flag 'ocamlopt'
referenced in conditional 'ocamlopt?' in atom 'dev-lang/ocaml:=[ocamlopt?]' is not in IUSE)
```
in findlib.eclass consumers lacking IUSE="ocamlopt".
Fixes: f498bcbd7c3fd328bd5f66f3286521b6db926f5e
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/findlib.eclass | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/eclass/findlib.eclass b/eclass/findlib.eclass index 9c19ca96dda1..fd5442b99d59 100644 --- a/eclass/findlib.eclass +++ b/eclass/findlib.eclass @@ -1,5 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 +# Copyright 1999-2021 Gentoo Author# Distributed under the terms of the GNU General Public License v2 # @ECLASS: findlib.eclass # @MAINTAINER: @@ -13,6 +12,9 @@ # 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} )" |