diff options
author | Max Brazhnikov <makc@FreeBSD.org> | 2010-10-21 20:28:22 +0000 |
---|---|---|
committer | Max Brazhnikov <makc@FreeBSD.org> | 2010-10-21 20:28:22 +0000 |
commit | 4be40ea6aa604839309ec5630394706b09efddf9 (patch) | |
tree | 2e0aac9ae6aab83c5cd2efa337731ce79f239da1 /devel/cmake | |
parent | Update to 0.13.0 (diff) |
Add support for python 2.7
PR: ports/151606
Submitted by: Oliver Fromme <olli at secnetix.de>
Notes
Notes:
svn path=/head/; revision=263415
Diffstat (limited to 'devel/cmake')
-rw-r--r-- | devel/cmake/Makefile | 1 | ||||
-rw-r--r-- | devel/cmake/files/patch-Modules__FindPythonLibs.cmake | 11 |
2 files changed, 12 insertions, 0 deletions
diff --git a/devel/cmake/Makefile b/devel/cmake/Makefile index e300da19d18d..5aae439d0628 100644 --- a/devel/cmake/Makefile +++ b/devel/cmake/Makefile @@ -7,6 +7,7 @@ PORTNAME= cmake PORTVERSION= 2.8.2 +PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= http://www.cmake.org/files/v${PORTVERSION:C/\.[[:digit:]]+$//}/ diff --git a/devel/cmake/files/patch-Modules__FindPythonLibs.cmake b/devel/cmake/files/patch-Modules__FindPythonLibs.cmake new file mode 100644 index 000000000000..834bc6867c42 --- /dev/null +++ b/devel/cmake/files/patch-Modules__FindPythonLibs.cmake @@ -0,0 +1,11 @@ +--- ./Modules/FindPythonLibs.cmake.orig 2010-10-22 00:22:09.782579808 +0400 ++++ ./Modules/FindPythonLibs.cmake 2010-10-22 00:22:47.930509363 +0400 +@@ -27,7 +27,7 @@ + # Search for the python framework on Apple. + CMAKE_FIND_FRAMEWORKS(Python) + +-FOREACH(_CURRENT_VERSION 2.6 2.5 2.4 2.3 2.2 2.1 2.0 1.6 1.5) ++FOREACH(_CURRENT_VERSION 2.7 2.6 2.5 2.4 2.3 2.2 2.1 2.0 1.6 1.5) + STRING(REPLACE "." "" _CURRENT_VERSION_NO_DOTS ${_CURRENT_VERSION}) + IF(WIN32) + FIND_LIBRARY(PYTHON_DEBUG_LIBRARY |