/[gentoo-x86]/dev-util/cmake/files/cmake-2.8.10-FindPythonLibs.patch
Gentoo

Contents of /dev-util/cmake/files/cmake-2.8.10-FindPythonLibs.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations) (download)
Sat Oct 19 12:18:58 2013 UTC (4 years ago) by johu
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
FILE REMOVED
Remove old.

(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key F3CFD2BD)

1 kensington 1.1 diff --git a/Modules/FindPythonLibs.cmake b/Modules/FindPythonLibs.cmake
2     index 0a9a990..6a13d22 100644
3     --- a/Modules/FindPythonLibs.cmake
4     +++ b/Modules/FindPythonLibs.cmake
5     @@ -79,6 +79,8 @@ unset(_PYTHON1_VERSIONS)
6     unset(_PYTHON2_VERSIONS)
7     unset(_PYTHON3_VERSIONS)
8    
9     +EXECUTE_PROCESS(COMMAND python -c "import sys; sys.stdout.write('.'.join([str(x) for x in sys.version_info[:2]]))"
10     + OUTPUT_VARIABLE _Python_VERSIONS)
11     foreach(_CURRENT_VERSION ${_Python_VERSIONS})
12     string(REPLACE "." "" _CURRENT_VERSION_NO_DOTS ${_CURRENT_VERSION})
13     if(WIN32)

  ViewVC Help
Powered by ViewVC 1.1.20