[105687] trunk/dports/lang/rust/Portfile

larryv at macports.org larryv at macports.org
Wed May 1 17:15:25 PDT 2013


Revision: 105687
          https://trac.macports.org/changeset/105687
Author:   larryv at macports.org
Date:     2013-05-01 17:15:25 -0700 (Wed, 01 May 2013)
Log Message:
-----------
rust: Cover all older FSF GCC when removing -arch flags.

Modified Paths:
--------------
    trunk/dports/lang/rust/Portfile

Modified: trunk/dports/lang/rust/Portfile
===================================================================
--- trunk/dports/lang/rust/Portfile	2013-05-02 00:14:29 UTC (rev 105686)
+++ trunk/dports/lang/rust/Portfile	2013-05-02 00:15:25 UTC (rev 105687)
@@ -105,7 +105,7 @@
     reinplace {s/ -Werror//} ${worksrcpath}/mk/platform.mk
 
     # FSF GCC older than 4.7 does not accept -arch.
-    if {[string match {macports-gcc-4.[4-6]} ${configure.compiler}] ||
+    if {[string match {macports-gcc-4.[2-6]} ${configure.compiler}] ||
         [string match {macports-dragonegg-3.[0-2]} ${configure.compiler}]
     } then {
         reinplace -E {s/ -arch (i386|x86_64)//} ${worksrcpath}/mk/platform.mk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130501/63be372e/attachment.html>


More information about the macports-changes mailing list