summaryrefslogtreecommitdiff
path: root/irc/weechat-devel/files/patch-cmake-FindPython_cmake
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2010-12-20 05:37:32 +0000
committerMartin Wilke <miwi@FreeBSD.org>2010-12-20 05:37:32 +0000
commit90031a6be5f3396ee546c5a3c69e99e8f9906961 (patch)
treea897eb29cdd0150d9430f13ecd6660c9f97ec924 /irc/weechat-devel/files/patch-cmake-FindPython_cmake
parent- Update www/libecap to 0.0.3. (diff)
- Update to 20101212 (0.3.4-rc1)
- Honour LOCALBASE - Honour various script languages wanted version variables when building PR: 153117 Submitted by: Jase Thew <freebsd@beardz.net> (maintainer)
Notes
Notes: svn path=/head/; revision=266603
Diffstat (limited to 'irc/weechat-devel/files/patch-cmake-FindPython_cmake')
-rw-r--r--irc/weechat-devel/files/patch-cmake-FindPython_cmake23
1 files changed, 23 insertions, 0 deletions
diff --git a/irc/weechat-devel/files/patch-cmake-FindPython_cmake b/irc/weechat-devel/files/patch-cmake-FindPython_cmake
new file mode 100644
index 000000000000..8dc2cd51a042
--- /dev/null
+++ b/irc/weechat-devel/files/patch-cmake-FindPython_cmake
@@ -0,0 +1,23 @@
+--- cmake/FindPython.cmake.orig 2010-12-10 15:13:27.000000000 +0000
++++ cmake/FindPython.cmake 2010-12-12 18:23:24.000000000 +0000
+@@ -34,9 +34,8 @@
+ ENDIF(PYTHON_FOUND)
+
+ FIND_PROGRAM(PYTHON_EXECUTABLE
+- NAMES python 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)
+ EXECUTE_PROCESS(
+@@ -65,7 +64,7 @@
+ )
+
+ FIND_LIBRARY(PYTHON_LIBRARY
+- NAMES python python2.6 python2.5 python2.4 python2.3 python2.2
++ NAMES ${BSD_PYTHON_VER}
+ PATHS ${PYTHON_POSSIBLE_LIB_PATH}
+ )
+