From 1cadaa8d3f372e03036530299a699baa9a176130 Mon Sep 17 00:00:00 2001 From: Leon Woestenberg Date: Tue, 29 Apr 2008 23:51:31 +0000 Subject: Fix for issues when system's texinfo version >= 4.10 --- packages/binutils/binutils.inc | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'packages/binutils/binutils.inc') 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 -- cgit v1.2.3 From 0970057a1b0c654384a46c2361888322eb614d5e Mon Sep 17 00:00:00 2001 From: Leon Woestenberg Date: Wed, 30 Apr 2008 11:33:57 +0000 Subject: binutils.inc: Reworked sed expression and tested to work. --- packages/binutils/binutils.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packages/binutils/binutils.inc') diff --git a/packages/binutils/binutils.inc b/packages/binutils/binutils.inc index 8cbdbe7f3e..49d3aeaa3c 100644 --- a/packages/binutils/binutils.inc +++ b/packages/binutils/binutils.inc @@ -70,7 +70,7 @@ do_configure () { # 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' + 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 # -- cgit v1.2.3