head 1.3; access; symbols pkgsrc-2023Q4:1.2.0.24 pkgsrc-2023Q4-base:1.2 pkgsrc-2023Q3:1.2.0.22 pkgsrc-2023Q3-base:1.2 pkgsrc-2023Q2:1.2.0.20 pkgsrc-2023Q2-base:1.2 pkgsrc-2023Q1:1.2.0.18 pkgsrc-2023Q1-base:1.2 pkgsrc-2022Q4:1.2.0.16 pkgsrc-2022Q4-base:1.2 pkgsrc-2022Q3:1.2.0.14 pkgsrc-2022Q3-base:1.2 pkgsrc-2022Q2:1.2.0.12 pkgsrc-2022Q2-base:1.2 pkgsrc-2022Q1:1.2.0.10 pkgsrc-2022Q1-base:1.2 pkgsrc-2021Q4:1.2.0.8 pkgsrc-2021Q4-base:1.2 pkgsrc-2021Q3:1.2.0.6 pkgsrc-2021Q3-base:1.2 pkgsrc-2021Q2:1.2.0.4 pkgsrc-2021Q2-base:1.2 pkgsrc-2021Q1:1.2.0.2 pkgsrc-2021Q1-base:1.2; locks; strict; comment @# @; 1.3 date 2024.02.28.17.58.00; author adam; state dead; branches; next 1.2; commitid jCAlSiNizcn98e0F; 1.2 date 2021.01.17.09.36.45; author otis; state Exp; branches; next 1.1; commitid a3ghE8viFVBwT3EC; 1.1 date 2021.01.12.21.06.20; author otis; state Exp; branches; next ; commitid f44yF759hHPDStDC; desc @@ 1.3 log @zziplib: updated to 0.13.73 release 0.13.73 * fixed last cmake bug - parallel builds can lead to race condition * abolished centos8 testbuilds and prepared ubuntu24 * integrated some github patches * prepare autoformat with clang-format (not yet enforced) @ text @$NetBSD: patch-zzipwrap_CMakeLists.txt,v 1.2 2021/01/17 09:36:45 otis Exp $ Use portable ln switches. This is a backport of https://github.com/gdraheim/zziplib/commit/eaba986ff3e6b29539d693fdab7189682dc72351 --- zzipwrap/CMakeLists.txt.orig 2021-01-04 23:05:08.000000000 +0000 +++ zzipwrap/CMakeLists.txt @@@@ -82,6 +82,22 @@@@ install(FILES ${outdir}/zzipwrap.pc DESTINATION "${CMAKE_INSTALL_LIBDIR}/pkgconfig" ) endif() +if(ZZIP_COMPAT OR ZZIP_LIBTOOL) + if(CMAKE_SHARED_LIBRARY_SONAME_C_FLAG) + execute_process(COMMAND bash -c "ln --help" + OUTPUT_VARIABLE ln_verbose_help + ERROR_QUIET + ) + string(FIND "${ln_verbose_help}" "verbose" ln_verbose_found) + if(${ln_verbose_found} STREQUAL "-1") + set(ln_svf "ln -sf") + else() + set(ln_svf "ln -svf") + endif() + message(STATUS "Can symlink libraries with: ${ln_svf}") + endif() +endif() + install(FILES ${libzzipwrap_HDRS} DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/zzip ) install(TARGETS libzzipwrap LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} @@@@ -99,7 +115,7 @@@@ if(ZZIP_LIBTOOL) cd $DESTDIR/${libdir} [ -f ${lib}${libname}${librelease}${dll}.${libversion} ] || exit 0 echo -n .. Installing: `pwd` - ln -svf ${lib}${libname}${librelease}${dll}.${libversion} ${lib}${libname}${dll} + ${ln_svf} ${lib}${libname}${librelease}${dll}.${libversion} ${lib}${libname}${dll} \")") endif() endif() @ 1.2 log @archivers/zziplib: Use portable switches for ln Backport of upstream change. See https://github.com/gdraheim/zziplib/commit/eaba986ff3e6b29539d693fdab7189682dc72351 @ text @d1 1 a1 1 $NetBSD: patch-zzipwrap_CMakeLists.txt,v 1.1 2021/01/12 21:06:20 otis Exp $ @ 1.1 log @archivers/zziplib: Fix build on SmartOS Use portable switches to `ln' @ text @d1 1 a1 1 $NetBSD$ d3 4 a6 1 Use portable ln switches d10 24 a33 1 @@@@ -99,7 +99,7 @@@@ if(ZZIP_LIBTOOL) d38 1 a38 1 + ln -sf ${lib}${libname}${librelease}${dll}.${libversion} ${lib}${libname}${dll} @