Update atop-2.3.0.ebuild
authorsr20det <amd-1600@ya.ru>
Fri, 4 Aug 2017 06:51:47 +0000 (09:51 +0300)
committerLars Wendler <polynomial-c@gentoo.org>
Fri, 4 Aug 2017 07:15:23 +0000 (09:15 +0200)
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

index 373ca36e8d614e0f6ebd9b7c4dcfb92a9a500934..31cb7439dd37fc7cda573dcadee72d5cee73bba4 100644 (file)
@@ -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
 }