--- /usr/portage/lxde-base/lxdm/lxdm-0.4.1-r5.ebuild 2012-08-14 20:01:17.000000000 +0200 +++ lxdm-0.4.1-r5.ebuild 2012-11-18 14:58:47.496726931 +0100 @@ -14,10 +14,10 @@ SLOT="0" KEYWORDS="amd64 ~arm x86" -IUSE="debug gtk3 nls pam" +IUSE="consolekit debug gtk3 nls pam" -RDEPEND="sys-auth/consolekit - x11-libs/libxcb +RDEPEND="x11-libs/libxcb + consolekit? ( sys-auth/consolekit ) gtk3? ( x11-libs/gtk+:3 ) !gtk3? ( x11-libs/gtk+:2 ) nls? ( sys-devel/gettext ) @@ -37,6 +37,9 @@ epatch "${FILESDIR}"/${P}-configure-add-pam.patch + # 443666 + epatch "${FILESDIR}"/${P}-configure-add-consolekit.patch + # 403999 epatch "${FILESDIR}"/${P}-missing-pam-defines.patch @@ -63,6 +66,7 @@ $(use_enable gtk3) \ $(use_enable nls) \ $(use_enable debug) \ + $(use_enable consolekit) \ $(use_with pam) }