Gentoo Archives: gentoo-dev

From: Mike Frysinger <vapier@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] autotools.eclass:eautoreconf now runs autopoint for you
Date: Mon, 21 May 2012 17:55:39
Message-Id: 201205211354.55018.vapier@gentoo.org
In Reply to: Re: [gentoo-dev] autotools.eclass:eautoreconf now runs autopoint for you by Alexandre Rostovtsev
1 On Monday 21 May 2012 02:41:18 Alexandre Rostovtsev wrote:
2 > On Sun, 2012-05-20 at 06:32 -0400, Mike Frysinger wrote:
3 > > i've extended eautoreconf to automatically call autopoint when the
4 > > package uses gettext. the configure check might seem naïve, but this is
5 > > how autoreconf itself does it. this hopefully shouldn't break any
6 > > packages (at least, none that weren't already broken), but if you guys
7 > > start seeing eautoreconf failures where there were none before, feel
8 > > free to cc base-system. -mike
9 > >
10 > > --- autotools.eclass
11 > > +++ autotools.eclass
12 > > @@ -162,6 +162,9 @@ eautoreconf() {
13 > >
14 > > einfo "Running eautoreconf in '${PWD}' ..."
15 > > [[ -n ${auxdir}${macdir} ]] && mkdir -p ${auxdir} ${macdir}
16 > > eaclocal
17 > >
18 > > + if grep -q '^AM_GNU_GETTEXT_VERSION' configure.?? ; then
19 > > + eautopoint --force
20 > > + fi
21 > >
22 > > [[ ${CHOST} == *-darwin* ]] && g=g
23 > > if ${LIBTOOLIZE:-${g}libtoolize} -n --install >& /dev/null ; then
24 > >
25 > > _elibtoolize --copy --force --install
26 >
27 > This change broke many gnome-related packages, see bug #416789
28
29 should be fixed:
30 http://sources.gentoo.org/eclass/autotools.eclass?r1=1.139&r2=1.140
31
32 end packages that use intltoolize must depend on it themselves
33 -mike

Attachments

File name MIME type
signature.asc application/pgp-signature