---
 dports/cross/i386-mingw32-binutils/Portfile        |    3 +++
 .../i386-mingw32-binutils/files/patch-configure    |   11 +++++++++++
 2 files changed, 14 insertions(+), 0 deletions(-)
 create mode 100644 dports/cross/i386-mingw32-binutils/files/patch-configure

diff --git a/dports/cross/i386-mingw32-binutils/Portfile b/dports/cross/i386-mingw32-binutils/Portfile
index 2b97b15..483a5c2 100644
--- a/dports/cross/i386-mingw32-binutils/Portfile
+++ b/dports/cross/i386-mingw32-binutils/Portfile
@@ -21,6 +21,9 @@ distname		binutils-${version}-src
 worksrcdir		binutils-${version}
 checksums		md5 42e3a665111121075480244cafc27ce7
 
+# patch for texinfo new version
+patchfiles    patch-configure
+
 # Build in a different directory, as advised in the README file.
 pre-configure   	{ system "cd ${workpath} && mkdir -p build"}
 configure.dir   	${workpath}/build
diff --git a/dports/cross/i386-mingw32-binutils/files/patch-configure b/dports/cross/i386-mingw32-binutils/files/patch-configure
new file mode 100644
index 0000000..8150430
--- /dev/null
+++ b/dports/cross/i386-mingw32-binutils/files/patch-configure
@@ -0,0 +1,11 @@
+--- configure   2008-10-11 20:11:51.000000000 -0600
++++ configure   2008-10-11 20:12:42.000000000 -0600
+@@ -3549,7 +3549,7 @@
+     # For an installed makeinfo, we require it to be from texinfo 4.2 or
+     # higher, else we use the "missing" dummy.
+     if ${MAKEINFO} --version \
+-       | egrep 'texinfo[^0-9]*([1-3][0-9]|4\.[2-9]|[5-9])' >/dev/null 2>&1; then
++       | egrep 'texinfo[^0-9]*(4\.([4-9]|[1-9][0-9])|[5-9]|[1-9][0-9])' >/dev/null 2>&1; then
+       :
+     else
+       MAKEINFO="$MISSING makeinfo"
-- 
1.6.0.2

