head 1.2; access; symbols pkgsrc-2026Q1:1.2.0.10 pkgsrc-2026Q1-base:1.2 pkgsrc-2025Q4:1.2.0.8 pkgsrc-2025Q4-base:1.2 pkgsrc-2025Q3:1.2.0.6 pkgsrc-2025Q3-base:1.2 pkgsrc-2025Q2:1.2.0.4 pkgsrc-2025Q2-base:1.2 pkgsrc-2025Q1:1.2.0.2 pkgsrc-2025Q1-base:1.2; locks; strict; comment @# @; 1.2 date 2025.03.01.12.16.44; author adam; state Exp; branches; next 1.1; commitid 3yxw2FbTAsBNrmLF; 1.1 date 2025.02.04.11.22.48; author wiz; state Exp; branches; next ; commitid sxYk6qAVyGh7X8IF; desc @@ 1.2 log @Fix linker flags detection @ text @$NetBSD: patch-lib_jxl__threads.cmake,v 1.1 2025/02/04 11:22:48 wiz Exp $ Not all linkers support --version-script, so test for it. --- lib/jxl_threads.cmake.orig 2024-01-05 17:14:55.908788800 +0000 +++ lib/jxl_threads.cmake @@@@ -46,8 +46,10 @@@@ if(APPLE) elseif(WIN32) # Nothing needed here, we use __declspec(dllexport) (jxl_threads_export.h) else() + if(LINKER_VERSION_SCRIPT) set_property(TARGET jxl_threads APPEND_STRING PROPERTY LINK_FLAGS " -Wl,--version-script=${CMAKE_CURRENT_SOURCE_DIR}/jxl/jxl.version") + endif(LINKER_VERSION_SCRIPT) endif() # APPLE # Compile the shared library such that the JXL_THREADS_EXPORT symbols are @ 1.1 log @graphics/libjxl: import libjxl-0.11.1 Packaged in wip by nros and myself. Library for reading and writing JPEG XL images. JPEG XL (.jxl) is the next generation , general-purpose image compression codec by the JPEG committee. @ text @d1 1 a1 1 $NetBSD$ d3 1 a3 1 All linkers do not support --version-script, so test for it d14 1 a14 1 + endif() # LINKER_VERSION_SCRIPT @