diff options
Diffstat (limited to 'devel/zziplib/files/patch-zzip-CMakeLists.txt')
-rw-r--r-- | devel/zziplib/files/patch-zzip-CMakeLists.txt | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/devel/zziplib/files/patch-zzip-CMakeLists.txt b/devel/zziplib/files/patch-zzip-CMakeLists.txt index 9029e93c85ac..7dbf32e25845 100644 --- a/devel/zziplib/files/patch-zzip-CMakeLists.txt +++ b/devel/zziplib/files/patch-zzip-CMakeLists.txt @@ -1,7 +1,7 @@ ---- zzip/CMakeLists.txt.orig 2021-01-04 23:05:08 UTC +--- zzip/CMakeLists.txt.orig 2025-04-18 21:40:05 UTC +++ zzip/CMakeLists.txt -@@ -189,16 +189,16 @@ target_link_libraries(libzzipmmapped ZLIB::ZLIB ) - target_include_directories (libzzipmmapped PRIVATE ${CMAKE_SOURCE_DIR} ${CMAKE_BINARY_DIR}) +@@ -242,16 +242,16 @@ endif() + add_custom_target(libzzipmmapped.gcov DEPENDS libzzipmmapped.so.gcov) endif() -set_target_properties(libzzip PROPERTIES OUTPUT_NAME "zzip" RELEASE_POSTFIX "-${RELNUM}") @@ -20,3 +20,12 @@ SET_TARGET_PROPERTIES(libzzipmmapped PROPERTIES VERSION ${VERNUM}.${FIXNUM} SOVERSION ${VERNUM}) endif() +@@ -304,7 +304,7 @@ install(FILES ${outdir}/zziplib.pc ${outdir}/zzipmmapp + + if(ZZIP_PKGCONFIG) + install(FILES ${outdir}/zziplib.pc ${outdir}/zzipmmapped.pc ${outdir}/zzipfseeko.pc +- DESTINATION "${CMAKE_INSTALL_DATADIR}/pkgconfig" ) ++ DESTINATION "${CMAKE_INSTALL_LIBDIR}/pkgconfig" ) + endif() + + install(FILES ${libzzip_HDRS} DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/zzip ) |