diff options
author | gahr <gahr@FreeBSD.org> | 2011-03-08 01:00:58 +0800 |
---|---|---|
committer | gahr <gahr@FreeBSD.org> | 2011-03-08 01:00:58 +0800 |
commit | 517e4b9e0a0b7ea31b93597832c75782f88cae73 (patch) | |
tree | 549a66c66b91c53f6252a35804b2f2d0a4b56ec3 | |
parent | bf611f32e5955d5ef614b66c8452904d878d27ac (diff) | |
download | freebsd-ports-gnome-517e4b9e0a0b7ea31b93597832c75782f88cae73.tar.gz freebsd-ports-gnome-517e4b9e0a0b7ea31b93597832c75782f88cae73.tar.zst freebsd-ports-gnome-517e4b9e0a0b7ea31b93597832c75782f88cae73.zip |
- Add support for python 2.7
Reported by: miwi, pav
-rw-r--r-- | math/vtk5/files/patch-CMake_FindPythonLibs.cmake | 11 |
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 |