---
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 |
21 | 21 | worksrcdir binutils-${version} |
22 | 22 | checksums md5 42e3a665111121075480244cafc27ce7 |
23 | 23 | |
| 24 | # patch for texinfo new version |
| 25 | patchfiles patch-configure |
| 26 | |
24 | 27 | # Build in a different directory, as advised in the README file. |
25 | 28 | pre-configure { system "cd ${workpath} && mkdir -p build"} |
26 | 29 | 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
-
|
+
|
|
| 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" |