commit:     9bf946cc09a069a9a8453b6a2c8c6b86dbd41433
Author:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Sat Jul 24 05:34:52 2021 +0000
Commit:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Sat Jul 24 05:39:50 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9bf946cc

sys-process/bottom: don't enable debugging deatures

Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>

 sys-process/bottom/bottom-0.6.3.ebuild | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/sys-process/bottom/bottom-0.6.3.ebuild 
b/sys-process/bottom/bottom-0.6.3.ebuild
index 5a268f8904e..b23fefb6da4 100644
--- a/sys-process/bottom/bottom-0.6.3.ebuild
+++ b/sys-process/bottom/bottom-0.6.3.ebuild
@@ -186,6 +186,12 @@ KEYWORDS="~amd64"
 # Rust packages ignore CFLAGS and LDFLAGS so let's silence the QA warnings
 QA_FLAGS_IGNORED="usr/bin/btm"
 
+src_configure() {
+       # 
https://github.com/ClementTsang/bottom/blob/bacaca5548c2b23d261ef961ee6584b609529567/Cargo.toml#L63
+       # fern and log features are for debugging only, so disable default 
features
+       cargo_src_configure $(usev !debug --no-default-features)
+}
+
 src_install() {
        cargo_src_install
 

Reply via email to