[92375] trunk/dports/cross/msp430-gcc-devel/Portfile

g5pw at macports.org g5pw at macports.org
Thu Apr 26 16:57:29 PDT 2012


Revision: 92375
          https://trac.macports.org/changeset/92375
Author:   g5pw at macports.org
Date:     2012-04-26 16:57:29 -0700 (Thu, 26 Apr 2012)
Log Message:
-----------
cross/msp430-gcc-devel:
Bump to 4.7.0-20120425
Using llvm-gcc instead of clang because there is a weird bug when gcc4.7 is built with clang, "Ran out of registers". I've got a similar situation with avr-gcc, Will have to contact the clang team and inquire.

Modified Paths:
--------------
    trunk/dports/cross/msp430-gcc-devel/Portfile

Modified: trunk/dports/cross/msp430-gcc-devel/Portfile
===================================================================
--- trunk/dports/cross/msp430-gcc-devel/Portfile	2012-04-26 22:03:53 UTC (rev 92374)
+++ trunk/dports/cross/msp430-gcc-devel/Portfile	2012-04-26 23:57:29 UTC (rev 92375)
@@ -4,7 +4,7 @@
 PortSystem              1.0
 PortGroup               crossgcc 1.0
 
-crossgcc.setup          msp430 4.6.2
+crossgcc.setup          msp430 4.7.0
 
 # Lets keep the value of $name provided by the crossgcc PortGroup.
 set name_package        $name
@@ -16,7 +16,7 @@
 extract.only            ${distfiles}
 
 # Set the correct version
-version                 ${version}-20120330
+version                 ${version}-20120425
 
 
 maintainers             g5pw
@@ -32,11 +32,11 @@
 patchfiles              ${name_package}-${version}.patch
 
 checksums               ${name_package}-${version}.patch \
-                        rmd160  c7895b5868c00b715b852a3ff7039cb0dd3a71df \
-                        sha256  5e3648aee104b7a8fa8d7acff9a2d9090b8c9bcb5273f140346818297b826cd8 \
+                        rmd160  78c3e4630277191a37ebbe449dff1449542f5d79 \
+                        sha256  83e832a0bf2b927fa5425b4168979ea027b2f701609e2a9f50a8edf7144e9a35 \
                         ${distname}${extract.suffix} \
-                        rmd160  e7041933b39629f9524848dcf81a1a4c02a225c6 \
-                        sha256  60b05463dfe18d40d68fb8a71b25b408a01f86cc6ceaf5e6b22238b6b0f450c2
+                        rmd160  4ed660b281cdb9bcf98f5c2cf2da105c71db5be4 \
+                        sha256  a680083e016f656dab7acd45b9729912e70e71bbffcbf0e3e8aa1cccf19dc9a5
 
 #we need the devel version of binutils!
 depends_lib-delete      port:msp430-binutils
@@ -46,5 +46,9 @@
 
 patch.pre_args          -p1
 
+if {${configure.compiler} == "clang"} {
+    configure.compiler      llvm-gcc-4.2
+}
+
 configure.args-delete --enable-languages="c,objc,c++,obj-c++"
 configure.args-append --enable-languages="c,c++"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120426/543221e0/attachment.html>


More information about the macports-changes mailing list