[76020] trunk/dports/cross/m68k-elf-binutils
jmr at macports.org
jmr at macports.org
Wed Feb 16 04:45:18 PST 2011
Revision: 76020
http://trac.macports.org/changeset/76020
Author: jmr at macports.org
Date: 2011-02-16 04:45:16 -0800 (Wed, 16 Feb 2011)
Log Message:
-----------
m68k-elf-binutils: fix build
Modified Paths:
--------------
trunk/dports/cross/m68k-elf-binutils/Portfile
Added Paths:
-----------
trunk/dports/cross/m68k-elf-binutils/files/
trunk/dports/cross/m68k-elf-binutils/files/binutils-makeinfo-check.patch
Modified: trunk/dports/cross/m68k-elf-binutils/Portfile
===================================================================
--- trunk/dports/cross/m68k-elf-binutils/Portfile 2011-02-16 11:22:35 UTC (rev 76019)
+++ trunk/dports/cross/m68k-elf-binutils/Portfile 2011-02-16 12:45:16 UTC (rev 76020)
@@ -32,7 +32,8 @@
configure.dir ${workpath}/build
configure.cmd ${worksrcpath}/configure
configure.args --infodir='${prefix}/share/info' --target=${crossgcc-target} \
- --program-prefix=${crossgcc-target}- --mandir='${prefix}/share/man'
+ --program-prefix=${crossgcc-target}- --mandir='${prefix}/share/man' \
+ --disable-werror
build.dir ${workpath}/build
# We don't want the etc module.
@@ -40,7 +41,8 @@
system "rm -rf ${worksrcpath}/etc"
}
-patch {
+patchfiles binutils-makeinfo-check.patch
+post-patch {
namespace eval crossgcc {}
# Fix the info pages and related stuff.
Added: trunk/dports/cross/m68k-elf-binutils/files/binutils-makeinfo-check.patch
===================================================================
--- trunk/dports/cross/m68k-elf-binutils/files/binutils-makeinfo-check.patch (rev 0)
+++ trunk/dports/cross/m68k-elf-binutils/files/binutils-makeinfo-check.patch 2011-02-16 12:45:16 UTC (rev 76020)
@@ -0,0 +1,11 @@
+--- configure.orig 2008-08-25 10:47:59.000000000 +0200
++++ configure 2008-08-25 10:48:35.000000000 +0200
+@@ -3679,7 +3679,7 @@
+ # For an installed makeinfo, we require it to be from texinfo 4.4 or
+ # higher, else we use the "missing" dummy.
+ if ${MAKEINFO} --version \
+- | egrep 'texinfo[^0-9]*([1-3][0-9]|4\.[4-9]|[5-9])' >/dev/null 2>&1; then
++ | egrep 'texinfo[^0-9]*([1-3][0-9]|4\.([4-9]|[1-9][0-9])|[5-9])' >/dev/null 2>&1; then
+ :
+ else
+ MAKEINFO="$MISSING makeinfo"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110216/2cbe16c3/attachment.html>
More information about the macports-changes
mailing list