- Sync fixes from -devel port : Honour LOCALBASE Honour script languages wanted version variables PR: 154129 Submitted by: Jase Thew <freebsd@beardz.net> Feature safe: yes
21 lines
598 B
Text
21 lines
598 B
Text
--- 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}
|
|
)
|
|
|