Changes between Initial Version and Version 2 of Ticket #26554


Ignore:
Timestamp:
Sep 20, 2010, 10:27:00 PM (14 years ago)
Author:
ryandesign (Ryan Carsten Schmidt)
Comment:

"port:cmake" would be more appropriate than "bin:cmake:cmake".

Is only vtk5 affected, or are VTK, vtk-devel and vtk44 also affected?

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #26554

    • Property Cc css@… dweber@… added
    • Property Keywords vtk vtk5 cmake tcl tk removed
    • Property Port vtk5 added
  • Ticket #26554 – Description

    initial v2  
    33
    44I guess they should be added to the Portfile depends_build or depends_lib. The following patch fixed the build for me (I'm a MacPorts newbie and I'm not sure it's 100% correct though).
    5 
    6 Index: graphics/vtk5/Portfile
    7 ===================================================================
    8 --- graphics/vtk5/Portfile     
    9 +++ graphics/vtk5/Portfile
    10 @@ -26,7 +26,7 @@
    11                      sha1    355209c485304f1b0feefcda3585d45217ffd230 \
    12                      rmd160  b7abf3b9bb14a3db81608c7aa2721935ae653295
    13  
    14 -depends_build   port:readline
    15 +depends_build   port:readline bin:cmake:cmake
    16  distname    VTK
    17  
    18  use_parallel_build yes
    19 @@ -91,6 +91,7 @@
    20  }
    21  
    22  variant tcltk conflicts carbon description {Build with Tcl wrappers and Tk support} {
    23 +    depends_lib-append port:tcl port:tk
    24      configure.args-delete \
    25          -DVTK_USE_TK:BOOL=OFF \
    26          -DVTK_WRAP_TCL:BOOL=OFF