summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeon Woestenberg <leon.woestenberg@gmail.com>2008-04-29 23:51:31 +0000
committerLeon Woestenberg <leon.woestenberg@gmail.com>2008-04-29 23:51:31 +0000
commit1cadaa8d3f372e03036530299a699baa9a176130 (patch)
treef9e75f365cf1ac67b16b543862301a5dbdc90154
parentcdf928e1bd0916c9e8f5edee7cbb870c0e8cf33e (diff)
Fix for issues when system's texinfo version >= 4.10
-rw-r--r--packages/binutils/binutils.inc5
1 files changed, 5 insertions, 0 deletions
diff --git a/packages/binutils/binutils.inc b/packages/binutils/binutils.inc
index 684cf54b8e..8cbdbe7f3e 100644
--- a/packages/binutils/binutils.inc
+++ b/packages/binutils/binutils.inc
@@ -67,6 +67,11 @@ export CC = "${CCACHE}${HOST_PREFIX}gcc ${HOST_CC_ARCH}"
do_configure () {
(cd ${S}; gnu-configize) || die "Failed to run gnu-configize"
+
+ # Fix for issues when system's texinfo version >= 4.10
+ # (See https://bugzilla.redhat.com/show_bug.cgi?id=345621)
+ sed -i -e 's/egrep `texinfo.*`/egrep `texinfo[^0-9]*([1-3][0-9]|4\.[4-9]|4.[1-9][0-9]+|[5-9])`/' '${S}/configure'
+
oe_runconf
#
# must prime config.cache to ensure the build of libiberty