commit:     7530cbd74c782790395e8f627a94cdb0d2fac116
Author:     Ettore Di Giacinto <mudler <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 12 18:33:28 2017 +0000
Commit:     Ettore Di Giacinto <mudler <AT> gentoo <DOT> org>
CommitDate: Sun Feb 12 18:38:37 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7530cbd7

dev-util/rr: add seccomp requirement

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 dev-util/rr/rr-4.5.0.ebuild | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/dev-util/rr/rr-4.5.0.ebuild b/dev-util/rr/rr-4.5.0.ebuild
index 0941335497..4ad1d8612c 100644
--- a/dev-util/rr/rr-4.5.0.ebuild
+++ b/dev-util/rr/rr-4.5.0.ebuild
@@ -7,7 +7,7 @@ EAPI=6
 PYTHON_COMPAT=( python2_7 )
 CMAKE_BUILD_TYPE=Release
 
-inherit cmake-utils python-single-r1
+inherit cmake-utils linux-info python-single-r1
 
 DESCRIPTION="Record and Replay Framework"
 HOMEPAGE="http://rr-project.org/";
@@ -28,5 +28,9 @@ RDEPEND="
        ${DEPEND}"
 
 pkg_setup() {
+       if use kernel_linux; then
+               CONFIG_CHECK="SECCOMP"
+               linux-info_pkg_setup
+       fi
        python-single-r1_pkg_setup
 }

Reply via email to