mirror of
https://git.yoctoproject.org/poky
synced 2026-09-24 22:36:21 +02:00
gconf,consolekit: Avoid polkit when compiling with uclibc
polkit uses netdb functionality from glibc which is not available in uclibc therefore we avoid polkit when compiling for uclibc systems. (From OE-Core rev: 7eae02f47a08587cf5be3d39df0184cf346cbaea) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -3,10 +3,13 @@ SECTION = "x11/gnome"
|
||||
LICENSE = "LGPLv2+"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=55ca817ccb7d5b5b66355690e9abc605"
|
||||
|
||||
DEPENDS = "glib-2.0 gtk+ dbus dbus-glib libxml2 intltool-native polkit"
|
||||
POLKIT = "polkit"
|
||||
POLKIT_libc-uclibc = ""
|
||||
|
||||
DEPENDS = "glib-2.0 gtk+ dbus dbus-glib libxml2 intltool-native ${POLKIT}"
|
||||
DEPENDS_virtclass-native = "glib-2.0-native dbus-native dbus-glib-native libxml2-native intltool-native gnome-common-native"
|
||||
|
||||
PR = "r5"
|
||||
PR = "r6"
|
||||
|
||||
inherit gnomebase
|
||||
|
||||
@@ -21,6 +24,8 @@ S = "${WORKDIR}/GConf-${PV}"
|
||||
|
||||
POLKIT_OECONF = "--enable-defaults-service"
|
||||
POLKIT_OECONF_virtclass-native = "--disable-defaults-service"
|
||||
POLKIT_OECONF_libc-uclibc = "--disable-default-service"
|
||||
|
||||
GTKOECONF = "--with-gtk=2.0 --enable-gtk"
|
||||
GTKOECONF_virtclass-native = "--disable-gtk"
|
||||
EXTRA_OECONF = "--disable-gtk-doc --enable-shared --disable-static --enable-debug=yes \
|
||||
|
||||
Reference in New Issue
Block a user