ports/devel/cmake/files/patch-Modules_FindPythonInterp.cmake
Max Brazhnikov 4d55666226 Update devel/cmake to 2.6.3.
- Set INSTALL_TARGET for cmake based ports to install/strip. This solves
  problem of installing non-stripped binaries (noticed by delphij for KDE4 ports)
- Fix linking to -lpthread for cmake based ports (KDE4 ports are affected mostly)
2009-03-24 19:11:23 +00:00

11 lines
598 B
CMake

--- ./Modules/FindPythonInterp.cmake.orig 2009-02-21 23:36:50.000000000 +0300
+++ ./Modules/FindPythonInterp.cmake 2009-03-20 13:20:18.000000000 +0300
@@ -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 ${DEFAULT_PYTHON_EXECUTABLE} python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5 python
PATHS
[HKEY_LOCAL_MACHINE\\SOFTWARE\\Python\\PythonCore\\2.6\\InstallPath]
[HKEY_LOCAL_MACHINE\\SOFTWARE\\Python\\PythonCore\\2.5\\InstallPath]