diff options
| -rw-r--r-- | meta/recipes-devtools/distcc/distcc_2.18.3.bb | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/meta/recipes-devtools/distcc/distcc_2.18.3.bb b/meta/recipes-devtools/distcc/distcc_2.18.3.bb index ec6ffb37fa..de181e5e87 100644 --- a/meta/recipes-devtools/distcc/distcc_2.18.3.bb +++ b/meta/recipes-devtools/distcc/distcc_2.18.3.bb | |||
| @@ -4,11 +4,15 @@ compilation of C/C++/ObjC code across machines on a network." | |||
| 4 | SECTION = "devel" | 4 | SECTION = "devel" |
| 5 | LICENSE = "GPLv2" | 5 | LICENSE = "GPLv2" |
| 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" | 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" |
| 7 | PR = "r7" | 7 | PR = "r8" |
| 8 | 8 | ||
| 9 | DEPENDS = "avahi ${GTKDEP}" | 9 | DEPENDS = "avahi" |
| 10 | GTKDEP_libc-uclibc = "" | 10 | |
| 11 | GTKDEP = "gtk+" | 11 | GTKCONFIG = "gtk" |
| 12 | GTKCONFIG_libc-uclibc = "" | ||
| 13 | |||
| 14 | PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'x11', '${GTKCONFIG}', '', d)}" | ||
| 15 | PACKAGECONFIG[gtk] = "--with-gtk,--without-gtk --without-gnome,gtk+" | ||
| 12 | 16 | ||
| 13 | RRECOMMENDS_${PN} = "avahi-daemon" | 17 | RRECOMMENDS_${PN} = "avahi-daemon" |
| 14 | 18 | ||
| @@ -28,8 +32,6 @@ inherit autotools pkgconfig update-rc.d | |||
| 28 | 32 | ||
| 29 | INITSCRIPT_NAME = "distcc" | 33 | INITSCRIPT_NAME = "distcc" |
| 30 | 34 | ||
| 31 | EXTRA_OECONF = "--with-gtk" | ||
| 32 | EXTRA_OECONF_libc-uclibc = "--without-gtk --without-gnome" | ||
| 33 | do_install_append() { | 35 | do_install_append() { |
| 34 | install -d ${D}${sysconfdir}/init.d/ | 36 | install -d ${D}${sysconfdir}/init.d/ |
| 35 | install -d ${D}${sysconfdir}/default | 37 | install -d ${D}${sysconfdir}/default |
