commit:     a4f52fce9b7808efed188061d38def995e899eee
Author:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 22 17:57:48 2020 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Thu Oct 22 17:58:49 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a4f52fce

dev-util/catalyst: Check for UTS_NS IPC_NS Kconfig options

Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>

 dev-util/catalyst/catalyst-9999.ebuild | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/dev-util/catalyst/catalyst-9999.ebuild 
b/dev-util/catalyst/catalyst-9999.ebuild
index aa0697220eb..8b532c332b7 100644
--- a/dev-util/catalyst/catalyst-9999.ebuild
+++ b/dev-util/catalyst/catalyst-9999.ebuild
@@ -15,7 +15,7 @@ fi
 PYTHON_COMPAT=( python3_{7,8} )
 DISTUTILS_USE_SETUPTOOLS=no
 
-inherit distutils-r1 optfeature ${SRC_ECLASS}
+inherit distutils-r1 linux-info optfeature ${SRC_ECLASS}
 
 DESCRIPTION="Release metatool used for creating releases based on Gentoo Linux"
 HOMEPAGE="https://wiki.gentoo.org/wiki/Catalyst";
@@ -74,6 +74,11 @@ RDEPEND="
        )
 "
 
+pkg_setup() {
+       CONFIG_CHECK="~UTS_NS ~IPC_NS"
+       linux-info_pkg_setup
+}
+
 python_prepare_all() {
        python_setup
        echo VERSION="${PV}" "${PYTHON}" setup.py set_version

Reply via email to