diff options
author | Slawek Lis <slis@gentoo.org> | 2014-07-25 12:24:19 +0000 |
---|---|---|
committer | Slawek Lis <slis@gentoo.org> | 2014-07-25 12:24:19 +0000 |
commit | a136c2f27e6b618ab225b78ccd06a423674febaa (patch) | |
tree | 292d1bf785dfba892a76eb8c2fccba6cdf6bc4ab /sci-visualization/visit/files/visit-2.7.3-findvtk.patch | |
parent | added visit package (diff) | |
download | historical-a136c2f27e6b618ab225b78ccd06a423674febaa.tar.gz historical-a136c2f27e6b618ab225b78ccd06a423674febaa.tar.bz2 historical-a136c2f27e6b618ab225b78ccd06a423674febaa.zip |
added visit package
Package-Manager: portage-2.2.10/cvs/Linux x86_64
Manifest-Sign-Key: 0x55265D89
Diffstat (limited to 'sci-visualization/visit/files/visit-2.7.3-findvtk.patch')
-rw-r--r-- | sci-visualization/visit/files/visit-2.7.3-findvtk.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/sci-visualization/visit/files/visit-2.7.3-findvtk.patch b/sci-visualization/visit/files/visit-2.7.3-findvtk.patch new file mode 100644 index 000000000000..c241e139eaba --- /dev/null +++ b/sci-visualization/visit/files/visit-2.7.3-findvtk.patch @@ -0,0 +1,24 @@ +diff -ru visit2.7.1.old/src/CMake/FindVisItVTK.cmake visit2.7.1.new/src/CMake/FindVisItVTK.cmake +--- visit2.7.1.old/src/CMake/FindVisItVTK.cmake 2013-09-13 21:06:57.000000000 +0200 ++++ visit2.7.1.new/src/CMake/FindVisItVTK.cmake 2014-01-25 20:30:06.948654123 +0100 +@@ -234,11 +234,17 @@ + + # check for python wrappers + IF (NOT WIN32) +- FILE(GLOB VTK_PY_WRAPPERS_DIR ${VTK_LIBRARY_DIRS}/python*/) ++ FILE(GLOB VTK_PY_WRAPPERS_DIRECTORIES ${VTK_LIBRARY_DIRS}/python*/) + ELSE (NOT WIN32) +- FILE(GLOB VTK_PY_WRAPPERS_DIR ${VISIT_VTK_DIR}/lib) ++ FILE(GLOB VTK_PY_WRAPPERS_DIRECTORIES ${VISIT_VTK_DIR}/lib) + ENDIF (NOT WIN32) +-MESSAGE(STATUS " VTK_PY_WRAPPERS_DIR=${VTK_PY_WRAPPERS_DIR}") ++MESSAGE(STATUS " VTK_PY_WRAPPERS_DIRECTORIES=${VTK_PY_WRAPPERS_DIRECTORIES}") ++ ++FOREACH(X ${VTK_PY_WRAPPERS_DIRECTORIES}) ++ IF(EXISTS "${X}/site-packages/vtk") ++ SET(VTK_PY_WRAPPERS_DIR "${X}") ++ ENDIF() ++ENDFOREACH(X) + + IF(EXISTS ${VTK_PY_WRAPPERS_DIR}/site-packages/vtk) + MESSAGE(STATUS "Found VTK Python Wrappers - ${VTK_PY_WRAPPERS_DIR}") |