diff options
-rw-r--r-- | meta-oe/recipes-connectivity/networkmanager/networkmanager_0.9.8.0.bb | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/meta-oe/recipes-connectivity/networkmanager/networkmanager_0.9.8.0.bb b/meta-oe/recipes-connectivity/networkmanager/networkmanager_0.9.8.0.bb index 5b53f7f18b..6957f35600 100644 --- a/meta-oe/recipes-connectivity/networkmanager/networkmanager_0.9.8.0.bb +++ b/meta-oe/recipes-connectivity/networkmanager/networkmanager_0.9.8.0.bb | |||
@@ -4,8 +4,7 @@ SECTION = "net/misc" | |||
4 | LICENSE = "GPLv2+" | 4 | LICENSE = "GPLv2+" |
5 | LIC_FILES_CHKSUM = "file://COPYING;md5=cbbffd568227ada506640fe950a4823b" | 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=cbbffd568227ada506640fe950a4823b" |
6 | 6 | ||
7 | DEPENDS = "libnl dbus dbus-glib udev wireless-tools polkit gnutls util-linux ppp" | 7 | DEPENDS = "libnl dbus dbus-glib udev wireless-tools gnutls util-linux ppp" |
8 | DEPENDS += "${@base_contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)}" | ||
9 | 8 | ||
10 | inherit gnome gettext systemd | 9 | inherit gnome gettext systemd |
11 | 10 | ||
@@ -33,7 +32,14 @@ EXTRA_OECONF = " \ | |||
33 | --with-tests \ | 32 | --with-tests \ |
34 | " | 33 | " |
35 | 34 | ||
36 | EXTRA_OECONF += "${@base_contains('DISTRO_FEATURES', 'systemd', '--with-systemdsystemunitdir=${systemd_unitdir}/system/', '--without-systemdsystemunitdir', d)}" | 35 | PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES','systemd','systemd','consolekit',d)}" |
36 | PACKAGECONFIG[systemd] = " \ | ||
37 | --with-systemdsystemunitdir=${systemd_unitdir}/system --with-session-tracking=systemd --enable-polkit, \ | ||
38 | --without-systemdsystemunitdir=, \ | ||
39 | polkit \ | ||
40 | " | ||
41 | # consolekit is not picked by shlibs, so add it to RDEPENDS too | ||
42 | PACKAGECONFIG[consolekit] = "--with-session-tracking=consolekit,,consolekit,consolekit" | ||
37 | 43 | ||
38 | # Work around dbus permission problems since we lack a proper at_console | 44 | # Work around dbus permission problems since we lack a proper at_console |
39 | do_install_prepend() { | 45 | do_install_prepend() { |