diff options
author | Ross Burton <ross.burton@intel.com> | 2018-05-13 21:06:42 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-05-29 21:07:12 +0100 |
commit | 1bd65698fc52f9596851ef9f9b8381ed3680ec35 (patch) | |
tree | 1fe537aeb0439796a9dd1c4c7f62abe9fc937cf0 /meta/recipes-devtools/distcc | |
parent | d886fa118c930d0e551f2a0ed02b35d08617f746 (diff) | |
download | poky-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.bb | 29 |
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 | ||
8 | DEPENDS = "avahi binutils" | 8 | DEPENDS = "avahi binutils" |
9 | 9 | ||
10 | PACKAGECONFIG ??= "popt" | ||
11 | PACKAGECONFIG[gtk] = "--with-gtk,--without-gtk --without-gnome,gtk+" | ||
12 | # use system popt by default | ||
13 | PACKAGECONFIG[popt] = "--without-included-popt,--with-included-popt,popt" | ||
14 | |||
15 | RRECOMMENDS_${PN} = "avahi-daemon" | ||
16 | |||
10 | SRC_URI = "git://github.com/akuster/distcc.git;branch=${PV} \ | 17 | SRC_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 | |||
18 | SRCREV = "d8b18df3e9dcbe4f092bed565835d3975e99432c" | 24 | SRCREV = "d8b18df3e9dcbe4f092bed565835d3975e99432c" |
19 | |||
20 | S = "${WORKDIR}/git" | 25 | S = "${WORKDIR}/git" |
21 | 26 | ||
22 | inherit autotools pkgconfig update-rc.d useradd systemd | 27 | inherit autotools pkgconfig update-rc.d useradd systemd |
23 | 28 | ||
24 | PACKAGECONFIG ??= "popt" | 29 | EXTRA_OECONF += "--disable-Werror PYTHON='' --disable-pump-mode" |
25 | |||
26 | PACKAGECONFIG[gtk] = "--with-gtk,--without-gtk --without-gnome,gtk+" | ||
27 | # use system popt by default | ||
28 | PACKAGECONFIG[popt] = "--without-included-popt,--with-included-popt,popt" | ||
29 | |||
30 | EXTRA_OECONF += " \ | ||
31 | --disable-pump-mode \ | ||
32 | --disable-Werror \ | ||
33 | PYTHON='' \ | ||
34 | " | ||
35 | |||
36 | ASNEEDED = "" | ||
37 | 30 | ||
38 | USERADD_PACKAGES = "${PN}" | 31 | USERADD_PACKAGES = "${PN}" |
39 | USERADD_PARAM_${PN} = "--system \ | 32 | USERADD_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 | |||
63 | DESKTOPINSTALL = "" | 55 | DESKTOPINSTALL = "" |
64 | DESKTOPINSTALL_libc-glibc () { | 56 | DESKTOPINSTALL_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 | |||
69 | PACKAGES += "distcc-distmon-gnome" | 60 | PACKAGES += "distcc-distmon-gnome" |
70 | 61 | ||
71 | FILES_${PN} = " ${sysconfdir} \ | 62 | FILES_${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" |
77 | FILES_distcc-distmon-gnome = " ${bindir}/distccmon-gnome \ | 68 | FILES_distcc-distmon-gnome = " ${bindir}/distccmon-gnome \ |
78 | ${datadir}/distcc" | 69 | ${datadir}/distcc" |
79 | |||
80 | RRECOMMENDS_${PN} = "avahi-daemon" | ||