[81315] trunk/dports/games/bzflag/Portfile

jmr at macports.org jmr at macports.org
Fri Jul 29 03:09:43 PDT 2011


Revision: 81315
          http://trac.macports.org/changeset/81315
Author:   jmr at 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:
--------------
    trunk/dports/games/bzflag/Portfile

Modified: trunk/dports/games/bzflag/Portfile
===================================================================
--- 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
 }
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110729/d9ab6056/attachment.html>


More information about the macports-changes mailing list