diff --git a/archivers/libdeflate/Makefile b/archivers/libdeflate/Makefile index 1fd3c89f5cf7..8ebca8c70d79 100644 --- a/archivers/libdeflate/Makefile +++ b/archivers/libdeflate/Makefile @@ -1,25 +1,25 @@ PORTNAME= libdeflate -DISTVERSION= 1.25 +PORTVERSION= 1.26 CATEGORIES= archivers MASTER_SITES= https://github.com/ebiggers/${PORTNAME}/releases/download/v${DISTVERSION}/ MAINTAINER= danfe@FreeBSD.org COMMENT= Fast, whole-buffer DEFLATE-based compression library WWW= https://github.com/ebiggers/libdeflate LICENSE= MIT LICENSE_FILE= ${WRKSRC}/COPYING -USES= cmake:testing pathfix +USES= cmake:testing USE_LDCONFIG= yes CMAKE_ON= LIBDEFLATE_USE_SHARED_LIB CMAKE_TESTING_ON= LIBDEFLATE_BUILD_TESTS OPTIONS_DEFINE= DOCS post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/*.md ${STAGEDIR}${DOCSDIR} .include diff --git a/archivers/libdeflate/distinfo b/archivers/libdeflate/distinfo index b1f3e540ac4f..5e5d93677fe7 100644 --- a/archivers/libdeflate/distinfo +++ b/archivers/libdeflate/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1762210491 -SHA256 (libdeflate-1.25.tar.gz) = fed5cd22f00f30cc4c2e5329f94e2b8a901df9fa45ee255cb70e2b0b42344477 -SIZE (libdeflate-1.25.tar.gz) = 186474 +TIMESTAMP = 1787425039 +SHA256 (libdeflate-1.26.tar.gz) = 125856d4656e0feab660f94842f835923410c9281fedbcee64598c918da42b5a +SIZE (libdeflate-1.26.tar.gz) = 187565 diff --git a/archivers/libdeflate/files/patch-CMakeLists.txt b/archivers/libdeflate/files/patch-CMakeLists.txt index b3a936908b33..09d7f7fd6d18 100644 --- a/archivers/libdeflate/files/patch-CMakeLists.txt +++ b/archivers/libdeflate/files/patch-CMakeLists.txt @@ -1,11 +1,17 @@ ---- CMakeLists.txt.orig 2024-12-11 06:30:24 UTC +--- CMakeLists.txt.orig 2026-08-22 16:05:42 UTC +++ CMakeLists.txt -@@ -61,7 +61,7 @@ endif() +@@ -1,4 +1,4 @@ +-cmake_minimum_required(VERSION 3.10) ++cmake_minimum_required(VERSION 3.10...9.99) + + # Default to a release build. + if(NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES) +@@ -353,7 +353,7 @@ endif() + configure_file(libdeflate.pc.in libdeflate.pc @ONLY) + if(LIBDEFLATE_INSTALL) + install(FILES ${CMAKE_CURRENT_BINARY_DIR}/libdeflate.pc +- DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig) ++ DESTINATION ${CMAKE_INSTALL_PREFIX}/libdata/pkgconfig) endif() - # Set common C compiler flags for all targets (the library and the programs). --set(CMAKE_C_FLAGS_RELEASE "-O2 -DNDEBUG") -+# set(CMAKE_C_FLAGS_RELEASE "-O2 -DNDEBUG") - set(CMAKE_C_STANDARD 99) - if(NOT MSVC) - check_c_compiler_flag(-Wdeclaration-after-statement HAVE_WDECLARATION_AFTER_STATEMENT) + # Generate a "libdeflate-targets.cmake" file in the build tree that can be