summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2010-02-17 12:15:17 +0100
committerKoen Kooi <koen@openembedded.org>2010-02-17 12:15:17 +0100
commita93ded8dbe1fc1a4b5785e0079c9a77316bb7dd6 (patch)
treef64b4d7167beca3a0425d7bff51919119219c739
parentfba63ed00f92f939529bd1fd1f47a8d715f8bea8 (diff)
consolekit 0.4.1: fix PAM and make it a distro feature
-rw-r--r--recipes/hal/consolekit_0.4.1.bb7
1 files changed, 5 insertions, 2 deletions
diff --git a/recipes/hal/consolekit_0.4.1.bb b/recipes/hal/consolekit_0.4.1.bb
index 784ba3e231..855d80adcd 100644
--- a/recipes/hal/consolekit_0.4.1.bb
+++ b/recipes/hal/consolekit_0.4.1.bb
@@ -1,6 +1,8 @@
DESCRIPTION = "ConsoleKit is a framework for defining and tracking users, login sessions, and seats."
LICENSE = "GPLv2"
-DEPENDS = "policykit libpam dbus"
+DEPENDS = "policykit dbus ${@base_contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}"
+
+PR = "r1"
inherit gnome
@@ -10,8 +12,9 @@ SRC_URI[archive.sha256sum] = "f032adc6146d745034315054c5822a7a09f30e20a40d6e8022
S = "${WORKDIR}/ConsoleKit-${PV}"
+EXTRA_OECONF = " ${@base_contains('DISTRO_FEATURES', 'pam', '--enable-pam-module --with-pam-module-dir=${libdir}/security', '--disable-pam-module', d)} "
-FILES_${PN} += "${libdir}/ConsoleKit ${datadir}/dbus-1 ${datadir}/PolicyKit ${datadir}/polkit*"
+FILES_${PN} += "${libdir}/ConsoleKit ${datadir}/dbus-1 ${datadir}/PolicyKit ${datadir}/polkit* ${libdir}/security/pam_ck_connector.so"