aboutsummaryrefslogtreecommitdiffstats
path: root/devel/cmake
diff options
context:
space:
mode:
authormakc <makc@FreeBSD.org>2010-10-22 04:28:22 +0800
committermakc <makc@FreeBSD.org>2010-10-22 04:28:22 +0800
commitda14770e1702bba4394c1732e18c285c50bc8b5c (patch)
tree6941ed51cf30c5c9c937aa81a066b96652285ea4 /devel/cmake
parentf3e08e9bbbd5bf75a46682e228d0fc899b1c10b1 (diff)
downloadfreebsd-ports-gnome-da14770e1702bba4394c1732e18c285c50bc8b5c.tar.gz
freebsd-ports-gnome-da14770e1702bba4394c1732e18c285c50bc8b5c.tar.zst
freebsd-ports-gnome-da14770e1702bba4394c1732e18c285c50bc8b5c.zip
Add support for python 2.7
PR: ports/151606 Submitted by: Oliver Fromme <olli at secnetix.de>
Diffstat (limited to 'devel/cmake')
-rw-r--r--devel/cmake/Makefile1
-rw-r--r--devel/cmake/files/patch-Modules__FindPythonLibs.cmake11
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