diff -ur cmake-orig/Portfile cmake/Portfile
old
|
new
|
|
5 | 5 | PortGroup muniversal 1.0 |
6 | 6 | |
7 | 7 | name cmake |
8 | | version 2.8.7 |
| 8 | version 2.8.8 |
9 | 9 | set branch [join [lrange [split ${version} .] 0 1] .] |
10 | 10 | categories devel |
11 | 11 | license BSD |
… |
… |
|
21 | 21 | master_sites http://www.cmake.org/files/v${branch}/ |
22 | 22 | platforms darwin freebsd |
23 | 23 | |
24 | | checksums md5 e1b237aeaed880f65dec9c20602452f6 \ |
25 | | sha1 d206182b454f4d1ddeb0f11d7d1be8a66e5c2464 \ |
26 | | rmd160 13b188e75152feef4e5692807e3a9e7c34b26fe3 |
| 24 | checksums md5 ba74b22c788a0c8547976b880cd02b17 \ |
| 25 | sha1 a74dfc3e0a0d7f857ac5dda03bb99ebf07676da1 \ |
| 26 | rmd160 db60999fd4d1b3e2e28368d45035a058ed7e7639 |
27 | 27 | |
28 | 28 | depends_lib-append port:libidn port:openssl |
29 | 29 | |
… |
… |
|
49 | 49 | } |
50 | 50 | |
51 | 51 | patchfiles patch-CMakeFindFrameworks.cmake.diff \ |
52 | | patch-Modules-FindQt4.cmake.diff \ |
53 | | patch-Xcode_4.3.diff |
| 52 | patch-Modules-FindQt4.cmake.diff |
54 | 53 | |
55 | 54 | post-patch { |
56 | 55 | # copy cmake init file, ready to be patched below |
diff -ur cmake-orig/files/patch-CMakeFindFrameworks.cmake.diff cmake/files/patch-CMakeFindFrameworks.cmake.diff
old
|
new
|
|
1 | | --- Modules/CMakeFindFrameworks.cmake.orig 2010-06-28 10:15:57.000000000 -0500 |
2 | | +++ Modules/CMakeFindFrameworks.cmake 2010-07-08 13:46:38.000000000 -0500 |
| 1 | --- Modules/CMakeFindFrameworks.cmake 2012-05-11 11:39:53.000000000 +0200 |
| 2 | +++ Modules/CMakeFindFrameworks.cmake 2012-05-11 11:47:07.000000000 +0200 |
3 | 3 | @@ -20,6 +20,7 @@ |
4 | 4 | IF(APPLE) |
5 | 5 | FOREACH(dir |
diff -ur cmake-orig/files/patch-CMakeLists.txt.diff cmake/files/patch-CMakeLists.txt.diff
old
|
new
|
|
1 | | diff -ur cmake-2.8.7-orig/CMakeLists.txt cmake-2.8.7/CMakeLists.txt |
2 | | --- CMakeLists.txt 2012-02-27 16:55:54.000000000 +0100 |
3 | | +++ CMakeLists.txt 2012-02-27 16:56:56.000000000 +0100 |
4 | | @@ -541,7 +541,7 @@ |
| 1 | --- CMakeLists.txt 2012-05-11 11:39:53.000000000 +0200 |
| 2 | +++ CMakeLists.txt 2012-05-11 11:48:15.000000000 +0200 |
| 3 | @@ -542,7 +542,7 @@ |
5 | 4 | ENDIF(BUILD_CursesDialog) |
6 | 5 | |
7 | 6 | IF(BUILD_QtDialog) |
… |
… |
|
10 | 9 | SET(CMAKE_BUNDLE_NAME |
11 | 10 | "CMake ${CMake_VERSION_MAJOR}.${CMake_VERSION_MINOR}-${CMake_VERSION_PATCH}") |
12 | 11 | SET(CMAKE_BUNDLE_LOCATION "${CMAKE_INSTALL_PREFIX}") |
13 | | @@ -554,7 +554,7 @@ |
| 12 | @@ -555,7 +555,7 @@ |
14 | 13 | ENDIF(NOT "${ENDCH}" STREQUAL "/") |
15 | 14 | SET(CMAKE_INSTALL_PREFIX |
16 | 15 | "${CMAKE_INSTALL_PREFIX}${CMAKE_BUNDLE_NAME}.app/Contents") |
… |
… |
|
19 | 18 | |
20 | 19 | SET(QT_NEED_RPATH FALSE) |
21 | 20 | IF(NOT "${QT_LIBRARY_DIR}" STREQUAL "/lib" AND NOT "${QT_LIBRARY_DIR}" STREQUAL "/usr/lib" AND NOT "${QT_LIBRARY_DIR}" STREQUAL "/lib64" AND NOT "${QT_LIBRARY_DIR}" STREQUAL "/usr/lib64") |
22 | | Only in cmake-2.8.7: CMakeLists.txt.orig |
23 | | diff -ur cmake-2.8.7-orig/Source/QtDialog/CMakeLists.txt cmake-2.8.7/Source/QtDialog/CMakeLists.txt |
24 | | --- Source/QtDialog/CMakeLists.txt 2012-02-27 16:55:54.000000000 +0100 |
25 | | +++ Source/QtDialog/CMakeLists.txt 2012-02-27 16:56:56.000000000 +0100 |
| 21 | --- Source/QtDialog/CMakeLists.txt 2012-05-11 11:39:53.000000000 +0200 |
| 22 | +++ Source/QtDialog/CMakeLists.txt 2012-05-11 11:48:15.000000000 +0200 |
26 | 23 | @@ -59,23 +59,23 @@ |
27 | 24 | IF(Q_WS_WIN) |
28 | 25 | SET(SRCS ${SRCS} CMakeSetup.rc) |
diff -ur cmake-orig/files/patch-Modules-FindQt4.cmake.diff cmake/files/patch-Modules-FindQt4.cmake.diff
old
|
new
|
|
1 | | --- Modules/FindQt4.cmake.orig 2011-10-04 12:09:24.000000000 -0400 |
2 | | +++ Modules/FindQt4.cmake 2011-10-09 14:08:00.000000000 -0400 |
| 1 | --- Modules/FindQt4.cmake 2012-05-11 11:39:53.000000000 +0200 |
| 2 | +++ Modules/FindQt4.cmake 2012-05-11 11:49:04.000000000 +0200 |
3 | 3 | @@ -526,7 +526,8 @@ |
4 | 4 | SET(QT_MKSPECS_DIR NOTFOUND) |
5 | 5 | FIND_PATH(QT_MKSPECS_DIR NAMES qconfig.pri |
… |
… |
|
10 | 10 | ENDIF() |
11 | 11 | |
12 | 12 | IF(EXISTS "${QT_MKSPECS_DIR}/qconfig.pri") |
13 | | @@ -619,6 +620,7 @@ |
| 13 | @@ -620,6 +621,7 @@ |
14 | 14 | FIND_PATH(QT_QTCORE_INCLUDE_DIR QtCore |
15 | 15 | HINTS ${qt_headers} ${QT_LIBRARY_DIR} |
16 | 16 | PATH_SUFFIXES QtCore qt4/QtCore |
… |
… |
|
18 | 18 | ) |
19 | 19 | |
20 | 20 | # Set QT_HEADERS_DIR based on finding QtCore header |
21 | | @@ -671,7 +673,8 @@ |
| 21 | @@ -672,7 +674,8 @@ |
22 | 22 | endforeach(qt_cross_path) |
23 | 23 | FIND_PATH(QT_PLUGINS_DIR NAMES accessible imageformats sqldrivers codecs designer |
24 | 24 | HINTS ${qt_cross_paths} ${qt_plugins_dir} |
… |
… |
|
28 | 28 | ENDIF (QT_LIBRARY_DIR AND NOT QT_PLUGINS_DIR OR QT_QMAKE_CHANGED) |
29 | 29 | |
30 | 30 | # ask qmake for the translations directory |
31 | | @@ -691,8 +694,7 @@ |
| 31 | @@ -692,8 +695,7 @@ |
32 | 32 | FIND_PATH(QT_IMPORTS_DIR NAMES Qt |
33 | 33 | HINTS ${qt_cross_paths} ${qt_imports_dir} |
34 | 34 | DOC "The location of the Qt imports" |