Opened 14 years ago

Last modified 14 years ago

#26554 closed defect

vtk5: add cmake, tcl and tk dependencies — at Version 2

Reported by: tonchev1@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.9.1
Keywords: Cc: css@…, dweber@…
Port: vtk5

Description (last modified by ryandesign (Ryan Carsten Schmidt))

vtk5 recipe doesn't build if cmake is not installed. Further, when building the default variant (which has +tcltk), build fails if tcl and tk are not installed.

I 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).

Change History (3)

Changed 14 years ago by tonchev1@…

Attachment: vtk5-cmake-tcltk.diff added

add missing dependencies (cmake, tcl, tk)

comment:1 Changed 14 years ago by tonchev1@…

Added patch as attachment. Apply with:

cd `port dir vtk5`
patch -p2 < vtk5-cmake-tcltk.diff

comment:2 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: css@… dweber@… added
Description: modified (diff)
Keywords: vtk vtk5 cmake tcl tk removed
Port: vtk5 added

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

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

Note: See TracTickets for help on using tickets.