--- /usr/portage/x11-misc/xnots/xnots-0.2.ebuild 2008-04-10 01:55:51.000000000 -0700 +++ xnots-0.2-r1.ebuild 2008-04-11 18:22:25.000000000 -0700 @@ -2,6 +2,8 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/x11-misc/xnots/xnots-0.2.ebuild,v 1.1 2008/04/10 08:55:51 nelchael Exp $ +inherit linux-info + DESCRIPTION="A desktop sticky note program for the unix geek" HOMEPAGE="http://xnots.sourceforge.net" SRC_URI="mirror://sourceforge/xnots/${P}.tar.gz" @@ -27,6 +29,9 @@ } pkg_postinst() { - elog "xNots requires INOTIFY support present in kernel." - elog "Please make sure you have enabled CONFIG_INOTIFY in your config." + if ! linux_chkconfig_present INOTIFY; then + ewarn "Your kernel is compiled without INOTIFY support." + ewarn "xNots requires INOTIFY support to run." + ewarn "Please enable CONFIG_INOTIFY in your kernel config." + fi }