summaryrefslogtreecommitdiff
path: root/lxde-base/lxdm/lxdm-0.5.0.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'lxde-base/lxdm/lxdm-0.5.0.ebuild')
-rw-r--r--lxde-base/lxdm/lxdm-0.5.0.ebuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/lxde-base/lxdm/lxdm-0.5.0.ebuild b/lxde-base/lxdm/lxdm-0.5.0.ebuild
index 35cba68..87433cd 100644
--- a/lxde-base/lxdm/lxdm-0.5.0.ebuild
+++ b/lxde-base/lxdm/lxdm-0.5.0.ebuild
@@ -15,7 +15,7 @@ LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~arm ~ppc ~x86"
-IUSE="consolekit debug gtk3 nls pam selinux"
+IUSE="consolekit debug gnome-keyring gtk3 nls pam selinux"
RDEPEND="consolekit? ( sys-auth/consolekit )
x11-libs/libxcb
@@ -37,6 +37,9 @@ src_prepare() {
if ! use selinux; then
sed -i -e '/pam_selinux.so/d' pam/lxdm
fi
+ if ! use gnome-keyring; then
+ sed -i -e '/pam_gnome_keyring.so/d' pam/lxdm
+ fi
# Allow user to apply any additional patches without modifing ebuild
epatch_user