diff options
author | Mike Frysinger <vapier@gentoo.org> | 2011-12-21 21:21:04 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2011-12-21 21:21:04 +0000 |
commit | ca01de6b49de7beee264b00272eaab9209b7dc80 (patch) | |
tree | 3d8aa92ddef3bcb625d39137547cfe1612cbbd7c /eclass/libtool.eclass | |
parent | Revbump adding upstream fixes, resolves bug #389309 thanks to László Szalma... (diff) | |
download | gentoo-2-ca01de6b49de7beee264b00272eaab9209b7dc80.tar.gz gentoo-2-ca01de6b49de7beee264b00272eaab9209b7dc80.tar.bz2 gentoo-2-ca01de6b49de7beee264b00272eaab9209b7dc80.zip |
elibtoolize: make sure header is included in logs too and not just the sub messages which rely on the context #395489 by Martin von Gagern
Diffstat (limited to 'eclass/libtool.eclass')
-rw-r--r-- | eclass/libtool.eclass | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/eclass/libtool.eclass b/eclass/libtool.eclass index 2c4188b752eb..9e5ff23ef20c 100644 --- a/eclass/libtool.eclass +++ b/eclass/libtool.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/libtool.eclass,v 1.97 2011/12/13 21:28:15 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/libtool.eclass,v 1.98 2011/12/21 21:21:04 vapier Exp $ # @ECLASS: libtool.eclass # @MAINTAINER: @@ -208,8 +208,10 @@ elibtoolize() { ${force} || continue fi - einfo "Running elibtoolize in: ${d#${WORKDIR}/}/" - if [[ -f ${d}/.elibtoolized ]] ; then + local outfunc="einfo" + [[ -f ${d}/.elibtoolized ]] && outfunc="ewarn" + ${outfunc} "Running elibtoolize in: ${d#${WORKDIR}/}/" + if [[ ${outfunc} == "ewarn" ]] ; then ewarn " We've already been run in this tree; you should" ewarn " avoid this if possible (perhaps by filing a bug)" fi |