diff options
Diffstat (limited to 'ports')
| -rw-r--r-- | ports/minizip-ng/Modify-header-file-path.patch | 13 | ||||
| -rw-r--r-- | ports/minizip-ng/portfile.cmake | 1 | ||||
| -rw-r--r-- | ports/minizip-ng/vcpkg.json | 1 |
3 files changed, 15 insertions, 0 deletions
diff --git a/ports/minizip-ng/Modify-header-file-path.patch b/ports/minizip-ng/Modify-header-file-path.patch new file mode 100644 index 000000000..54299bac0 --- /dev/null +++ b/ports/minizip-ng/Modify-header-file-path.patch @@ -0,0 +1,13 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 9ef8023..ec1ee55 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -81,7 +81,7 @@ include(FeatureSummary)
+
+ set(INSTALL_BIN_DIR ${CMAKE_INSTALL_FULL_BINDIR} CACHE PATH "Installation directory for executables")
+ set(INSTALL_LIB_DIR ${CMAKE_INSTALL_FULL_LIBDIR} CACHE PATH "Installation directory for libraries")
+-set(INSTALL_INC_DIR ${CMAKE_INSTALL_FULL_INCLUDEDIR} CACHE PATH "Installation directory for headers")
++set(INSTALL_INC_DIR ${CMAKE_INSTALL_FULL_INCLUDEDIR}/minizip-ng CACHE PATH "Installation directory for headers")
+ set(INSTALL_MAN_DIR ${CMAKE_INSTALL_FULL_MANDIR} CACHE PATH "Installation directory for manual pages")
+
+ set(STDLIB_DEF)
diff --git a/ports/minizip-ng/portfile.cmake b/ports/minizip-ng/portfile.cmake index d7a27e11e..6d6cd7168 100644 --- a/ports/minizip-ng/portfile.cmake +++ b/ports/minizip-ng/portfile.cmake @@ -4,6 +4,7 @@ vcpkg_from_github( REF 3.0.1
SHA512 98c9bdcea79a88a2dd69cec6c49f8565edf78ab9cddbf0e85e08b049b300b187f176bf57d5a894bf777bec0a097e46ecc05f78dab9cd5726fd473ffd8718dce0
HEAD_REF master
+ PATCHES Modify-header-file-path.patch
)
vcpkg_cmake_configure(
diff --git a/ports/minizip-ng/vcpkg.json b/ports/minizip-ng/vcpkg.json index 35ee5fa6b..b40124581 100644 --- a/ports/minizip-ng/vcpkg.json +++ b/ports/minizip-ng/vcpkg.json @@ -1,6 +1,7 @@ { "name": "minizip-ng", "version": "3.0.1", + "port-version": 1, "description": "minizip-ng is a zip manipulation library written in C that is supported on Windows, macOS, and Linux.", "homepage": "https://github.com/zlib-ng/minizip-ng", "supports": "!uwp", |
