dbus: disable libaudit for all and X for native packages (from POKY)
authorMartin Jansa <Martin.Jansa@gmail.com>
Fri, 13 Nov 2009 10:31:47 +0000 (11:31 +0100)
committerMartin Jansa <Martin.Jansa@gmail.com>
Fri, 13 Nov 2009 12:09:03 +0000 (13:09 +0100)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
recipes/dbus/dbus-native_1.0.3.bb
recipes/dbus/dbus-native_1.2.1.bb
recipes/dbus/dbus.inc

index 6ec0fc8..98b389e 100644 (file)
@@ -5,6 +5,8 @@ DEFAULT_PREFERENCE = "-1"
 
 inherit native
 
+EXTRA_OECONF_X = "--without-x"
+
 DEPENDS = "glib-2.0-native libxml2-native expat-native"
 FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/dbus-${PV}"
 
index ffdddf2..f9f87dc 100644 (file)
@@ -4,6 +4,8 @@ RRECOMMENDS_${PN} = ""
 RDEPENDS_${PN} = ""
 inherit native
 
+EXTRA_OECONF_X = "--without-x"
+
 DEPENDS = "glib-2.0-native libxml2-native expat-native"
 FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/dbus-${PV}"
 
index 202aec4..0477a27 100644 (file)
@@ -4,7 +4,7 @@ SECTION = "base"
 LICENSE = "GPL"
 DEPENDS = "expat glib-2.0 virtual/libintl libsm libice virtual/libx11"
 
-INC_PR = "r16"
+INC_PR = "r17"
 
 SRC_URI = "\
   http://dbus.freedesktop.org/releases/dbus/dbus-${PV}.tar.gz \
@@ -19,6 +19,8 @@ S = "${WORKDIR}/dbus-${PV}"
 
 inherit autotools pkgconfig update-rc.d gettext
 
+EXTRA_OECONF_X = "--with-x"
+
 EXTRA_OECONF = "\
   --disable-qt \
   --disable-qt3 \
@@ -27,9 +29,10 @@ EXTRA_OECONF = "\
   --disable-checks \
   --disable-xml-docs \
   --disable-doxygen-docs \
+  --disable-libaudit \
   --with-xml=expat \
-  --with-x \
   --with-dbus-default-reply-timeout=200000 \
+  ${EXTRA_OECONF_X} \
 "
 
 do_compile_prepend_mipsel() {