sys-auth/consolekit: remove pm-utils dep add postinst message
authorJason Zaman <perfinion@gentoo.org>
Tue, 18 Aug 2015 04:44:47 +0000 (12:44 +0800)
committerJason Zaman <perfinion@gentoo.org>
Tue, 18 Aug 2015 04:57:48 +0000 (12:57 +0800)
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

index 43253beefee41163c34259963476cd6d11dbe8fd..3691af419b9ee4db423d5fceee812ff9aaecc01d 100644 (file)
@@ -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"
+}