diff --git a/devel/libcbor/Makefile b/devel/libcbor/Makefile index c2363dc28014..8a4bfbde72e6 100644 --- a/devel/libcbor/Makefile +++ b/devel/libcbor/Makefile @@ -1,34 +1,34 @@ PORTNAME= libcbor -PORTVERSION= 0.13.0 +PORTVERSION= 0.14.0 DISTVERSIONPREFIX= v CATEGORIES= devel MAINTAINER= sunpoet@FreeBSD.org COMMENT= CBOR protocol implementation for C and others WWW= https://github.com/PJK/libcbor LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE.md USES= cmake:testing CMAKE_OFF= CBOR_CUSTOM_ALLOC \ CMAKE_INTERPROCEDURAL_OPTIMIZATION \ COVERAGE \ HUGE_FUZZ \ PRINT_FUZZ \ SANE_MALLOC \ SANITIZE \ WITH_EXAMPLES \ WITH_TESTS CMAKE_ON= BUILD_SHARED_LIBS \ CBOR_PRETTY_PRINTER \ CMAKE_SKIP_INSTALL_ALL_DEPENDENCY CMAKE_TESTING_ON= WITH_TESTS PLIST_SUB= PORTVERSION=${PORTVERSION} GH_ACCOUNT= PJK USE_GITHUB= yes .include diff --git a/devel/libcbor/distinfo b/devel/libcbor/distinfo index 0347f1883a73..99782bdff323 100644 --- a/devel/libcbor/distinfo +++ b/devel/libcbor/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1757436411 -SHA256 (PJK-libcbor-v0.13.0_GH0.tar.gz) = 95a7f0dd333fd1dce3e4f92691ca8be38227b27887599b21cd3c4f6d6a7abb10 -SIZE (PJK-libcbor-v0.13.0_GH0.tar.gz) = 299917 +TIMESTAMP = 1780751904 +SHA256 (PJK-libcbor-v0.14.0_GH0.tar.gz) = a8c1516e741562cf95aa4479c64916c3d4d2623e24fdc35e414e2320e7300aae +SIZE (PJK-libcbor-v0.14.0_GH0.tar.gz) = 317101 diff --git a/devel/libcbor/files/patch-src-CMakeLists.txt b/devel/libcbor/files/patch-src-CMakeLists.txt index c185c1e95c59..9171642408f5 100644 --- a/devel/libcbor/files/patch-src-CMakeLists.txt +++ b/devel/libcbor/files/patch-src-CMakeLists.txt @@ -1,40 +1,42 @@ ---- src/CMakeLists.txt.orig 2025-05-06 17:51:02 UTC +--- src/CMakeLists.txt.orig 2026-04-06 22:57:56 UTC +++ src/CMakeLists.txt -@@ -29,12 +29,19 @@ add_library(cbor ${SOURCES}) +@@ -29,6 +29,7 @@ add_library(cbor ${SOURCES}) endif() add_library(cbor ${SOURCES}) +add_library(cbor_static STATIC ${SOURCES}) - target_include_directories(cbor PUBLIC - $ + + target_compile_definitions(cbor + PRIVATE +@@ -60,7 +61,13 @@ target_include_directories(cbor PUBLIC $ $ $) +target_include_directories(cbor_static PUBLIC + $ + $ + $ + $) set_target_properties(cbor PROPERTIES EXPORT_NAME libcbor) +set_target_properties(cbor_static PROPERTIES OUTPUT_NAME cbor) # For vendored builds add_library(libcbor::libcbor ALIAS cbor) -@@ -62,7 +69,7 @@ set_target_properties( - PROPERTIES VERSION ${CBOR_VERSION} +@@ -88,7 +95,7 @@ set_target_properties( + PROPERTIES VERSION ${PROJECT_VERSION} MACHO_COMPATIBILITY_VERSION - ${CBOR_VERSION_MAJOR}.${CBOR_VERSION_MINOR}.0 -- SOVERSION ${CBOR_VERSION_MAJOR}.${CBOR_VERSION_MINOR}) -+ SOVERSION ${CBOR_VERSION_MAJOR}) + ${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}.0 +- SOVERSION ${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}) ++ SOVERSION ${PROJECT_VERSION_MAJOR}) join_paths(libdir_for_pc_file "\${prefix}" "${CMAKE_INSTALL_LIBDIR}") join_paths(includedir_for_pc_file "\${prefix}" "${CMAKE_INSTALL_INCLUDEDIR}") -@@ -70,7 +77,7 @@ install( +@@ -96,7 +103,7 @@ install( # http://www.cmake.org/Wiki/CMake:Install_Commands install( - TARGETS cbor + TARGETS cbor cbor_static EXPORT libcborTargets ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}