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

     
    66
    77name            cmake
    88version         2.8.8
     9revision    1
    910set branch      [join [lrange [split ${version} .] 0 1] .]
    1011categories      devel
    1112license         BSD
     
    4950}
    5051
    5152patchfiles      patch-CMakeFindFrameworks.cmake.diff \
    52                         patch-Modules-FindQt4.cmake.diff
     53                        patch-Modules-FindQt4.cmake.diff \
     54            patch-Modules_FindPkgConfig_cmake.diff
    5355
    5456post-patch {
    5557        # copy cmake init file, ready to be patched below