diff options
| -rw-r--r-- | ports/libpng/CONTROL | 2 | ||||
| -rw-r--r-- | ports/libpng/portfile.cmake | 5 |
2 files changed, 6 insertions, 1 deletions
diff --git a/ports/libpng/CONTROL b/ports/libpng/CONTROL index 988f95ebf..7c953c3fa 100644 --- a/ports/libpng/CONTROL +++ b/ports/libpng/CONTROL @@ -1,6 +1,6 @@ Source: libpng Version: 1.6.37 -Port-Version: 11 +Port-Version: 12 Build-Depends: zlib Homepage: https://github.com/glennrp/libpng Description: libpng is a library implementing an interface for reading and writing PNG (Portable Network Graphics) format files. diff --git a/ports/libpng/portfile.cmake b/ports/libpng/portfile.cmake index d366283b1..d2087caa6 100644 --- a/ports/libpng/portfile.cmake +++ b/ports/libpng/portfile.cmake @@ -3,6 +3,11 @@ set(LIBPNG_VER 1.6.37) # Download the apng patch set(LIBPNG_APNG_OPTION ) if ("apng" IN_LIST FEATURES) + # Get (g)awk installed + vcpkg_acquire_msys(MSYS_ROOT PACKAGES gawk) + set(AWK_EXE_PATH "${MSYS_ROOT}/usr/bin") + vcpkg_add_to_path("${AWK_EXE_PATH}") + set(LIBPNG_APG_PATCH_NAME libpng-${LIBPNG_VER}-apng.patch) set(LIBPNG_APG_PATCH_PATH ${CURRENT_BUILDTREES_DIR}/src/${LIBPNG_APG_PATCH_NAME}) if (NOT EXISTS ${LIBPNG_APG_PATCH_PATH}) |
