Revision
81315
Author
jmr@macports.org
Date
2011-07-29 03:09:41 -0700 (Fri, 29 Jul 2011)

Log Message

bzflag: disable SDL test correctly, add darwin 10 patches on darwin 11 too

Modified Paths

Diff

Modified: trunk/dports/games/bzflag/Portfile (81314 => 81315)


--- trunk/dports/games/bzflag/Portfile	2011-07-29 10:02:02 UTC (rev 81314)
+++ trunk/dports/games/bzflag/Portfile	2011-07-29 10:09:41 UTC (rev 81315)
@@ -34,7 +34,7 @@
                     --libdir=${prefix}/lib/${name} \
                     --includedir=${prefix}/include/${name} \
                     --with-sdl-exec-prefix=${prefix} \
-                    --disable-sdl-test \
+                    --disable-sdltest \
                     --without-x
 
 post-destroot {
@@ -55,7 +55,7 @@
     system "echo '</plist>' >> ${destroot}${applications_dir}/${my_app}.app/Contents/Info.plist"
 }
 
-platform darwin 10 {
+if {${os.platform} == "darwin" && ${os.major} >= 10} {
     patchfiles-append patch-include__bzfSDL.h patch-src__platform__SDLDisplay.cxx
 }