commit:     5353570df96a853b2e95e194bfd4156940ab9802
Author:     Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
AuthorDate: Sun May 31 08:08:05 2020 +0000
Commit:     Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
CommitDate: Sun May 31 08:09:56 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5353570d

app-admin/clsync: check for inotify support in kernel

However unlikely it is still possible that user has kernel without
inotify support, so check for INOTIFY_USER if inotify is requested
(which is default behaviour).

Package-Manager: Portage-2.3.82, Repoman-2.3.20
Signed-off-by: Andrew Savchenko <bircoph <AT> gentoo.org>

 app-admin/clsync/clsync-0.4.4.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/app-admin/clsync/clsync-0.4.4.ebuild 
b/app-admin/clsync/clsync-0.4.4.ebuild
index ee8baf2da67..2d3aee38a85 100644
--- a/app-admin/clsync/clsync-0.4.4.ebuild
+++ b/app-admin/clsync/clsync-0.4.4.ebuild
@@ -36,6 +36,7 @@ RDEPEND="${DEPEND}
 "
 
 pkg_pretend() {
+       use inotify && CONFIG_CHECK+=" ~INOTIFY_USER"
        use namespaces && CONFIG_CHECK="~NAMESPACES ~UTS_NS ~IPC_NS ~USER_NS 
~PID_NS ~NET_NS"
        use seccomp && CONFIG_CHECK+=" ~SECCOMP"
        check_extra_config

Reply via email to