Gentoo Archives: gentoo-dev

From: James Le Cuirot <chewi@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] [PATCH] autotools.eclass: reorder sysroot M4 include dir option
Date: Fri, 13 Mar 2020 21:04:32
Message-Id: 20200313210406.0bbb6bc3@symphony.aura-online.co.uk
In Reply to: [gentoo-dev] [PATCH] autotools.eclass: reorder sysroot M4 include dir option by David Michael
1 On Fri, 13 Mar 2020 14:23:48 -0400
2 David Michael <fedora.dm0@×××××.com> wrote:
3
4 > The old autoconf-2.13 version requires options to be specified
5 > before the file name argument, so packages with WANT_AUTOCONF="2.1"
6 > would fail to build in a sysroot with the -l option at the end.
7 >
8 > Closes: https://bugs.gentoo.org/710792
9 > Signed-off-by: David Michael <fedora.dm0@×××××.com>
10 > ---
11 > eclass/autotools.eclass | 4 ++--
12 > 1 file changed, 2 insertions(+), 2 deletions(-)
13 >
14 > diff --git a/eclass/autotools.eclass b/eclass/autotools.eclass
15 > index 9df0e1b9366..625abd0e9d1 100644
16 > --- a/eclass/autotools.eclass
17 > +++ b/eclass/autotools.eclass
18 > @@ -1,4 +1,4 @@
19 > -# Copyright 1999-2018 Gentoo Foundation
20 > +# Copyright 1999-2020 Gentoo Authors
21 > # Distributed under the terms of the GNU General Public License v2
22 >
23 > # @ECLASS: autotools.eclass
24 > @@ -512,7 +512,7 @@ autotools_run_tool() {
25 > fi
26 >
27 > if ${m4flags} ; then
28 > - set -- "${1}" $(autotools_m4dir_include) "${@:2}" $(autotools_m4sysdir_include)
29 > + set -- "${1}" $(autotools_m4dir_include) $(autotools_m4sysdir_include) "${@:2}"
30 > fi
31 >
32 > # If the caller wants to probe something, then let them do it directly.
33
34 NACK. Please see https://bugs.gentoo.org/710792#c4.
35
36 --
37 James Le Cuirot (chewi)
38 Gentoo Linux Developer