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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Tue May 21 18:19:35 2013 UTC (16 months, 1 week ago) by johu
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +0 -0 lines
FILE REMOVED
Remove old.

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

1 diff -urN cmake-2.8.4.old/Modules/FindPythonLibs.cmake cmake-2.8.4/Modules/FindPythonLibs.cmake
2 --- cmake-2.8.4.old/Modules/FindPythonLibs.cmake 2011-02-20 19:32:16.363655002 +0100
3 +++ cmake-2.8.4/Modules/FindPythonLibs.cmake 2011-02-20 19:33:51.905655001 +0100
4 @@ -33,6 +33,8 @@
5 ${Python_ADDITIONAL_VERSIONS}
6 2.7 2.6 2.5 2.4 2.3 2.2 2.1 2.0 1.6 1.5)
7
8 +EXECUTE_PROCESS(COMMAND python -c "import sys; sys.stdout.write('.'.join([str(x) for x in sys.version_info[:2]]))"
9 + OUTPUT_VARIABLE _Python_VERSIONS)
10 FOREACH(_CURRENT_VERSION ${_Python_VERSIONS})
11 STRING(REPLACE "." "" _CURRENT_VERSION_NO_DOTS ${_CURRENT_VERSION})
12 IF(WIN32)

  ViewVC Help
Powered by ViewVC 1.1.20