commit:     75f89477e6964badf366c72e349723ac945fc028
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 29 10:35:14 2020 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Nov 29 10:35:14 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=75f89477

dev-ml/llvm-ocaml: Fix old versions too

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

 dev-ml/llvm-ocaml/llvm-ocaml-10.0.1.ebuild | 2 +-
 dev-ml/llvm-ocaml/llvm-ocaml-11.0.0.ebuild | 2 +-
 dev-ml/llvm-ocaml/llvm-ocaml-9.0.1.ebuild  | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/dev-ml/llvm-ocaml/llvm-ocaml-10.0.1.ebuild 
b/dev-ml/llvm-ocaml/llvm-ocaml-10.0.1.ebuild
index 17ad0324ab8..c9f95c843aa 100644
--- a/dev-ml/llvm-ocaml/llvm-ocaml-10.0.1.ebuild
+++ b/dev-ml/llvm-ocaml/llvm-ocaml-10.0.1.ebuild
@@ -32,7 +32,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-11.0.0.ebuild 
b/dev-ml/llvm-ocaml/llvm-ocaml-11.0.0.ebuild
index 1cc3103d9d2..425c6b24733 100644
--- a/dev-ml/llvm-ocaml/llvm-ocaml-11.0.0.ebuild
+++ b/dev-ml/llvm-ocaml/llvm-ocaml-11.0.0.ebuild
@@ -32,7 +32,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-9.0.1.ebuild 
b/dev-ml/llvm-ocaml/llvm-ocaml-9.0.1.ebuild
index d2b0fe4d121..f6d102ad555 100644
--- a/dev-ml/llvm-ocaml/llvm-ocaml-9.0.1.ebuild
+++ b/dev-ml/llvm-ocaml/llvm-ocaml-9.0.1.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