[113809] trunk/dports/graphics/povray/Portfile

ryandesign at macports.org ryandesign at macports.org
Sat Nov 23 18:03:40 PST 2013


Revision: 113809
          https://trac.macports.org/changeset/113809
Author:   ryandesign at macports.org
Date:     2013-11-23 18:03:40 -0800 (Sat, 23 Nov 2013)
Log Message:
-----------
povray: fail earlier on Mavericks (#40919)

Modified Paths:
--------------
    trunk/dports/graphics/povray/Portfile

Modified: trunk/dports/graphics/povray/Portfile
===================================================================
--- trunk/dports/graphics/povray/Portfile	2013-11-24 01:14:23 UTC (rev 113808)
+++ trunk/dports/graphics/povray/Portfile	2013-11-24 02:03:40 UTC (rev 113809)
@@ -100,11 +100,20 @@
         depends_build
         depends_lib
         pre-fetch {
-            ui_error "${name} does not build on OS X 10.6 Snow Leopard or earlier."
+            ui_error "${name} @${version} does not build on Mac OS X 10.6 Snow Leopard or earlier."
+            return -code error "unsupported Mac OS X version"
+        }
+    }
+
+    if {${os.major} >= 13} {
+        depends_build
+        depends_lib
+        pre-fetch {
+            ui_error "${name} @${version} does not build on OS X 10.9 Mavericks or later."
             return -code error "unsupported OS X version"
         }
     }
-    
+
     set merger_host(x86_64) x86_64-apple-${os.platform}${os.major}
     set merger_host(i386) i686-apple-${os.platform}${os.major}
     set merger_host(ppc64) powerpc64-apple-${os.platform}${os.major}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20131123/5e4b39d7/attachment.html>


More information about the macports-changes mailing list