[97704] trunk/dports/multimedia/VLC-devel/Portfile

jeremyhu at macports.org jeremyhu at macports.org
Wed Sep 12 12:36:18 PDT 2012


Revision: 97704
          http://trac.macports.org//changeset/97704
Author:   jeremyhu at macports.org
Date:     2012-09-12 12:36:18 -0700 (Wed, 12 Sep 2012)
Log Message:
-----------
VLC-devel: Don't build on Leopard

http://mailman.videolan.org/pipermail/vlc-devel/2012-August/089671.html

Modified Paths:
--------------
    trunk/dports/multimedia/VLC-devel/Portfile

Modified: trunk/dports/multimedia/VLC-devel/Portfile
===================================================================
--- trunk/dports/multimedia/VLC-devel/Portfile	2012-09-12 19:31:18 UTC (rev 97703)
+++ trunk/dports/multimedia/VLC-devel/Portfile	2012-09-12 19:36:18 UTC (rev 97704)
@@ -52,9 +52,13 @@
 
 pre-fetch {
     if {"darwin" == ${os.platform} && ${os.major} < 9} {
-        ui_error "${name} ${version} requires Mac OS X 10.5 or greater, use port 'VLC09' instead"
+        ui_error "${name} ${version} requires Mac OS X 10.6 or greater, use port 'VLC09' instead"
         return -code error "incompatible Mac OS X version"
     }
+    if {"darwin" == ${os.platform} && ${os.major} < 10} {
+        ui_error "${name} ${version} requires Mac OS X 10.6 or greater, use port 'VLC' instead"
+        return -code error "incompatible Mac OS X version"
+    }
 }
 
 patchfiles \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120912/0d62b52c/attachment.html>


More information about the macports-changes mailing list