summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2018-09-17 09:19:34 +0200
committerMichał Górny <mgorny@gentoo.org>2018-09-17 09:19:34 +0200
commit859d78589eeb645ed87ef2a74e2cfea260381bb2 (patch)
tree03f808cdd568872bd4e97cadb35f0ca5fcefd8d4 /eclass/bsdmk.eclass
parentdev-python/pygit2: Bump to 0.27.2 (diff)
downloadgentoo-859d78589eeb645ed87ef2a74e2cfea260381bb2.tar.gz
gentoo-859d78589eeb645ed87ef2a74e2cfea260381bb2.tar.bz2
gentoo-859d78589eeb645ed87ef2a74e2cfea260381bb2.zip
bsdmk.eclass: Add verbose output of bmake calls
Diffstat (limited to 'eclass/bsdmk.eclass')
-rw-r--r--eclass/bsdmk.eclass8
1 files changed, 6 insertions, 2 deletions
diff --git a/eclass/bsdmk.eclass b/eclass/bsdmk.eclass
index ed5870b61653..4286a36b745f 100644
--- a/eclass/bsdmk.eclass
+++ b/eclass/bsdmk.eclass
@@ -38,7 +38,9 @@ mkmake() {
tc-export CC CXX LD RANLIB
- ${BMAKE} ${MAKEOPTS} ${EXTRA_EMAKE} ${mymakeopts} NO_WERROR= STRIP= "$@"
+ set -- ${BMAKE} ${MAKEOPTS} ${EXTRA_EMAKE} ${mymakeopts} NO_WERROR= STRIP= "$@"
+ echo "${@}"
+ "${@}"
}
# @FUNCTION: mkinstall
@@ -51,7 +53,9 @@ mkinstall() {
# STRIP= will replace the default value of -s, leaving to portage the
# task of stripping executables.
- ${BMAKE} ${mymakeopts} NO_WERROR= STRIP= MANSUBDIR= DESTDIR="${D}" "$@" install
+ set -- ${BMAKE} ${mymakeopts} NO_WERROR= STRIP= MANSUBDIR= DESTDIR="${D}" "$@" install
+ echo "${@}"
+ "${@}"
}
# @FUNCTION: dummy_mk