summaryrefslogtreecommitdiff
path: root/sys-auth/pambase/files/pambase-20150213-elogind.patch
blob: 7ec92f787b82817024ede9eb8ea6fa22230130e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
--- a/Makefile
+++ b/Makefile
@@ -32,6 +32,10 @@
 PAMFLAGS += -DHAVE_SYSTEMD=1
 endif
 
+ifeq "$(ELOGIND)" "yes"
+PAMFLAGS += -DHAVE_ELOGIND=1
+endif
+
 ifeq "$(GNOME_KEYRING)" "yes"
 PAMFLAGS += -DHAVE_GNOME_KEYRING=1
 endif
--- a/system-auth.in
+++ b/system-auth.in
@@ -39,3 +39,7 @@
 #if HAVE_SYSTEMD
 -session        optional        pam_systemd.so
 #endif
+
+#if HAVE_ELOGIND
+-session        optional        pam_elogind.so
+#endif