Modified: trunk/dports/devel/libsdl/Portfile (87589 => 87590)
--- 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
}