1 |
commit: 00ed64aebc52061bedaaf0511b041f388315beb9 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Dec 31 09:48:51 2017 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Dec 31 21:48:06 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=00ed64ae |
7 |
|
8 |
sys-libs/ncurses: Stop using awful multijob_* logic |
9 |
|
10 |
The multijob logic adds a lot of complex, unmaintained and fragile bash |
11 |
code with little gain. Moreover, makes build logs unreadable |
12 |
by interspersing output from multiple configure runs. |
13 |
|
14 |
Bug: https://bugs.gentoo.org/613322 |
15 |
|
16 |
sys-libs/ncurses/ncurses-5.9-r101.ebuild | 11 ++++------- |
17 |
sys-libs/ncurses/ncurses-6.0-r1.ebuild | 9 +++------ |
18 |
2 files changed, 7 insertions(+), 13 deletions(-) |
19 |
|
20 |
diff --git a/sys-libs/ncurses/ncurses-5.9-r101.ebuild b/sys-libs/ncurses/ncurses-5.9-r101.ebuild |
21 |
index 76b8a76d3a7..c722d68f320 100644 |
22 |
--- a/sys-libs/ncurses/ncurses-5.9-r101.ebuild |
23 |
+++ b/sys-libs/ncurses/ncurses-5.9-r101.ebuild |
24 |
@@ -1,11 +1,11 @@ |
25 |
-# Copyright 1999-2015 Gentoo Foundation |
26 |
+# Copyright 1999-2017 Gentoo Foundation |
27 |
# Distributed under the terms of the GNU General Public License v2 |
28 |
|
29 |
# This version is just for the ABI .5 library |
30 |
|
31 |
EAPI="5" |
32 |
|
33 |
-inherit eutils toolchain-funcs multilib-minimal multiprocessing |
34 |
+inherit eutils toolchain-funcs multilib-minimal |
35 |
|
36 |
MY_PV=${PV:0:3} |
37 |
MY_P=${PN}-${MY_PV} |
38 |
@@ -55,8 +55,6 @@ src_configure() { |
39 |
$(usex unicode 'ncursesw' '') |
40 |
) |
41 |
|
42 |
- multijob_init |
43 |
- |
44 |
# When installing ncurses, we have to use a compatible version of tic. |
45 |
# This comes up when cross-compiling, doing multilib builds, upgrading, |
46 |
# or installing for the first time. Build a local copy of tic whenever |
47 |
@@ -69,16 +67,15 @@ src_configure() { |
48 |
CXXFLAGS=${BUILD_CXXFLAGS} \ |
49 |
CPPFLAGS=${BUILD_CPPFLAGS} \ |
50 |
LDFLAGS="${BUILD_LDFLAGS} -static" \ |
51 |
- multijob_child_init do_configure cross --without-shared --with-normal |
52 |
+ do_configure cross --without-shared --with-normal |
53 |
fi |
54 |
multilib-minimal_src_configure |
55 |
- multijob_finish |
56 |
} |
57 |
|
58 |
multilib_src_configure() { |
59 |
local t |
60 |
for t in "${NCURSES_TARGETS[@]}" ; do |
61 |
- multijob_child_init do_configure "${t}" |
62 |
+ do_configure "${t}" |
63 |
done |
64 |
} |
65 |
|
66 |
|
67 |
diff --git a/sys-libs/ncurses/ncurses-6.0-r1.ebuild b/sys-libs/ncurses/ncurses-6.0-r1.ebuild |
68 |
index 2ab63de41d4..d98b23afb75 100644 |
69 |
--- a/sys-libs/ncurses/ncurses-6.0-r1.ebuild |
70 |
+++ b/sys-libs/ncurses/ncurses-6.0-r1.ebuild |
71 |
@@ -3,7 +3,7 @@ |
72 |
|
73 |
EAPI="5" |
74 |
|
75 |
-inherit eutils flag-o-matic toolchain-funcs multilib-minimal multiprocessing |
76 |
+inherit eutils flag-o-matic toolchain-funcs multilib-minimal |
77 |
|
78 |
MY_PV=${PV:0:3} |
79 |
PV_SNAP=${PV:4} |
80 |
@@ -61,8 +61,6 @@ src_configure() { |
81 |
$(use unicode && usex threads 'ncursestw' '') |
82 |
) |
83 |
|
84 |
- multijob_init |
85 |
- |
86 |
# When installing ncurses, we have to use a compatible version of tic. |
87 |
# This comes up when cross-compiling, doing multilib builds, upgrading, |
88 |
# or installing for the first time. Build a local copy of tic whenever |
89 |
@@ -87,16 +85,15 @@ src_configure() { |
90 |
CXXFLAGS=${BUILD_CXXFLAGS} \ |
91 |
CPPFLAGS=${BUILD_CPPFLAGS} \ |
92 |
LDFLAGS="${BUILD_LDFLAGS} ${lbuildflags}" \ |
93 |
- multijob_child_init do_configure cross --without-shared --with-normal |
94 |
+ do_configure cross --without-shared --with-normal |
95 |
fi |
96 |
multilib-minimal_src_configure |
97 |
- multijob_finish |
98 |
} |
99 |
|
100 |
multilib_src_configure() { |
101 |
local t |
102 |
for t in "${NCURSES_TARGETS[@]}" ; do |
103 |
- multijob_child_init do_configure "${t}" |
104 |
+ do_configure "${t}" |
105 |
done |
106 |
} |