summaryrefslogtreecommitdiff
path: root/dev-util/cmake/files/cmake-2.8.10.2-FindPythonLibs.patch
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever.fta@gmail.com>2013-02-08 03:09:50 +1100
committerMichael Palimaka <kensington@gentoo.org>2013-02-08 03:10:15 +1100
commit9c83061f27fbcce3dea027d90276764e2d1ee14d (patch)
treeef99c34d88fe496ddf1b4d4f07e50c10f5f07d0f /dev-util/cmake/files/cmake-2.8.10.2-FindPythonLibs.patch
parent8fbfbbd64130136edc7e3606cef1cceb374db7e2 (diff)
downloadkde-9c83061f27fbcce3dea027d90276764e2d1ee14d.tar.gz
kde-9c83061f27fbcce3dea027d90276764e2d1ee14d.tar.bz2
kde-9c83061f27fbcce3dea027d90276764e2d1ee14d.zip
[dev-util/cmake] Add a fix for finding the Python interpreter wrt bug #405181.
Package-Manager: portage-2.1.11.50
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.patch2
1 files changed, 1 insertions, 1 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
index 53b395c35b2..80cc4d38873 100644
--- a/dev-util/cmake/files/cmake-2.8.10.2-FindPythonLibs.patch
+++ b/dev-util/cmake/files/cmake-2.8.10.2-FindPythonLibs.patch
@@ -6,7 +6,7 @@ index bffa9fb..8fc90ee 100644
${_PYTHON_FIND_OTHER_VERSIONS}
)
-+# Gentoo portage requries that you use exactly the given python version
++# 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)