commit:     749559f73ca3f3e45f8b1f57c46758518379db1c
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 29 10:33:54 2020 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Nov 29 10:34:12 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=749559f7

dev-ml/llvm-ocaml: Fix missing conditions around deps

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-ml/llvm-ocaml/llvm-ocaml-11.0.0.9999.ebuild | 2 +-
 dev-ml/llvm-ocaml/llvm-ocaml-12.0.0.9999.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-ml/llvm-ocaml/llvm-ocaml-11.0.0.9999.ebuild 
b/dev-ml/llvm-ocaml/llvm-ocaml-11.0.0.9999.ebuild
index dce57ce08f6..40fb0676b74 100644
--- a/dev-ml/llvm-ocaml/llvm-ocaml-11.0.0.9999.ebuild
+++ b/dev-ml/llvm-ocaml/llvm-ocaml-11.0.0.9999.ebuild
@@ -30,7 +30,7 @@ RDEPEND="
        !sys-devel/llvm[ocaml(-)]"
 for x in "${ALL_LLVM_TARGETS[@]}"; do
        RDEPEND+="
-               ~sys-devel/llvm-${PV}[${x}]"
+               ${x}? ( ~sys-devel/llvm-${PV}[${x}] )"
 done
 unset x
 

diff --git a/dev-ml/llvm-ocaml/llvm-ocaml-12.0.0.9999.ebuild 
b/dev-ml/llvm-ocaml/llvm-ocaml-12.0.0.9999.ebuild
index 53bd69a34ce..7f6ae880e2c 100644
--- a/dev-ml/llvm-ocaml/llvm-ocaml-12.0.0.9999.ebuild
+++ b/dev-ml/llvm-ocaml/llvm-ocaml-12.0.0.9999.ebuild
@@ -30,7 +30,7 @@ RDEPEND="
        !sys-devel/llvm[ocaml(-)]"
 for x in "${ALL_LLVM_TARGETS[@]}"; do
        RDEPEND+="
-               ~sys-devel/llvm-${PV}[${x}]"
+               ${x}? ( ~sys-devel/llvm-${PV}[${x}] )"
 done
 unset x
 

Reply via email to