From patchwork Thu Jan 12 16:38:14 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [2/4] distcc: honor x11 DISTRO_FEATURE Date: Thu, 12 Jan 2012 16:38:14 -0000 From: Enrico Scholz X-Patchwork-Id: 19191 Message-Id: <1326386296-1526-3-git-send-email-enrico.scholz@sigma-chemnitz.de> To: openembedded-core@lists.openembedded.org Cc: Enrico Scholz 'distcc' can be used on headless system and it is desirable to avoid building of the gnome/gtk+ stacks. Signed-off-by: Enrico Scholz --- 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/