1 |
commit: 859d78589eeb645ed87ef2a74e2cfea260381bb2 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Sep 17 07:19:34 2018 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Sep 17 07:19:34 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=859d7858 |
7 |
|
8 |
bsdmk.eclass: Add verbose output of bmake calls |
9 |
|
10 |
eclass/bsdmk.eclass | 8 ++++++-- |
11 |
1 file changed, 6 insertions(+), 2 deletions(-) |
12 |
|
13 |
diff --git a/eclass/bsdmk.eclass b/eclass/bsdmk.eclass |
14 |
index ed5870b6165..4286a36b745 100644 |
15 |
--- a/eclass/bsdmk.eclass |
16 |
+++ b/eclass/bsdmk.eclass |
17 |
@@ -38,7 +38,9 @@ mkmake() { |
18 |
|
19 |
tc-export CC CXX LD RANLIB |
20 |
|
21 |
- ${BMAKE} ${MAKEOPTS} ${EXTRA_EMAKE} ${mymakeopts} NO_WERROR= STRIP= "$@" |
22 |
+ set -- ${BMAKE} ${MAKEOPTS} ${EXTRA_EMAKE} ${mymakeopts} NO_WERROR= STRIP= "$@" |
23 |
+ echo "${@}" |
24 |
+ "${@}" |
25 |
} |
26 |
|
27 |
# @FUNCTION: mkinstall |
28 |
@@ -51,7 +53,9 @@ mkinstall() { |
29 |
|
30 |
# STRIP= will replace the default value of -s, leaving to portage the |
31 |
# task of stripping executables. |
32 |
- ${BMAKE} ${mymakeopts} NO_WERROR= STRIP= MANSUBDIR= DESTDIR="${D}" "$@" install |
33 |
+ set -- ${BMAKE} ${mymakeopts} NO_WERROR= STRIP= MANSUBDIR= DESTDIR="${D}" "$@" install |
34 |
+ echo "${@}" |
35 |
+ "${@}" |
36 |
} |
37 |
|
38 |
# @FUNCTION: dummy_mk |