commit:     230deeaaadc22c1f1cd03043fa76c60db2d09b9b
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Aug  2 18:09:34 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Aug  2 18:41:18 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=230deeaa

sys-devel/llvm: Fix sanity check w/ USE=-debuginfod

Closes: https://bugs.gentoo.org/937149
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 sys-devel/llvm/llvm-20.0.0.9999.ebuild        | 4 ++++
 sys-devel/llvm/llvm-20.0.0_pre20240801.ebuild | 4 ++++
 2 files changed, 8 insertions(+)

diff --git a/sys-devel/llvm/llvm-20.0.0.9999.ebuild 
b/sys-devel/llvm/llvm-20.0.0.9999.ebuild
index 9ff1ecc4c46c..8401f1a55543 100644
--- a/sys-devel/llvm/llvm-20.0.0.9999.ebuild
+++ b/sys-devel/llvm/llvm-20.0.0.9999.ebuild
@@ -154,6 +154,10 @@ check_distribution_components() {
                                        docs-llvm-html)
                                                use doc || continue
                                                ;;
+                                       # used only w/ USE=debuginfd
+                                       llvm-debuginfod)
+                                               use debuginfod || continue
+                                               ;;
                                esac
 
                                all_targets+=( "${l}" )

diff --git a/sys-devel/llvm/llvm-20.0.0_pre20240801.ebuild 
b/sys-devel/llvm/llvm-20.0.0_pre20240801.ebuild
index 9ff1ecc4c46c..8401f1a55543 100644
--- a/sys-devel/llvm/llvm-20.0.0_pre20240801.ebuild
+++ b/sys-devel/llvm/llvm-20.0.0_pre20240801.ebuild
@@ -154,6 +154,10 @@ check_distribution_components() {
                                        docs-llvm-html)
                                                use doc || continue
                                                ;;
+                                       # used only w/ USE=debuginfd
+                                       llvm-debuginfod)
+                                               use debuginfod || continue
+                                               ;;
                                esac
 
                                all_targets+=( "${l}" )

Reply via email to