1 |
--- |
2 |
gx86/eclass/distutils-r1.eclass | 20 +++++++++++++++----- |
3 |
1 file changed, 15 insertions(+), 5 deletions(-) |
4 |
|
5 |
diff --git a/gx86/eclass/distutils-r1.eclass b/gx86/eclass/distutils-r1.eclass |
6 |
index 80734c5..71c2e67 100644 |
7 |
--- a/gx86/eclass/distutils-r1.eclass |
8 |
+++ b/gx86/eclass/distutils-r1.eclass |
9 |
@@ -497,6 +497,16 @@ _distutils-r1_multijob_init() { |
10 |
multijob_init "${opts}" |
11 |
} |
12 |
|
13 |
+# @FUNCTION: _distutils-r1_multijob_finish |
14 |
+# @INTERNAL |
15 |
+# @DESCRIPTION: |
16 |
+# Finish multijob if used. |
17 |
+_distutils-r1_multijob_finish() { |
18 |
+ debug-print-function ${FUNCNAME} "${@}" |
19 |
+ |
20 |
+ multijob_finish |
21 |
+} |
22 |
+ |
23 |
distutils-r1_src_prepare() { |
24 |
debug-print-function ${FUNCNAME} "${@}" |
25 |
|
26 |
@@ -511,7 +521,7 @@ distutils-r1_src_prepare() { |
27 |
if declare -f python_prepare >/dev/null; then |
28 |
python_foreach_impl distutils-r1_run_phase python_prepare |
29 |
fi |
30 |
- multijob_finish |
31 |
+ _distutils-r1_multijob_finish |
32 |
} |
33 |
|
34 |
distutils-r1_src_configure() { |
35 |
@@ -519,7 +529,7 @@ distutils-r1_src_configure() { |
36 |
if declare -f python_configure >/dev/null; then |
37 |
python_foreach_impl distutils-r1_run_phase python_configure |
38 |
fi |
39 |
- multijob_finish |
40 |
+ _distutils-r1_multijob_finish |
41 |
|
42 |
if declare -f python_configure_all >/dev/null; then |
43 |
_distutils-r1_run_common_phase python_configure_all |
44 |
@@ -535,7 +545,7 @@ distutils-r1_src_compile() { |
45 |
else |
46 |
python_foreach_impl distutils-r1_run_phase distutils-r1_python_compile |
47 |
fi |
48 |
- multijob_finish |
49 |
+ _distutils-r1_multijob_finish |
50 |
|
51 |
if declare -f python_compile_all >/dev/null; then |
52 |
_distutils-r1_run_common_phase python_compile_all |
53 |
@@ -549,7 +559,7 @@ distutils-r1_src_test() { |
54 |
if declare -f python_test >/dev/null; then |
55 |
python_foreach_impl distutils-r1_run_phase python_test |
56 |
fi |
57 |
- multijob_finish |
58 |
+ _distutils-r1_multijob_finish |
59 |
|
60 |
if declare -f python_test_all >/dev/null; then |
61 |
_distutils-r1_run_common_phase python_test_all |
62 |
@@ -565,7 +575,7 @@ distutils-r1_src_install() { |
63 |
else |
64 |
python_foreach_impl distutils-r1_run_phase distutils-r1_python_install |
65 |
fi |
66 |
- multijob_finish |
67 |
+ _distutils-r1_multijob_finish |
68 |
|
69 |
if declare -f python_install_all >/dev/null; then |
70 |
_distutils-r1_run_common_phase python_install_all |
71 |
-- |
72 |
1.8.1.1 |