commit:     b4216bd2b541ba2ceade63c7fd8c8ab516cc01df
Author:     Luca Barbato <lu_zero <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 13 11:43:12 2025 +0000
Commit:     Luca Barbato <lu_zero <AT> gentoo <DOT> org>
CommitDate: Sun Jul 13 11:47:31 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b4216bd2

sys-apps/uutils-coreutils: Depend on clang for the selinux bindings

onig-sys does not depend on bindgen, but selinux-sys does.

Signed-off-by: Luca Barbato <lu_zero <AT> gentoo.org>

 sys-apps/uutils-coreutils/uutils-coreutils-0.1.0.ebuild | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/sys-apps/uutils-coreutils/uutils-coreutils-0.1.0.ebuild 
b/sys-apps/uutils-coreutils/uutils-coreutils-0.1.0.ebuild
index 58db86364d38..979a0cd568c6 100644
--- a/sys-apps/uutils-coreutils/uutils-coreutils-0.1.0.ebuild
+++ b/sys-apps/uutils-coreutils/uutils-coreutils-0.1.0.ebuild
@@ -9,8 +9,8 @@ CRATES="
 "
 
 RUST_MIN_VER="1.85.0"
-
-inherit cargo flag-o-matic multiprocessing
+LLVM_COMPAT=( {17..20} )
+inherit cargo flag-o-matic llvm-r1 multiprocessing
 
 DESCRIPTION="GNU coreutils rewritten in Rust"
 HOMEPAGE="https://uutils.github.io/coreutils/ 
https://github.com/uutils/coreutils";
@@ -49,8 +49,12 @@ DEPEND="
 RDEPEND="${DEPEND}"
 BDEPEND="
        test? ( dev-util/cargo-nextest )
+       selinux? (
+               $(llvm_gen_dep '
+                       llvm-core/clang:${LLVM_SLOT}
+               ')
+       )
 "
-
 QA_FLAGS_IGNORED=".*"
 
 src_unpack() {

Reply via email to