From 46222e30a14af05b8bf384ece8b95710c4be54d9 Mon Sep 17 00:00:00 2001 From: Jason Zaman Date: Tue, 18 Aug 2015 12:44:47 +0800 Subject: [PATCH] sys-auth/consolekit: remove pm-utils dep add postinst message It is an optional dep and cannot be contolled by a useflag. Gentoo-Bug: https://bugs.gentoo.org/557432 Package-Manager: portage-2.2.20.1 --- sys-auth/consolekit/consolekit-1.0.0.ebuild | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/sys-auth/consolekit/consolekit-1.0.0.ebuild b/sys-auth/consolekit/consolekit-1.0.0.ebuild index 43253beefee4..3691af419b9e 100644 --- a/sys-auth/consolekit/consolekit-1.0.0.ebuild +++ b/sys-auth/consolekit/consolekit-1.0.0.ebuild @@ -34,8 +34,7 @@ COMMON_DEPEND=">=dev-libs/glib-2.40:2= policykit? ( >=sys-auth/polkit-0.110 )" RDEPEND="${COMMON_DEPEND} kernel_linux? ( sys-apps/coreutils[acl?] ) - selinux? ( sec-policy/selinux-consolekit ) - sys-power/pm-utils" + selinux? ( sec-policy/selinux-consolekit )" DEPEND="${COMMON_DEPEND} dev-libs/libxslt virtual/pkgconfig @@ -109,3 +108,8 @@ src_install() { insinto /etc/logrotate.d newins "${WORKDIR}"/debian/${PN}.logrotate ${PN} #374513 } + +pkg_postinst() { + elog "For suspend/hibernate support, please emerge" + elog " sys-power/pm-utils" +} -- 2.26.2