summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/distcc
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2018-05-13 21:06:42 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-05-29 21:07:12 +0100
commit1bd65698fc52f9596851ef9f9b8381ed3680ec35 (patch)
tree1fe537aeb0439796a9dd1c4c7f62abe9fc937cf0 /meta/recipes-devtools/distcc
parentd886fa118c930d0e551f2a0ed02b35d08617f746 (diff)
downloadpoky-1bd65698fc52f9596851ef9f9b8381ed3680ec35.tar.gz
Revert "distcc: move ASNEEDED over-ride into the distcc recipe"
This reverts commit 3fbec7916c401b987184f4b25dda39cf355b2a60. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/distcc')
-rw-r--r--meta/recipes-devtools/distcc/distcc_3.2.bb29
1 files changed, 9 insertions, 20 deletions
diff --git a/meta/recipes-devtools/distcc/distcc_3.2.bb b/meta/recipes-devtools/distcc/distcc_3.2.bb
index ee077495d5..66046480b9 100644
--- a/meta/recipes-devtools/distcc/distcc_3.2.bb
+++ b/meta/recipes-devtools/distcc/distcc_3.2.bb
@@ -7,6 +7,13 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
7 7
8DEPENDS = "avahi binutils" 8DEPENDS = "avahi binutils"
9 9
10PACKAGECONFIG ??= "popt"
11PACKAGECONFIG[gtk] = "--with-gtk,--without-gtk --without-gnome,gtk+"
12# use system popt by default
13PACKAGECONFIG[popt] = "--without-included-popt,--with-included-popt,popt"
14
15RRECOMMENDS_${PN} = "avahi-daemon"
16
10SRC_URI = "git://github.com/akuster/distcc.git;branch=${PV} \ 17SRC_URI = "git://github.com/akuster/distcc.git;branch=${PV} \
11 file://separatebuilddir.patch \ 18 file://separatebuilddir.patch \
12 file://0001-zeroconf-Include-fcntl.h.patch \ 19 file://0001-zeroconf-Include-fcntl.h.patch \
@@ -14,26 +21,12 @@ SRC_URI = "git://github.com/akuster/distcc.git;branch=${PV} \
14 file://distccmon-gnome.desktop \ 21 file://distccmon-gnome.desktop \
15 file://distcc \ 22 file://distcc \
16 file://distcc.service" 23 file://distcc.service"
17
18SRCREV = "d8b18df3e9dcbe4f092bed565835d3975e99432c" 24SRCREV = "d8b18df3e9dcbe4f092bed565835d3975e99432c"
19
20S = "${WORKDIR}/git" 25S = "${WORKDIR}/git"
21 26
22inherit autotools pkgconfig update-rc.d useradd systemd 27inherit autotools pkgconfig update-rc.d useradd systemd
23 28
24PACKAGECONFIG ??= "popt" 29EXTRA_OECONF += "--disable-Werror PYTHON='' --disable-pump-mode"
25
26PACKAGECONFIG[gtk] = "--with-gtk,--without-gtk --without-gnome,gtk+"
27# use system popt by default
28PACKAGECONFIG[popt] = "--without-included-popt,--with-included-popt,popt"
29
30EXTRA_OECONF += " \
31 --disable-pump-mode \
32 --disable-Werror \
33 PYTHON='' \
34"
35
36ASNEEDED = ""
37 30
38USERADD_PACKAGES = "${PN}" 31USERADD_PACKAGES = "${PN}"
39USERADD_PARAM_${PN} = "--system \ 32USERADD_PARAM_${PN} = "--system \
@@ -59,22 +52,18 @@ do_install() {
59 sed -i -e 's,@BINDIR@,${bindir},g' ${D}${systemd_unitdir}/system/distcc.service 52 sed -i -e 's,@BINDIR@,${bindir},g' ${D}${systemd_unitdir}/system/distcc.service
60 ${DESKTOPINSTALL} 53 ${DESKTOPINSTALL}
61} 54}
62
63DESKTOPINSTALL = "" 55DESKTOPINSTALL = ""
64DESKTOPINSTALL_libc-glibc () { 56DESKTOPINSTALL_libc-glibc () {
65 install -d ${D}${datadir}/distcc/ 57 install -d ${D}${datadir}/distcc/
66 install -m 0644 ${WORKDIR}/distccmon-gnome.desktop ${D}${datadir}/distcc/ 58 install -m 0644 ${WORKDIR}/distccmon-gnome.desktop ${D}${datadir}/distcc/
67} 59}
68
69PACKAGES += "distcc-distmon-gnome" 60PACKAGES += "distcc-distmon-gnome"
70 61
71FILES_${PN} = " ${sysconfdir} \ 62FILES_${PN} = " ${sysconfdir} \
72 ${bindir}/distcc \ 63 ${bindir}/distcc \
73 ${bindir}/lsdistcc \ 64 ${bindir}/lsdistcc \
74 ${bindir}/distccd \ 65 ${bindir}/distccd \
75 ${bindir}/distccmon-text \ 66 ${bindir}/distccmon-text \
76 ${systemd_unitdir}/system/distcc.service" 67 ${systemd_unitdir}/system/distcc.service"
77FILES_distcc-distmon-gnome = " ${bindir}/distccmon-gnome \ 68FILES_distcc-distmon-gnome = " ${bindir}/distccmon-gnome \
78 ${datadir}/distcc" 69 ${datadir}/distcc"
79
80RRECOMMENDS_${PN} = "avahi-daemon"