aboutsummaryrefslogtreecommitdiff
path: root/irc/weechat/files/patch-cmake-FindPython_cmake
diff options
context:
space:
mode:
Diffstat (limited to 'irc/weechat/files/patch-cmake-FindPython_cmake')
-rw-r--r--irc/weechat/files/patch-cmake-FindPython_cmake21
1 files changed, 21 insertions, 0 deletions
diff --git a/irc/weechat/files/patch-cmake-FindPython_cmake b/irc/weechat/files/patch-cmake-FindPython_cmake
new file mode 100644
index 000000000000..bf80f23b1fe0
--- /dev/null
+++ b/irc/weechat/files/patch-cmake-FindPython_cmake
@@ -0,0 +1,21 @@
+--- cmake/FindPython.cmake.orig 2010-12-20 18:43:34.102131358 +0000
++++ cmake/FindPython.cmake 2010-12-20 19:16:11.918184057 +0000
+@@ -34,8 +34,7 @@
+ ENDIF(PYTHON_FOUND)
+
+ FIND_PROGRAM(PYTHON_EXECUTABLE
+- NAMES python python2.7 python2.6 python2.5 python2.4 python2.3 python2.2
+- PATHS /usr/bin /usr/local/bin /usr/pkg/bin
++ NAMES ${BSD_PYTHON_CMD}
+ )
+
+ IF(PYTHON_EXECUTABLE)
+@@ -65,7 +64,7 @@
+ )
+
+ FIND_LIBRARY(PYTHON_LIBRARY
+- NAMES python python2.7 python2.6 python2.5 python2.4 python2.3 python2.2
++ NAMES ${BSD_PYTHON_VER}
+ PATHS ${PYTHON_POSSIBLE_LIB_PATH}
+ )
+