diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2007-11-12 15:23:37 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2007-11-12 15:23:37 +0000 |
commit | a27d5bc320db71546349d4c8ab1f6fab3dca6b7c (patch) | |
tree | 27df24bec620366980140b38fb48feb4245f8f47 /eclass/toolchain.eclass | |
parent | 'Remove old version.' (diff) | |
download | gentoo-2-a27d5bc320db71546349d4c8ab1f6fab3dca6b7c.tar.gz gentoo-2-a27d5bc320db71546349d4c8ab1f6fab3dca6b7c.tar.bz2 gentoo-2-a27d5bc320db71546349d4c8ab1f6fab3dca6b7c.zip |
Apply the texinfo fix only on GCC 4, as GCC 3.4 does not have that
codepath anyway, and was failing unpack.
Diffstat (limited to 'eclass/toolchain.eclass')
-rw-r--r-- | eclass/toolchain.eclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass index 9d40ea99d83f..64c0fc9591d2 100644 --- a/eclass/toolchain.eclass +++ b/eclass/toolchain.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.340 2007/11/11 20:29:26 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.341 2007/11/12 15:23:37 flameeyes Exp $ # # Maintainer: Toolchain Ninjas <toolchain@gentoo.org> @@ -1097,7 +1097,7 @@ gcc_src_unpack() { # update configure files local f einfo "Fixing misc issues in configure files" - epatch "${GCC_FILESDIR}"/gcc-configure-texinfo.patch + [[ ${GCCMAJOR} == 4 ]] && epatch "${GCC_FILESDIR}"/gcc-configure-texinfo.patch for f in $(grep -l 'autoconf version 2.13' $(find "${S}" -name configure)) ; do ebegin " Updating ${f/${S}\/} [LANG]" patch "${f}" "${GCC_FILESDIR}"/gcc-configure-LANG.patch >& "${T}"/configure-patch.log \ |