diff options
author | Georgy Yakovlev <gyakovlev@gentoo.org> | 2021-07-23 22:34:52 -0700 |
---|---|---|
committer | Georgy Yakovlev <gyakovlev@gentoo.org> | 2021-07-23 22:39:50 -0700 |
commit | 9bf946cc09a069a9a8453b6a2c8c6b86dbd41433 (patch) | |
tree | e4078db9048e8106750a1ed4375ba9b6e3b5463b /sys-process | |
parent | sys-process/bottom: New package (diff) | |
download | gentoo-9bf946cc09a069a9a8453b6a2c8c6b86dbd41433.tar.gz gentoo-9bf946cc09a069a9a8453b6a2c8c6b86dbd41433.tar.bz2 gentoo-9bf946cc09a069a9a8453b6a2c8c6b86dbd41433.zip |
sys-process/bottom: don't enable debugging deatures
Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
Diffstat (limited to 'sys-process')
-rw-r--r-- | sys-process/bottom/bottom-0.6.3.ebuild | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sys-process/bottom/bottom-0.6.3.ebuild b/sys-process/bottom/bottom-0.6.3.ebuild index 5a268f8904e2..b23fefb6da4c 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 |