summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Michael <fedora.dm0@gmail.com>2020-03-13 14:23:48 -0400
committerMike Gilbert <floppym@gentoo.org>2020-03-15 14:46:11 -0400
commit53678d996f4fda6eff08e5eeed3a518004a8e1dc (patch)
tree3c0377a4a68589a9a12c5d0f80ac0ec7a082df18 /eclass/autotools.eclass
parentfcaps.eclass: use BDEPEND for EAPI 7 (diff)
downloadgentoo-53678d996f4fda6eff08e5eeed3a518004a8e1dc.tar.gz
gentoo-53678d996f4fda6eff08e5eeed3a518004a8e1dc.tar.bz2
gentoo-53678d996f4fda6eff08e5eeed3a518004a8e1dc.zip
autotools.eclass: reorder sysroot M4 include dir option
The old autoconf-2.13 version requires options to be specified before the file name argument, so packages with WANT_AUTOCONF="2.1" would fail to build in a sysroot with the -l option at the end. Closes: https://bugs.gentoo.org/710792 Signed-off-by: David Michael <fedora.dm0@gmail.com> Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'eclass/autotools.eclass')
-rw-r--r--eclass/autotools.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/autotools.eclass b/eclass/autotools.eclass
index 9df0e1b93663..625abd0e9d12 100644
--- a/eclass/autotools.eclass
+++ b/eclass/autotools.eclass
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# @ECLASS: autotools.eclass
@@ -512,7 +512,7 @@ autotools_run_tool() {
fi
if ${m4flags} ; then
- set -- "${1}" $(autotools_m4dir_include) "${@:2}" $(autotools_m4sysdir_include)
+ set -- "${1}" $(autotools_m4dir_include) $(autotools_m4sysdir_include) "${@:2}"
fi
# If the caller wants to probe something, then let them do it directly.