diff options
| author | Robert Schumacher <roschuma@microsoft.com> | 2017-08-08 13:59:01 -0700 |
|---|---|---|
| committer | Robert Schumacher <roschuma@microsoft.com> | 2017-08-08 13:59:01 -0700 |
| commit | 7b33a26c89bb6983f3f1512beeeb2c29686462d9 (patch) | |
| tree | 287e9ff218955a2f87a6a1504bf7177192636b89 | |
| parent | 2d75e5a6732b5ce181e143d7d0e2eebe13aa2e54 (diff) | |
| download | vcpkg-7b33a26c89bb6983f3f1512beeeb2c29686462d9.tar.gz vcpkg-7b33a26c89bb6983f3f1512beeeb2c29686462d9.zip | |
[minizip] Bump version to include minizip/crypt.h
| -rw-r--r-- | ports/minizip/CONTROL | 2 | ||||
| -rw-r--r-- | ports/minizip/portfile.cmake | 6 |
2 files changed, 7 insertions, 1 deletions
diff --git a/ports/minizip/CONTROL b/ports/minizip/CONTROL index e4a5daee2..b3023e990 100644 --- a/ports/minizip/CONTROL +++ b/ports/minizip/CONTROL @@ -1,4 +1,4 @@ Source: minizip -Version: 1.2.11 +Version: 1.2.11-1 Description: Build-Depends: bzip2, zlib diff --git a/ports/minizip/portfile.cmake b/ports/minizip/portfile.cmake index c0ed49486..f12e3329b 100644 --- a/ports/minizip/portfile.cmake +++ b/ports/minizip/portfile.cmake @@ -24,5 +24,11 @@ vcpkg_install_cmake() vcpkg_copy_pdbs() vcpkg_copy_tool_dependencies(${CURRENT_PACKAGES_DIR}/tools/minizip) +file(GLOB HEADERS "${CURRENT_PACKAGES_DIR}/include/minizip/*.h") +foreach(HEADER ${HEADERS}) + file(READ "${HEADER}" _contents) + string(REPLACE "#ifdef HAVE_BZIP2" "#if 1" _contents "${_contents}") + file(WRITE "${HEADER}" "${_contents}") +endforeach() file(INSTALL ${SOURCE_PATH}/contrib/minizip/MiniZip64_info.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/minizip RENAME copyright) |
