aboutsummaryrefslogtreecommitdiff
path: root/math/vtk5
diff options
context:
space:
mode:
authorPietro Cerutti <gahr@FreeBSD.org>2011-03-07 17:00:58 +0000
committerPietro Cerutti <gahr@FreeBSD.org>2011-03-07 17:00:58 +0000
commitb9b6a858f80e1776a6cfb00b84a1bc30d826bea8 (patch)
tree0ec033c8f5d4cd92781144b19b6a2024e97f3ea6 /math/vtk5
parent8337218886b01af6f7ca509b3d7b20a13f355237 (diff)
downloadports-b9b6a858f80e1776a6cfb00b84a1bc30d826bea8.tar.gz
ports-b9b6a858f80e1776a6cfb00b84a1bc30d826bea8.zip
- Add support for python 2.7
Reported by: miwi, pav
Notes
Notes: svn path=/head/; revision=270453
Diffstat (limited to 'math/vtk5')
-rw-r--r--math/vtk5/files/patch-CMake_FindPythonLibs.cmake11
1 files changed, 11 insertions, 0 deletions
diff --git a/math/vtk5/files/patch-CMake_FindPythonLibs.cmake b/math/vtk5/files/patch-CMake_FindPythonLibs.cmake
new file mode 100644
index 000000000000..3e906f3b00f8
--- /dev/null
+++ b/math/vtk5/files/patch-CMake_FindPythonLibs.cmake
@@ -0,0 +1,11 @@
+--- CMake/FindPythonLibs.cmake.orig 2011-03-07 15:38:25.000000000 +0100
++++ CMake/FindPythonLibs.cmake 2011-03-07 15:38:38.000000000 +0100
+@@ -27,7 +27,7 @@
+ # Search for the python framework on Apple.
+ CMAKE_FIND_FRAMEWORKS(Python)
+
+-FOREACH(_CURRENT_VERSION 2.6 2.5 2.4 2.3 2.2 2.1 2.0 1.6 1.5)
++FOREACH(_CURRENT_VERSION 2.7 2.6 2.5 2.4 2.3 2.2 2.1 2.0 1.6 1.5)
+ STRING(REPLACE "." "" _CURRENT_VERSION_NO_DOTS ${_CURRENT_VERSION})
+ IF(WIN32)
+ FIND_LIBRARY(PYTHON_DEBUG_LIBRARY