[89280] trunk/dports/cross/arm-none-linux-gnueabi-gcc/Portfile
jmr at macports.org
jmr at macports.org
Sun Jan 22 19:26:02 PST 2012
Revision: 89280
http://trac.macports.org/changeset/89280
Author: jmr at macports.org
Date: 2012-01-22 19:25:59 -0800 (Sun, 22 Jan 2012)
Log Message:
-----------
arm-none-linux-gnueabi-gcc: fix bad yacc code (#28296), and only depend on binutils once
Modified Paths:
--------------
trunk/dports/cross/arm-none-linux-gnueabi-gcc/Portfile
Modified: trunk/dports/cross/arm-none-linux-gnueabi-gcc/Portfile
===================================================================
--- trunk/dports/cross/arm-none-linux-gnueabi-gcc/Portfile 2012-01-23 03:17:59 UTC (rev 89279)
+++ trunk/dports/cross/arm-none-linux-gnueabi-gcc/Portfile 2012-01-23 03:25:59 UTC (rev 89280)
@@ -31,11 +31,7 @@
# Download everything to gcc/
dist_subdir gcc
-depends_lib bin:${crossgcc-target}-ar:${crossgcc-target}-binutils \
- bin:${crossgcc-target}-as:${crossgcc-target}-binutils \
- bin:${crossgcc-target}-ld:${crossgcc-target}-binutils \
- bin:${crossgcc-target}-nm:${crossgcc-target}-binutils \
- bin:${crossgcc-target}-ranlib:${crossgcc-target}-binutils \
+depends_lib port:${crossgcc-target}-binutils \
port:${crossgcc-target}-runtime
depends_build bin:msgfmt:gettext
@@ -53,6 +49,9 @@
NM_FOR_TARGET=${crossgcc-target}-nm \
RANLIB_FOR_TARGET=${crossgcc-target}-ranlib]
+# fix bad yacc code, ticket #28296
+patchfiles c-parse.in.patch
+
# Build in a different directory, as advised in the README file.
pre-configure {
file mkdir "${workpath}/build"
@@ -104,7 +103,7 @@
configure.args-delete ${default-languages}
}
-patch {
+post-patch {
namespace eval crossgcc {}
# Fix the info pages and related stuff.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120122/365e734c/attachment-0001.html>
More information about the macports-changes
mailing list