dev-util/rr: add seccomp requirement
authorEttore Di Giacinto <mudler@gentoo.org>
Sun, 12 Feb 2017 18:33:28 +0000 (19:33 +0100)
committerEttore Di Giacinto <mudler@gentoo.org>
Sun, 12 Feb 2017 18:38:37 +0000 (19:38 +0100)
Package-Manager: Portage-2.3.3, Repoman-2.3.1

dev-util/rr/rr-4.5.0.ebuild

index 09413354976fe70a2ec8ba65418c810c8834b5db..4ad1d8612c20c81969447e40d03cafc3e77349e6 100644 (file)
@@ -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
 }