summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-09-05 21:57:44 +0100
committerSam James <sam@gentoo.org>2021-09-05 21:58:34 +0100
commitcd4d45ec421074c7071eb3cef29580adf19e1592 (patch)
tree7eb8ae5a4d9e9544d29a2169b42a27225031de0d /sys-process/htop
parentdev-python/python-lsp-server: remove unused patch(es) (diff)
downloadgentoo-cd4d45ec421074c7071eb3cef29580adf19e1592.tar.gz
gentoo-cd4d45ec421074c7071eb3cef29580adf19e1592.tar.bz2
gentoo-cd4d45ec421074c7071eb3cef29580adf19e1592.zip
sys-process/htop: disable affinity on Darwin
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-process/htop')
-rw-r--r--sys-process/htop/htop-3.1.0_rc1.ebuild7
1 files changed, 7 insertions, 0 deletions
diff --git a/sys-process/htop/htop-3.1.0_rc1.ebuild b/sys-process/htop/htop-3.1.0_rc1.ebuild
index 97f75eb53fee..2429313e1be6 100644
--- a/sys-process/htop/htop-3.1.0_rc1.ebuild
+++ b/sys-process/htop/htop-3.1.0_rc1.ebuild
@@ -71,6 +71,13 @@ src_configure() {
$(use_enable lm-sensors sensors)
)
else
+ if use kernel_Darwin ; then
+ # Upstream default to checking but --enable-affinity
+ # overrides this. Simplest to just disable on Darwin
+ # given it works on BSD anyway.
+ myeconfargs+=( --disable-affinity )
+ fi
+
myeconfargs+=(
--disable-capabilities
--disable-delayacct