2015-03-04 05:29:16 +00:00
|
|
|
diff -up VTK-6.2.0.rc1/Wrapping/Tcl/CMakeLists.txt.tcllib VTK-6.2.0.rc1/Wrapping/Tcl/CMakeLists.txt
|
|
|
|
--- VTK-6.2.0.rc1/Wrapping/Tcl/CMakeLists.txt.tcllib 2015-02-16 15:08:49.121229694 -0700
|
|
|
|
+++ VTK-6.2.0.rc1/Wrapping/Tcl/CMakeLists.txt 2015-02-16 15:09:38.793971979 -0700
|
|
|
|
@@ -264,7 +264,7 @@ endforeach()
|
2015-02-04 00:03:55 +00:00
|
|
|
# Configure the Tcl package index file for the install tree.
|
|
|
|
SET(VTK_TCL_SCRIPT_DIR "[file dirname [info script]]")
|
|
|
|
IF(UNIX)
|
|
|
|
- SET(VTK_TCL_LIBRARY_DIR "[file dirname [file dirname [file dirname [info script]]]]")
|
|
|
|
+ SET(VTK_TCL_LIBRARY_DIR "${CMAKE_INSTALL_PREFIX}/${VTK_INSTALL_LIBRARY_DIR}")
|
2015-03-04 05:29:16 +00:00
|
|
|
ELSE()
|
2015-02-04 00:03:55 +00:00
|
|
|
SET(VTK_TCL_LIBRARY_DIR
|
|
|
|
"[file join [file dirname [file dirname [file dirname [file dirname [info script]]]]] bin]")
|
2015-03-04 05:29:16 +00:00
|
|
|
diff -up VTK-6.2.0.rc1/Wrapping/Tcl/pkgIndex.tcl.in.tcllib VTK-6.2.0.rc1/Wrapping/Tcl/pkgIndex.tcl.in
|
|
|
|
--- VTK-6.2.0.rc1/Wrapping/Tcl/pkgIndex.tcl.in.tcllib 2015-02-16 12:03:08.000000000 -0700
|
|
|
|
+++ VTK-6.2.0.rc1/Wrapping/Tcl/pkgIndex.tcl.in 2015-02-16 15:08:49.121229694 -0700
|
2015-02-04 00:03:55 +00:00
|
|
|
@@ -7,7 +7,7 @@ package ifneeded vtkinit {@VTK_MAJOR_VER
|
|
|
|
if {[catch "load {} $libName"]} {
|
|
|
|
set libExt [info sharedlibextension]
|
|
|
|
set currentDirectory [pwd]
|
|
|
|
- set libFile [file join $libPath "$libPrefix$libName-@VTK_MAJOR_VERSION@.@VTK_MINOR_VERSION@$libExt"]
|
|
|
|
+ set libFile [file join $libPath "$libPrefix$libName$libExt"]
|
|
|
|
if {[catch "cd {$libPath}; load {$libFile}" errorMessage]} {
|
|
|
|
puts $errorMessage
|
|
|
|
}
|
2015-03-04 05:29:16 +00:00
|
|
|
diff -up VTK-6.2.0.rc1/Wrapping/Tcl/vtkbase/vtkbase.tcl.in.tcllib VTK-6.2.0.rc1/Wrapping/Tcl/vtkbase/vtkbase.tcl.in
|
|
|
|
--- VTK-6.2.0.rc1/Wrapping/Tcl/vtkbase/vtkbase.tcl.in.tcllib 2015-02-16 12:03:08.000000000 -0700
|
|
|
|
+++ VTK-6.2.0.rc1/Wrapping/Tcl/vtkbase/vtkbase.tcl.in 2015-02-16 15:08:49.122229706 -0700
|
2015-02-04 00:03:55 +00:00
|
|
|
@@ -44,7 +44,7 @@ namespace eval ::vtk {
|
|
|
|
}
|
|
|
|
|
|
|
|
foreach dir $dirs {
|
|
|
|
- set libname [file join $dir ${prefix}${name}-@VTK_MAJOR_VERSION@.@VTK_MINOR_VERSION@${ext}]
|
|
|
|
+ set libname [file join $dir ${prefix}${name}${ext}]
|
|
|
|
if {[file exists $libname]} {
|
|
|
|
if {![catch {load $libname} errormsg]} {
|
|
|
|
# WARNING: it HAS to be "" so that pkg_mkIndex work (since
|