[53608] users/dweber/graphics/vtk-devel/Portfile

dweber at macports.org dweber at macports.org
Thu Jul 9 12:38:57 PDT 2009


Revision: 53608
          http://trac.macports.org/changeset/53608
Author:   dweber at macports.org
Date:     2009-07-09 12:38:56 -0700 (Thu, 09 Jul 2009)
Log Message:
-----------
Switched off VTK_USE_TK in general options, to be explicit about that.  This seems to fix the build for variants +x11 +py25, noted in Ticket #19869

Modified Paths:
--------------
    users/dweber/graphics/vtk-devel/Portfile

Modified: users/dweber/graphics/vtk-devel/Portfile
===================================================================
--- users/dweber/graphics/vtk-devel/Portfile	2009-07-09 19:04:21 UTC (rev 53607)
+++ users/dweber/graphics/vtk-devel/Portfile	2009-07-09 19:38:56 UTC (rev 53608)
@@ -113,6 +113,7 @@
     -DVTK_USE_VIEWS:BOOL=ON \
     -DVTK_USE_GL2PS:BOOL=ON \
     -DVTK_USE_N_WAY_ARRAYS:BOOL=ON \
+    -DVTK_USE_TK:BOOL=OFF \
     -DVTK_WRAP_JAVA:BOOL=OFF \
     -DVTK_WRAP_PYTHON:BOOL=OFF \
     -DVTK_WRAP_TCL:BOOL=OFF
@@ -630,8 +631,10 @@
         port:tcl \
         port:tk
     configure.args-delete \
+        -DVTK_USE_TK:BOOL=OFF \
         -DVTK_WRAP_TCL:BOOL=OFF
     configure.args-append \
+        -DVTK_USE_TK:BOOL=ON \
         -DVTK_WRAP_TCL:BOOL=ON \
         -DTCL_TCLSH:FILEPATH=${prefix}/bin/tclsh \
         -DTCL_INCLUDE_PATH:PATH=${prefix}/include \
@@ -646,14 +649,16 @@
 
 variant tcl_apple conflicts tcl description "tcl wrapper (Apple tcl/tk framework)" {
     configure.args-delete \
+        -DVTK_USE_TK:BOOL=OFF \
         -DVTK_WRAP_TCL:BOOL=OFF
     configure.args-append \
+        -DVTK_USE_TK:BOOL=ON \
         -DVTK_WRAP_TCL:BOOL=ON \
         -DTCL_TCLSH:FILEPATH=/usr/bin/tclsh \
         -DTCL_INCLUDE_PATH:PATH=/System/Library/Frameworks/Tcl.framework/Headers \
-        -DTCL_LIBRARY:FILEPATH=/System/Library/Frameworks/tcl.framework \
+        -DTCL_LIBRARY:FILEPATH=/System/Library/Frameworks/Tcl.framework \
         -DTK_INCLUDE_PATH:PATH=/System/Library/Frameworks/Tk.framework/Headers \
-        -DTK_LIBRARY:FILEPATH=/System/Library/Frameworks/tk.framework
+        -DTK_LIBRARY:FILEPATH=/System/Library/Frameworks/Tk.framework
     post-destroot {
         tclPostDestroot
     }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090709/9f603246/attachment.html>


More information about the macports-changes mailing list