summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-devel/libtool/files/1.5.20/libtool-1.5.20-version-checking.patch')
-rw-r--r--sys-devel/libtool/files/1.5.20/libtool-1.5.20-version-checking.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys-devel/libtool/files/1.5.20/libtool-1.5.20-version-checking.patch b/sys-devel/libtool/files/1.5.20/libtool-1.5.20-version-checking.patch
index 63b8ef5be631..8d6f4f38172a 100644
--- a/sys-devel/libtool/files/1.5.20/libtool-1.5.20-version-checking.patch
+++ b/sys-devel/libtool/files/1.5.20/libtool-1.5.20-version-checking.patch
@@ -38,7 +38,7 @@ http://bugs.gentoo.org/73140
+])
+fi
+gentoo_lt_version="@_LT_VERSION@"
-+gentoo_ltmain_version=`grep '^@<:@ @:>@*VERSION=' $ltmain | sed -e 's|^@<:@ @:>@*VERSION=||'`
++gentoo_ltmain_version=`sed -n '/^[[ ]]*VERSION=/{s/^[[ ]]*VERSION=//;p;q;}' "$ltmain"`
+if test "x$gentoo_lt_version" != "x$gentoo_ltmain_version" ; then
+ AC_MSG_RESULT(no)
+ AC_MSG_ERROR([