[87590] trunk/dports/devel/libsdl/Portfile

jmr at macports.org jmr at macports.org
Sun Nov 27 02:29:52 PST 2011


Revision: 87590
          http://trac.macports.org/changeset/87590
Author:   jmr at macports.org
Date:     2011-11-27 02:29:46 -0800 (Sun, 27 Nov 2011)
Log Message:
-----------
libsdl: clang crash workaround is still needed with Xcode 4.2.1

Modified Paths:
--------------
    trunk/dports/devel/libsdl/Portfile

Modified: trunk/dports/devel/libsdl/Portfile
===================================================================
--- trunk/dports/devel/libsdl/Portfile	2011-11-27 09:51:13 UTC (rev 87589)
+++ trunk/dports/devel/libsdl/Portfile	2011-11-27 10:29:46 UTC (rev 87590)
@@ -33,7 +33,7 @@
                     rmd160  a3a9a691f5510eb5327ca159a034f55a70cb5801
 
 minimum_xcodeversions {8 2.4.1}
-if {$xcodeversion == "4.2" && ($build_arch == "i386" || [variant_isset universal])} {
+if {[vercmp $xcodeversion 4.2] >= 0 && [vercmp $xcodeversion 4.2.1] <= 0 && ($build_arch == "i386" || [variant_isset universal])} {
     # clang crashes with -O2, ticket #31649
     configure.optflags -Os
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111127/23530aee/attachment.html>


More information about the macports-changes mailing list