commit:     eec52dc3492738596c4832e7124a37eb04913ce9
Author:     sr20det <amd-1600 <AT> ya <DOT> ru>
AuthorDate: Fri Aug  4 06:51:47 2017 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Fri Aug  4 07:15:23 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eec52dc3

Update atop-2.3.0.ebuild

don't die if optional kernel feature not set
Closes: https://github.com/gentoo/gentoo/pull/5290

 sys-process/atop/atop-2.3.0.ebuild | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/sys-process/atop/atop-2.3.0.ebuild 
b/sys-process/atop/atop-2.3.0.ebuild
index 373ca36e8d6..31cb7439dd3 100644
--- a/sys-process/atop/atop-2.3.0.ebuild
+++ b/sys-process/atop/atop-2.3.0.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=6
 
-inherit linux-mod systemd toolchain-funcs
+inherit linux-info systemd toolchain-funcs
 
 DESCRIPTION="Resource-specific view of processes"
 HOMEPAGE="https://www.atoptool.nl/ https://github.com/Atoptool/atop";
@@ -39,7 +39,8 @@ PATCHES=(
 
 pkg_pretend() {
        if use kernel_linux ; then
-               CONFIG_CHECK="BSD_PROCESS_ACCT"
+               CONFIG_CHECK="~BSD_PROCESS_ACCT"
+               check_extra_config
        fi
 }
 

Reply via email to