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

jeremyhu at macports.org jeremyhu at macports.org
Tue Feb 5 08:57:27 PST 2013


Revision: 102642
          https://trac.macports.org/changeset/102642
Author:   jeremyhu at macports.org
Date:     2013-02-05 08:57:27 -0800 (Tue, 05 Feb 2013)
Log Message:
-----------
povray: Tell the user it doesn't work pre-Lion

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

Modified: trunk/dports/graphics/povray/Portfile
===================================================================
--- trunk/dports/graphics/povray/Portfile	2013-02-05 16:32:19 UTC (rev 102641)
+++ trunk/dports/graphics/povray/Portfile	2013-02-05 16:57:27 UTC (rev 102642)
@@ -92,6 +92,15 @@
     patchfiles-append   patch-configure-stat.diff \
                         patch-lseek64.diff \
                         patch-vfe-uint.diff
+
+    if {${os.major} <= 10} {
+        depends_lib
+        depends_run
+        pre-fetch {
+            ui_error "$name does not build on Snow Leopard or earlier."
+            error "unsupported platform"
+        }
+    }
     
     if {[variant_isset universal]} {
         set merger_host(x86_64) x86_64-apple-${os.platform}${os.major}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130205/938bda63/attachment.html>


More information about the macports-changes mailing list