--- /tmp/glib-2.32.1.ebuild 2012-04-24 21:59:12.560200526 +0300 +++ /tmp/glib-2.32.1.ebuild 2012-04-24 22:00:55.208203384 +0300 @@ -6,7 +6,7 @@ PYTHON_DEPEND="utils? 2" # Avoid runtime dependency on python when USE=test -inherit autotools gnome.org libtool eutils flag-o-matic gnome2-utils multilib pax-utils python virtualx +inherit autotools gnome.org libtool eutils flag-o-matic gnome2-utils multilib pax-utils python virtualx linux-info DESCRIPTION="The GLib library of C routines" HOMEPAGE="http://www.gtk.org/" @@ -15,7 +15,7 @@ LICENSE="LGPL-2" SLOT="2" -IUSE="debug doc fam selinux static-libs systemtap test utils xattr" +IUSE="debug doc fam kernel_linux selinux static-libs systemtap test utils xattr" KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux" RDEPEND="virtual/libiconv @@ -53,6 +53,11 @@ python_set_active_version 2 python_pkg_setup fi + + if use kernel_linux ; then + CONFIG_CHECK="~INOTIFY_USER" + linux-info_pkg_setup + fi } src_prepare() {