diff options
| author | Michael Palimaka <kensington@gentoo.org> | 2013-09-12 03:59:34 +1000 |
|---|---|---|
| committer | Michael Palimaka <kensington@gentoo.org> | 2013-09-12 03:59:34 +1000 |
| commit | b9d2559d5fe28c3aabcfa6d3d35ebb7a280a527c (patch) | |
| tree | aa972874731bc222c3b24036eaf06d95ffa76c2e /dev-util/cmake/files/cmake-2.8.10.2-FindPythonLibs.patch | |
| parent | ce72113b6e2012b673815f778cafe6c8b91f3585 (diff) | |
| download | kde-b9d2559d5fe28c3aabcfa6d3d35ebb7a280a527c.tar.gz kde-b9d2559d5fe28c3aabcfa6d3d35ebb7a280a527c.tar.bz2 kde-b9d2559d5fe28c3aabcfa6d3d35ebb7a280a527c.zip | |
[dev-util/cmake] Moved to portage.
Diffstat (limited to 'dev-util/cmake/files/cmake-2.8.10.2-FindPythonLibs.patch')
| -rw-r--r-- | dev-util/cmake/files/cmake-2.8.10.2-FindPythonLibs.patch | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/dev-util/cmake/files/cmake-2.8.10.2-FindPythonLibs.patch b/dev-util/cmake/files/cmake-2.8.10.2-FindPythonLibs.patch deleted file mode 100644 index 80cc4d38873..00000000000 --- a/dev-util/cmake/files/cmake-2.8.10.2-FindPythonLibs.patch +++ /dev/null @@ -1,24 +0,0 @@ -diff --git a/Modules/FindPythonLibs.cmake b/Modules/FindPythonLibs.cmake
-index bffa9fb..8fc90ee 100644
---- a/Modules/FindPythonLibs.cmake
-+++ b/Modules/FindPythonLibs.cmake
-@@ -74,6 +74,19 @@ set(_Python_VERSIONS
- ${_PYTHON_FIND_OTHER_VERSIONS}
- )
-
-+# Gentoo portage requires that you use exactly the given python version
-+if (CMAKE_BUILD_TYPE STREQUAL Gentoo)
-+ execute_process(COMMAND python -c "import sys; sys.stdout.write('.'.join([str(x) for x in sys.version_info[:2]]))"
-+ OUTPUT_VARIABLE _Gentoo_Python_VERSION)
-+ list(FIND _Python_VERSIONS "${_Gentoo_Python_VERSION}" _Gentoo_Python_INDEX)
-+ if (_Gentoo_Python_INDEX EQUAL -1)
-+ # the current Gentoo python version is not compatible with what is requested
-+ set(_Python_VERSIONS)
-+ else ()
-+ set(_Python_VERSIONS "${_Gentoo_Python_VERSION}")
-+ endif ()
-+endif()
-+
- unset(_PYTHON_FIND_OTHER_VERSIONS)
- unset(_PYTHON1_VERSIONS)
- unset(_PYTHON2_VERSIONS)
|
