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 |