Ticket #15730: 0001-fix-for-makeinfo-error-when-building.patch

File 0001-fix-for-makeinfo-error-when-building.patch, 1.6 KB (added by jeremy@…, 16 years ago)

Fix for makeinfo error when building binutils

  • dports/cross/i386-mingw32-binutils/Portfile

    ---
     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 b distname binutils-${version}-src 
    2121worksrcdir              binutils-${version}
    2222checksums               md5 42e3a665111121075480244cafc27ce7
    2323
     24# patch for texinfo new version
     25patchfiles    patch-configure
     26
    2427# Build in a different directory, as advised in the README file.
    2528pre-configure           { system "cd ${workpath} && mkdir -p build"}
    2629configure.dir           ${workpath}/build
  • new file dports/cross/i386-mingw32-binutils/files/patch-configure

    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
    - +  
     1--- configure   2008-10-11 20:11:51.000000000 -0600
     2+++ configure   2008-10-11 20:12:42.000000000 -0600
     3@@ -3549,7 +3549,7 @@
     4     # For an installed makeinfo, we require it to be from texinfo 4.2 or
     5     # higher, else we use the "missing" dummy.
     6     if ${MAKEINFO} --version \
     7-       | egrep 'texinfo[^0-9]*([1-3][0-9]|4\.[2-9]|[5-9])' >/dev/null 2>&1; then
     8+       | egrep 'texinfo[^0-9]*(4\.([4-9]|[1-9][0-9])|[5-9]|[1-9][0-9])' >/dev/null 2>&1; then
     9       :
     10     else
     11       MAKEINFO="$MISSING makeinfo"