Revision: 105687 https://trac.macports.org/changeset/105687 Author: larryv@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
participants (1)
-
larryv@macports.org