commit:     dd78058fd574b3c012cdba0c58a326294dab3d79
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 22 00:27:09 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Sep 22 00:27:56 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dd78058f

sys-libs/compiler-rt: depend on slotted clang for USE=clang

Without this, when trying to emerge the non-latest slot of sys-devel/clang
with no others installed, we end up pulling in latest Clang unnecessarily.

Bug: https://bugs.gentoo.org/883225
Reported-by: Calvin Buckley <calvin <AT> cmpct.info>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../{compiler-rt-15.0.7.ebuild => compiler-rt-15.0.7-r1.ebuild}         | 2 +-
 .../{compiler-rt-16.0.6-r4.ebuild => compiler-rt-16.0.6-r5.ebuild}      | 2 +-
 .../{compiler-rt-17.0.6.ebuild => compiler-rt-17.0.6-r1.ebuild}         | 2 +-
 .../{compiler-rt-18.1.8.ebuild => compiler-rt-18.1.8-r1.ebuild}         | 2 +-
 .../{compiler-rt-19.1.0.ebuild => compiler-rt-19.1.0-r1.ebuild}         | 2 +-
 sys-libs/compiler-rt/compiler-rt-19.1.0_rc4.ebuild                      | 2 +-
 sys-libs/compiler-rt/compiler-rt-20.0.0.9999.ebuild                     | 2 +-
 sys-libs/compiler-rt/compiler-rt-20.0.0_pre20240830.ebuild              | 2 +-
 sys-libs/compiler-rt/compiler-rt-20.0.0_pre20240910.ebuild              | 2 +-
 sys-libs/compiler-rt/compiler-rt-20.0.0_pre20240917.ebuild              | 2 +-
 10 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/sys-libs/compiler-rt/compiler-rt-15.0.7.ebuild 
b/sys-libs/compiler-rt/compiler-rt-15.0.7-r1.ebuild
similarity index 99%
rename from sys-libs/compiler-rt/compiler-rt-15.0.7.ebuild
rename to sys-libs/compiler-rt/compiler-rt-15.0.7-r1.ebuild
index c979daaf6e68..0b5bbc2d0c6e 100644
--- a/sys-libs/compiler-rt/compiler-rt-15.0.7.ebuild
+++ b/sys-libs/compiler-rt/compiler-rt-15.0.7-r1.ebuild
@@ -19,7 +19,7 @@ DEPEND="
        sys-devel/llvm:${LLVM_MAJOR}
 "
 BDEPEND="
-       clang? ( sys-devel/clang )
+       clang? ( sys-devel/clang:${LLVM_MAJOR} )
        test? (
                $(python_gen_any_dep ">=dev-python/lit-15[\${PYTHON_USEDEP}]")
                =sys-devel/clang-${LLVM_VERSION}*:${LLVM_MAJOR}

diff --git a/sys-libs/compiler-rt/compiler-rt-16.0.6-r4.ebuild 
b/sys-libs/compiler-rt/compiler-rt-16.0.6-r5.ebuild
similarity index 99%
rename from sys-libs/compiler-rt/compiler-rt-16.0.6-r4.ebuild
rename to sys-libs/compiler-rt/compiler-rt-16.0.6-r5.ebuild
index 66fdaf8d448f..c014f9b33f50 100644
--- a/sys-libs/compiler-rt/compiler-rt-16.0.6-r4.ebuild
+++ b/sys-libs/compiler-rt/compiler-rt-16.0.6-r5.ebuild
@@ -19,7 +19,7 @@ DEPEND="
        sys-devel/llvm:${LLVM_MAJOR}
 "
 BDEPEND="
-       clang? ( sys-devel/clang )
+       clang? ( sys-devel/clang:${LLVM_MAJOR} )
        test? (
                $(python_gen_any_dep ">=dev-python/lit-15[\${PYTHON_USEDEP}]")
                =sys-devel/clang-${LLVM_VERSION}*:${LLVM_MAJOR}

diff --git a/sys-libs/compiler-rt/compiler-rt-17.0.6.ebuild 
b/sys-libs/compiler-rt/compiler-rt-17.0.6-r1.ebuild
similarity index 99%
rename from sys-libs/compiler-rt/compiler-rt-17.0.6.ebuild
rename to sys-libs/compiler-rt/compiler-rt-17.0.6-r1.ebuild
index 50ca8e397361..e505a9b563a7 100644
--- a/sys-libs/compiler-rt/compiler-rt-17.0.6.ebuild
+++ b/sys-libs/compiler-rt/compiler-rt-17.0.6-r1.ebuild
@@ -19,7 +19,7 @@ DEPEND="
        sys-devel/llvm:${LLVM_MAJOR}
 "
 BDEPEND="
-       clang? ( sys-devel/clang )
+       clang? ( sys-devel/clang:${LLVM_MAJOR} )
        test? (
                $(python_gen_any_dep ">=dev-python/lit-15[\${PYTHON_USEDEP}]")
                =sys-devel/clang-${LLVM_VERSION}*:${LLVM_MAJOR}

diff --git a/sys-libs/compiler-rt/compiler-rt-18.1.8.ebuild 
b/sys-libs/compiler-rt/compiler-rt-18.1.8-r1.ebuild
similarity index 99%
rename from sys-libs/compiler-rt/compiler-rt-18.1.8.ebuild
rename to sys-libs/compiler-rt/compiler-rt-18.1.8-r1.ebuild
index b3b0f5e6d306..538cd3a6b6e7 100644
--- a/sys-libs/compiler-rt/compiler-rt-18.1.8.ebuild
+++ b/sys-libs/compiler-rt/compiler-rt-18.1.8-r1.ebuild
@@ -20,7 +20,7 @@ DEPEND="
        sys-devel/llvm:${LLVM_MAJOR}
 "
 BDEPEND="
-       clang? ( sys-devel/clang )
+       clang? ( sys-devel/clang:${LLVM_MAJOR} )
        test? (
                $(python_gen_any_dep ">=dev-python/lit-15[\${PYTHON_USEDEP}]")
                =sys-devel/clang-${LLVM_VERSION}*:${LLVM_MAJOR}

diff --git a/sys-libs/compiler-rt/compiler-rt-19.1.0.ebuild 
b/sys-libs/compiler-rt/compiler-rt-19.1.0-r1.ebuild
similarity index 99%
rename from sys-libs/compiler-rt/compiler-rt-19.1.0.ebuild
rename to sys-libs/compiler-rt/compiler-rt-19.1.0-r1.ebuild
index ccdf3d0f17c6..952d4bf6f6d6 100644
--- a/sys-libs/compiler-rt/compiler-rt-19.1.0.ebuild
+++ b/sys-libs/compiler-rt/compiler-rt-19.1.0-r1.ebuild
@@ -20,7 +20,7 @@ DEPEND="
        sys-devel/llvm:${LLVM_MAJOR}
 "
 BDEPEND="
-       clang? ( sys-devel/clang )
+       clang? ( sys-devel/clang:${LLVM_MAJOR} )
        test? (
                $(python_gen_any_dep ">=dev-python/lit-15[\${PYTHON_USEDEP}]")
                =sys-devel/clang-${LLVM_VERSION}*:${LLVM_MAJOR}

diff --git a/sys-libs/compiler-rt/compiler-rt-19.1.0_rc4.ebuild 
b/sys-libs/compiler-rt/compiler-rt-19.1.0_rc4.ebuild
index ca99f4442636..7642499a8792 100644
--- a/sys-libs/compiler-rt/compiler-rt-19.1.0_rc4.ebuild
+++ b/sys-libs/compiler-rt/compiler-rt-19.1.0_rc4.ebuild
@@ -19,7 +19,7 @@ DEPEND="
        sys-devel/llvm:${LLVM_MAJOR}
 "
 BDEPEND="
-       clang? ( sys-devel/clang )
+       clang? ( sys-devel/clang:${LLVM_MAJOR} )
        test? (
                $(python_gen_any_dep ">=dev-python/lit-15[\${PYTHON_USEDEP}]")
                =sys-devel/clang-${LLVM_VERSION}*:${LLVM_MAJOR}

diff --git a/sys-libs/compiler-rt/compiler-rt-20.0.0.9999.ebuild 
b/sys-libs/compiler-rt/compiler-rt-20.0.0.9999.ebuild
index ca99f4442636..7642499a8792 100644
--- a/sys-libs/compiler-rt/compiler-rt-20.0.0.9999.ebuild
+++ b/sys-libs/compiler-rt/compiler-rt-20.0.0.9999.ebuild
@@ -19,7 +19,7 @@ DEPEND="
        sys-devel/llvm:${LLVM_MAJOR}
 "
 BDEPEND="
-       clang? ( sys-devel/clang )
+       clang? ( sys-devel/clang:${LLVM_MAJOR} )
        test? (
                $(python_gen_any_dep ">=dev-python/lit-15[\${PYTHON_USEDEP}]")
                =sys-devel/clang-${LLVM_VERSION}*:${LLVM_MAJOR}

diff --git a/sys-libs/compiler-rt/compiler-rt-20.0.0_pre20240830.ebuild 
b/sys-libs/compiler-rt/compiler-rt-20.0.0_pre20240830.ebuild
index ca99f4442636..7642499a8792 100644
--- a/sys-libs/compiler-rt/compiler-rt-20.0.0_pre20240830.ebuild
+++ b/sys-libs/compiler-rt/compiler-rt-20.0.0_pre20240830.ebuild
@@ -19,7 +19,7 @@ DEPEND="
        sys-devel/llvm:${LLVM_MAJOR}
 "
 BDEPEND="
-       clang? ( sys-devel/clang )
+       clang? ( sys-devel/clang:${LLVM_MAJOR} )
        test? (
                $(python_gen_any_dep ">=dev-python/lit-15[\${PYTHON_USEDEP}]")
                =sys-devel/clang-${LLVM_VERSION}*:${LLVM_MAJOR}

diff --git a/sys-libs/compiler-rt/compiler-rt-20.0.0_pre20240910.ebuild 
b/sys-libs/compiler-rt/compiler-rt-20.0.0_pre20240910.ebuild
index ca99f4442636..7642499a8792 100644
--- a/sys-libs/compiler-rt/compiler-rt-20.0.0_pre20240910.ebuild
+++ b/sys-libs/compiler-rt/compiler-rt-20.0.0_pre20240910.ebuild
@@ -19,7 +19,7 @@ DEPEND="
        sys-devel/llvm:${LLVM_MAJOR}
 "
 BDEPEND="
-       clang? ( sys-devel/clang )
+       clang? ( sys-devel/clang:${LLVM_MAJOR} )
        test? (
                $(python_gen_any_dep ">=dev-python/lit-15[\${PYTHON_USEDEP}]")
                =sys-devel/clang-${LLVM_VERSION}*:${LLVM_MAJOR}

diff --git a/sys-libs/compiler-rt/compiler-rt-20.0.0_pre20240917.ebuild 
b/sys-libs/compiler-rt/compiler-rt-20.0.0_pre20240917.ebuild
index ca99f4442636..7642499a8792 100644
--- a/sys-libs/compiler-rt/compiler-rt-20.0.0_pre20240917.ebuild
+++ b/sys-libs/compiler-rt/compiler-rt-20.0.0_pre20240917.ebuild
@@ -19,7 +19,7 @@ DEPEND="
        sys-devel/llvm:${LLVM_MAJOR}
 "
 BDEPEND="
-       clang? ( sys-devel/clang )
+       clang? ( sys-devel/clang:${LLVM_MAJOR} )
        test? (
                $(python_gen_any_dep ">=dev-python/lit-15[\${PYTHON_USEDEP}]")
                =sys-devel/clang-${LLVM_VERSION}*:${LLVM_MAJOR}

Reply via email to