1 |
commit: cd4d45ec421074c7071eb3cef29580adf19e1592 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Sep 5 20:57:44 2021 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Sep 5 20:58:34 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd4d45ec |
7 |
|
8 |
sys-process/htop: disable affinity on Darwin |
9 |
|
10 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
11 |
|
12 |
sys-process/htop/htop-3.1.0_rc1.ebuild | 7 +++++++ |
13 |
1 file changed, 7 insertions(+) |
14 |
|
15 |
diff --git a/sys-process/htop/htop-3.1.0_rc1.ebuild b/sys-process/htop/htop-3.1.0_rc1.ebuild |
16 |
index 97f75eb53fe..2429313e1be 100644 |
17 |
--- a/sys-process/htop/htop-3.1.0_rc1.ebuild |
18 |
+++ b/sys-process/htop/htop-3.1.0_rc1.ebuild |
19 |
@@ -71,6 +71,13 @@ src_configure() { |
20 |
$(use_enable lm-sensors sensors) |
21 |
) |
22 |
else |
23 |
+ if use kernel_Darwin ; then |
24 |
+ # Upstream default to checking but --enable-affinity |
25 |
+ # overrides this. Simplest to just disable on Darwin |
26 |
+ # given it works on BSD anyway. |
27 |
+ myeconfargs+=( --disable-affinity ) |
28 |
+ fi |
29 |
+ |
30 |
myeconfargs+=( |
31 |
--disable-capabilities |
32 |
--disable-delayacct |