Ticket #34505: port-cmake.diff
File port-cmake.diff, 1.3 KB (added by anddam (Andrea D'Amore), 12 years ago) |
---|
-
files/patch-Modules_FindPkgConfig_cmake.diff
1 --- Modules/FindPkgConfig.cmake.orig 2012-05-18 22:18:17.000000000 +0200 2 +++ Modules/FindPkgConfig.cmake 2012-05-18 22:18:37.000000000 +0200 3 @@ -100,7 +100,7 @@ 4 endif (PKG_CONFIG_EXECUTABLE) 5 6 include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake) 7 -find_package_handle_standard_args(PkgConfig 8 +find_package_handle_standard_args(PKG_CONFIG 9 REQUIRED_VARS PKG_CONFIG_EXECUTABLE 10 VERSION_VAR PKG_CONFIG_VERSION_STRING) 11 -
Portfile
6 6 7 7 name cmake 8 8 version 2.8.8 9 revision 1 9 10 set branch [join [lrange [split ${version} .] 0 1] .] 10 11 categories devel 11 12 license BSD … … 49 50 } 50 51 51 52 patchfiles patch-CMakeFindFrameworks.cmake.diff \ 52 patch-Modules-FindQt4.cmake.diff 53 patch-Modules-FindQt4.cmake.diff \ 54 patch-Modules_FindPkgConfig_cmake.diff 53 55 54 56 post-patch { 55 57 # copy cmake init file, ready to be patched below