Gentoo Archives: gentoo-commits

From: "Mike Frysinger (vapier)" <vapier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in eclass: libtool.eclass
Date: Wed, 21 Dec 2011 21:21:15
Message-Id: 20111221212104.866C12004B@flycatcher.gentoo.org
1 vapier 11/12/21 21:21:04
2
3 Modified: libtool.eclass
4 Log:
5 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
6
7 Revision Changes Path
8 1.98 eclass/libtool.eclass
9
10 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/libtool.eclass?rev=1.98&view=markup
11 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/libtool.eclass?rev=1.98&content-type=text/plain
12 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/libtool.eclass?r1=1.97&r2=1.98
13
14 Index: libtool.eclass
15 ===================================================================
16 RCS file: /var/cvsroot/gentoo-x86/eclass/libtool.eclass,v
17 retrieving revision 1.97
18 retrieving revision 1.98
19 diff -u -r1.97 -r1.98
20 --- libtool.eclass 13 Dec 2011 21:28:15 -0000 1.97
21 +++ libtool.eclass 21 Dec 2011 21:21:04 -0000 1.98
22 @@ -1,6 +1,6 @@
23 # Copyright 1999-2011 Gentoo Foundation
24 # Distributed under the terms of the GNU General Public License v2
25 -# $Header: /var/cvsroot/gentoo-x86/eclass/libtool.eclass,v 1.97 2011/12/13 21:28:15 vapier Exp $
26 +# $Header: /var/cvsroot/gentoo-x86/eclass/libtool.eclass,v 1.98 2011/12/21 21:21:04 vapier Exp $
27
28 # @ECLASS: libtool.eclass
29 # @MAINTAINER:
30 @@ -208,8 +208,10 @@
31 ${force} || continue
32 fi
33
34 - einfo "Running elibtoolize in: ${d#${WORKDIR}/}/"
35 - if [[ -f ${d}/.elibtoolized ]] ; then
36 + local outfunc="einfo"
37 + [[ -f ${d}/.elibtoolized ]] && outfunc="ewarn"
38 + ${outfunc} "Running elibtoolize in: ${d#${WORKDIR}/}/"
39 + if [[ ${outfunc} == "ewarn" ]] ; then
40 ewarn " We've already been run in this tree; you should"
41 ewarn " avoid this if possible (perhaps by filing a bug)"
42 fi