[109796] trunk/dports/multimedia/mkvtoolnix/Portfile

jeremyhu at macports.org jeremyhu at macports.org
Mon Aug 19 23:29:57 PDT 2013


Revision: 109796
          https://trac.macports.org/changeset/109796
Author:   jeremyhu at macports.org
Date:     2013-08-19 23:29:57 -0700 (Mon, 19 Aug 2013)
Log Message:
-----------
mkvtoolnix: Future-proof Mavericks error block for consistency

Modified Paths:
--------------
    trunk/dports/multimedia/mkvtoolnix/Portfile

Modified: trunk/dports/multimedia/mkvtoolnix/Portfile
===================================================================
--- trunk/dports/multimedia/mkvtoolnix/Portfile	2013-08-20 06:28:34 UTC (rev 109795)
+++ trunk/dports/multimedia/mkvtoolnix/Portfile	2013-08-20 06:29:57 UTC (rev 109796)
@@ -47,13 +47,15 @@
 # configure complains about gcc < 4.6 and clang
 compiler.whitelist macports-gcc-4.7 macports-gcc-4.8 macports-gcc-4.9
 
-platform darwin 13 {
-    # This project needs to be updated to build with clang++ against libc++
-    depends_lib
-    depends_run
-    pre-fetch {
-        ui_error "$name does not build on Mavericks or later."
-        error "unsupported platform"
+platform darwin {
+    if {${os.major} >= 13} {
+        # This project needs to be updated to build with clang++ against libc++
+        depends_lib
+        depends_run
+        pre-fetch {
+            ui_error "$name does not build on Mavericks or later."
+            error "unsupported platform"
+        }
     }
 }
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130819/333e60ef/attachment.html>


More information about the macports-changes mailing list