diff options
-rw-r--r-- | eclass/autotools.eclass | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/eclass/autotools.eclass b/eclass/autotools.eclass index 20bf159..235c22f 100644 --- a/eclass/autotools.eclass +++ b/eclass/autotools.eclass @@ -46,7 +46,7 @@ inherit ehooker libtool multiprocessing # Do NOT change this variable in your ebuilds! # If you want to force a newer minor version, you can specify the correct # WANT value by using a colon: <PV>:<WANT_AUTOMAKE> -_LATEST_AUTOMAKE=( 1.12:1.12 1.13:1.13 ) +_LATEST_AUTOMAKE=( 1.13:1.13 1.14:1.14 ) _automake_atom="sys-devel/automake" _autoconf_atom="sys-devel/autoconf" @@ -90,7 +90,12 @@ if [[ -n ${WANT_LIBTOOL} ]] ; then export WANT_LIBTOOL fi -AUTOTOOLS_DEPEND="${_automake_atom} ${_autoconf_atom} ${_libtool_atom}" +# Force people (nicely) to upgrade to a newer version of gettext as +# older ones are known to be crappy. #496454 +AUTOTOOLS_DEPEND="!<sys-devel/gettext-0.18.1.1-r3 + ${_automake_atom} + ${_autoconf_atom} + ${_libtool_atom}" RDEPEND="" # @ECLASS-VARIABLE: AUTOTOOLS_AUTO_DEPEND @@ -216,8 +221,8 @@ eautoreconf() { if [[ ${AT_NOELIBTOOLIZE} != "yes" ]] ; then # Call it here to prevent failures due to elibtoolize called _before_ - # eautoreconf. We set $S because elibtoolize runs on that #265319 - S=${PWD} elibtoolize --force + # eautoreconf. + elibtoolize --force "${PWD}" fi if [[ -n ${multitop} ]] ; then @@ -386,8 +391,8 @@ eautomake() { # Older versions of automake do not support --force-missing. But we want # to use this whenever possible to update random bundled files #133489. case $(_automake_version) in - 1.4|1.4[.-]*) ;; - *) extra_opts+=( --force-missing ) ;; + 1.4|1.4[.-]*) ;; + *) extra_opts+=( --force-missing ) ;; esac autotools_run_tool automake --add-missing --copy "${extra_opts[@]}" "$@" |