[OE-core] [PATCH 2/4] distcc: honor x11 DISTRO_FEATURE
Enrico Scholz
enrico.scholz at sigma-chemnitz.de
Thu Jan 12 16:38:14 UTC 2012
'distcc' can be used on headless system and it is desirable to avoid
building of the gnome/gtk+ stacks.
Signed-off-by: Enrico Scholz <enrico.scholz at sigma-chemnitz.de>
---
meta/recipes-devtools/distcc/distcc_2.18.3.bb | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/meta/recipes-devtools/distcc/distcc_2.18.3.bb b/meta/recipes-devtools/distcc/distcc_2.18.3.bb
index ec6ffb3..8ceff9d 100644
--- a/meta/recipes-devtools/distcc/distcc_2.18.3.bb
+++ b/meta/recipes-devtools/distcc/distcc_2.18.3.bb
@@ -8,7 +8,7 @@ PR = "r7"
DEPENDS = "avahi ${GTKDEP}"
GTKDEP_libc-uclibc = ""
-GTKDEP = "gtk+"
+GTKDEP = "${@base_contains('DISTRO_FEATURES', 'x11', 'gtk+', '', d)}"
RRECOMMENDS_${PN} = "avahi-daemon"
@@ -28,7 +28,8 @@ inherit autotools pkgconfig update-rc.d
INITSCRIPT_NAME = "distcc"
-EXTRA_OECONF = "--with-gtk"
+EXTRA_OECONF = "${@base_contains('DISTRO_FEATURES', 'x11', \
+ '--with-gtk', '--without-gtk --without-gnome', d)}"
EXTRA_OECONF_libc-uclibc = "--without-gtk --without-gnome"
do_install_append() {
install -d ${D}${sysconfdir}/init.d/
--
1.7.7.5
More information about the Openembedded-core
mailing list