summaryrefslogtreecommitdiff
path: root/dev-util/cmake/files/cmake-FindPythonInterp.patch
diff options
context:
space:
mode:
authorAndreas K. Huettel (dilfridge) <mail@akhuettel.de>2010-06-27 20:59:35 +0200
committerTheo Chatzimichos <tampakrap@gentoo.org>2010-06-28 15:39:17 +0300
commit24809f5ecafa63aee6541fa450766a74bf1b5467 (patch)
tree4db35207f0bba30ba3f0f5f98452f27322de4ffc /dev-util/cmake/files/cmake-FindPythonInterp.patch
parent094f28b78ae614dcfdb9c83d0ac0ac7d6f42878e (diff)
downloadkde-24809f5ecafa63aee6541fa450766a74bf1b5467.tar.gz
kde-24809f5ecafa63aee6541fa450766a74bf1b5467.tar.bz2
kde-24809f5ecafa63aee6541fa450766a74bf1b5467.zip
[dev-util/cmake] Fix java detection, should resolve bug 315229. Please test.
Diffstat (limited to 'dev-util/cmake/files/cmake-FindPythonInterp.patch')
-rw-r--r--dev-util/cmake/files/cmake-FindPythonInterp.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/dev-util/cmake/files/cmake-FindPythonInterp.patch b/dev-util/cmake/files/cmake-FindPythonInterp.patch
new file mode 100644
index 00000000000..2e4c47d6806
--- /dev/null
+++ b/dev-util/cmake/files/cmake-FindPythonInterp.patch
@@ -0,0 +1,11 @@
+--- Modules/FindPythonInterp.cmake
++++ Modules/FindPythonInterp.cmake
+@@ -7,7 +7,7 @@
+ #
+
+ FIND_PROGRAM(PYTHON_EXECUTABLE
+- NAMES python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5 python
++ NAMES python python2.7 python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5
+ PATHS
+ [HKEY_LOCAL_MACHINE\\SOFTWARE\\Python\\PythonCore\\2.5\\InstallPath]
+ [HKEY_LOCAL_MACHINE\\SOFTWARE\\Python\\PythonCore\\2.4\\InstallPath]