commit:     e41a04e7f068dddb13053fd7e662af4f0b5bbf0c
Author:     Zamarin Arthur <arthurzam <AT> gmail <DOT> com>
AuthorDate: Fri Apr 23 16:29:21 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Fri Apr 23 16:31:30 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e41a04e7

sys-process/iotop-c: add linux kernel config checks

Signed-off-by: Zamarin Arthur <arthurzam <AT> gmail.com>

 sys-process/iotop-c/iotop-c-1.17-r1.ebuild | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/sys-process/iotop-c/iotop-c-1.17-r1.ebuild 
b/sys-process/iotop-c/iotop-c-1.17-r1.ebuild
index d33361f8b..ad5cd74c1 100644
--- a/sys-process/iotop-c/iotop-c-1.17-r1.ebuild
+++ b/sys-process/iotop-c/iotop-c-1.17-r1.ebuild
@@ -3,12 +3,14 @@
 
 EAPI=7
 
-inherit fcaps
+inherit fcaps linux-info
 
 DESCRIPTION="top utility for IO (C port)"
 HOMEPAGE="https://github.com/Tomas-M/iotop";
 SRC_URI="https://github.com/Tomas-M/iotop/archive/v${PV}.tar.gz -> ${P}.tar.gz"
 
+S="${WORKDIR}/iotop-${PV}"
+
 LICENSE="GPL-2+"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
@@ -18,7 +20,7 @@ RDEPEND="sys-libs/ncurses:=
 DEPEND="${RDEPEND}"
 BDEPEND="virtual/pkgconfig"
 
-S="${WORKDIR}/iotop-${PV}"
+CONFIG_CHECK="~TASK_IO_ACCOUNTING ~TASK_DELAY_ACCT ~TASKSTATS 
~VM_EVENT_COUNTERS"
 
 FILECAPS=(
        cap_net_admin=eip usr/bin/iotop

Reply via email to