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
On Monday 21 May 2012 02:41:18 Alexandre Rostovtsev wrote:
> On Sun, 2012-05-20 at 06:32 -0400, Mike Frysinger wrote: > > i've extended eautoreconf to automatically call autopoint when the > > package uses gettext. the configure check might seem naïve, but this is > > how autoreconf itself does it. this hopefully shouldn't break any > > packages (at least, none that weren't already broken), but if you guys > > start seeing eautoreconf failures where there were none before, feel > > free to cc base-system. -mike > > > > --- autotools.eclass > > +++ autotools.eclass > > @@ -162,6 +162,9 @@ eautoreconf() { > > > > einfo "Running eautoreconf in '${PWD}' ..." > > [[ -n ${auxdir}${macdir} ]] && mkdir -p ${auxdir} ${macdir} > > eaclocal > > > > + if grep -q '^AM_GNU_GETTEXT_VERSION' configure.?? ; then > > + eautopoint --force > > + fi > > > > [[ ${CHOST} == *-darwin* ]] && g=g > > if ${LIBTOOLIZE:-${g}libtoolize} -n --install >& /dev/null ; then > > > > _elibtoolize --copy --force --install > > This change broke many gnome-related packages, see bug #416789
should be fixed: http://sources.gentoo.org/eclass/autotools.eclass?r1=1.139&r2=1.140 end packages that use intltoolize must depend on it themselves -mike

Attachments

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