From ad5d67f7341e306baabf7a6fae9cc3bca2de8abd Mon Sep 17 00:00:00 2001 From: Matt Jolly Date: Wed, 4 Dec 2024 12:11:15 +1000 Subject: [PATCH] app-antivirus/clamav: add rust_pkg_setup This does not cause any changes to package behaviour; we don't depend on LLVM or have any version restrictions on Rust so it doesn't matter which slot was picked - it's probably the `eselect`ed one anyway. There's no need to force a revbump on users who have already built the package, however we can provide consistent selection of dev-lang/rust via the eclass and get some output on the selected slot as part of the build log if we fix this now. Signed-off-by: Matt Jolly --- app-antivirus/clamav/clamav-1.0.7-r1.ebuild | 1 + app-antivirus/clamav/clamav-1.4.1-r2.ebuild | 1 + 2 files changed, 2 insertions(+) diff --git a/app-antivirus/clamav/clamav-1.0.7-r1.ebuild b/app-antivirus/clamav/clamav-1.0.7-r1.ebuild index 571fa8143a9ba..bb7cc89f3b9fb 100644 --- a/app-antivirus/clamav/clamav-1.0.7-r1.ebuild +++ b/app-antivirus/clamav/clamav-1.0.7-r1.ebuild @@ -228,6 +228,7 @@ python_check_deps() { } pkg_setup() { + rust_pkg_setup use jit && llvm_pkg_setup use test && python-any-r1_pkg_setup } diff --git a/app-antivirus/clamav/clamav-1.4.1-r2.ebuild b/app-antivirus/clamav/clamav-1.4.1-r2.ebuild index 296e17179a3a0..a613a13cfc4fc 100644 --- a/app-antivirus/clamav/clamav-1.4.1-r2.ebuild +++ b/app-antivirus/clamav/clamav-1.4.1-r2.ebuild @@ -231,6 +231,7 @@ python_check_deps() { } pkg_setup() { + rust_pkg_setup use jit && llvm_pkg_setup use test && python-any-r1_pkg_setup }