--- /usr/portage/lxde-base/lxdm/lxdm-0.4.1-r7.ebuild 2013-12-13 15:01:20.000000000 -0600 +++ /usr/portage/lxde-base/lxdm/lxdm-0.4.1-r7.ebuild 2013-12-19 21:12:58.961486797 -0600 @@ -4,7 +4,7 @@ EAPI="2" -WANT_AUTOMAKE="1.12" #493996 +#WANT_AUTOMAKE="1.12" #493996 inherit eutils autotools DESCRIPTION="LXDE Display Manager" @@ -15,9 +15,9 @@ SLOT="0" KEYWORDS="amd64 ~arm ~ppc x86" -IUSE="debug gtk3 nls pam" +IUSE="debug gtk3 nls pam consolekit" -RDEPEND="sys-auth/consolekit +RDEPEND="consolekit? ( sys-auth/consolekit ) x11-libs/libxcb gtk3? ( x11-libs/gtk+:3 ) !gtk3? ( x11-libs/gtk+:2 ) @@ -50,6 +50,9 @@ # See https://bugs.launchpad.net/ubuntu/+source/lxdm/+bug/922363 epatch "${FILESDIR}/${P}-fix-pam-100-cpu.patch" + # Optional ConsoleKit + epatch "${FILESDIR}/${P}-git-configure-add-consolekit.patch" + # this replaces the bootstrap/autogen script in most packages eautoreconf @@ -64,6 +67,7 @@ econf --enable-password \ --with-x \ --with-xconn=xcb \ + $(use_enable consolekit) \ $(use_enable gtk3) \ $(use_enable nls) \ $(use_enable debug) \