[99576] trunk/dports/graphics/vtk5/Portfile

adfernandes at macports.org adfernandes at macports.org
Sat Nov 10 08:12:54 PST 2012


Revision: 99576
          http://trac.macports.org//changeset/99576
Author:   adfernandes at macports.org
Date:     2012-11-10 08:12:54 -0800 (Sat, 10 Nov 2012)
Log Message:
-----------
graphics/vtk5: prevent building carbon in 10.8 (#36938)

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

Modified: trunk/dports/graphics/vtk5/Portfile
===================================================================
--- trunk/dports/graphics/vtk5/Portfile	2012-11-10 14:55:01 UTC (rev 99575)
+++ trunk/dports/graphics/vtk5/Portfile	2012-11-10 16:12:54 UTC (rev 99576)
@@ -104,6 +104,11 @@
 }
 
 variant carbon conflicts x11 tcltk description {Use Carbon.  Allows embedding VTK within qt4-mac (and py*-pyqt4 when used with Python)} {
+    supported_archs i386 ppc
+    if {${os.platform} == "darwin" && ${os.major} >= 12} {
+        ui_error "${name}: 'carbon' is not supported on OS X 10.8 or greater"
+        return -code error "incompatible OS X version"
+    }
     configure.args-delete \
         -DVTK_USE_COCOA:BOOL=ON \
         -DVTK_USE_CARBON:BOOL=OFF
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121110/afe93fe1/attachment.html>


More information about the macports-changes mailing list