/[gentoo-x86]/dev-util/cmake/files/cmake-python-3.patch
Gentoo

Contents of /dev-util/cmake/files/cmake-python-3.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Thu Oct 1 18:10:15 2009 UTC (4 years, 11 months ago) by arfrever
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
FILE REMOVED
FindPythonLibs.cmake should use currently active Python version (bug #287143). Remove no longer needed "python3" USE flag.
(Portage version: 14469-svn/cvs/Linux x86_64)

1 --- Modules/FindPythonInterp.cmake
2 +++ Modules/FindPythonInterp.cmake
3 @@ -7,7 +7,7 @@
4 #
5
6 FIND_PROGRAM(PYTHON_EXECUTABLE
7 - NAMES python python2.7 python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5
8 + NAMES python python3.2 python3.1 python3.0 python2.7 python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5
9 PATHS
10 [HKEY_LOCAL_MACHINE\\SOFTWARE\\Python\\PythonCore\\2.6\\InstallPath]
11 [HKEY_LOCAL_MACHINE\\SOFTWARE\\Python\\PythonCore\\2.5\\InstallPath]
12 --- Modules/FindPythonLibs.cmake
13 +++ Modules/FindPythonLibs.cmake
14 @@ -13,7 +13,7 @@
15 # Search for the python framework on Apple.
16 CMAKE_FIND_FRAMEWORKS(Python)
17
18 -FOREACH(_CURRENT_VERSION 2.7 2.6 2.5 2.4 2.3 2.2 2.1 2.0 1.6 1.5)
19 +FOREACH(_CURRENT_VERSION 3.2 3.1 3.0 2.7 2.6 2.5 2.4 2.3 2.2 2.1 2.0 1.6 1.5)
20 STRING(REPLACE "." "" _CURRENT_VERSION_NO_DOTS ${_CURRENT_VERSION})
21 IF(WIN32)
22 FIND_LIBRARY(PYTHON_DEBUG_LIBRARY

  ViewVC Help
Powered by ViewVC 1.1.20