Revision
102413
Author
jmr@macports.org
Date
2013-02-02 05:44:57 -0800 (Sat, 02 Feb 2013)

Log Message

libsdl: re-enable cocoa video on 10.8 (#37562)

Modified Paths

Diff

Modified: trunk/dports/devel/libsdl/Portfile (102412 => 102413)


--- trunk/dports/devel/libsdl/Portfile	2013-02-02 13:41:34 UTC (rev 102412)
+++ trunk/dports/devel/libsdl/Portfile	2013-02-02 13:44:57 UTC (rev 102413)
@@ -9,7 +9,7 @@
 name            libsdl
 set my_name     SDL
 version         1.2.15
-revision        2
+revision        3
 categories      devel multimedia
 platforms       macosx freebsd
 license         LGPL-2.1+
@@ -40,7 +40,8 @@
                 --without-x
 
 platform darwin {
-    if {${os.major} >= 12} {
+    # Uses deprecated APIs? See ticket #37562
+    if {${os.major} > 12} {
         configure.args-append --disable-video-cocoa
     }
     configure.ldflags-append -framework Carbon