On 2022/12/11 14:41, Christian Weisgerber wrote:
> CVSROOT: /cvs
> Module name: ports
> Changes by: [email protected] 2022/12/11 14:41:17
>
> Modified files:
> archivers/libarchive: Makefile distinfo
> Removed files:
> archivers/libarchive/patches:
>
> patch-libarchive_archive_read_support_format_tar_c
> patch-libarchive_archive_write_c
>
> Log message:
> archivers/libarchive: update to 3.6.2
>
This adds some .private sections to the pkg-config file to help with
static linking:
: i386.p; cat /usr/local/lib/pkgconfig/libarchive.pc
prefix=/usr/local
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include
Name: libarchive
Description: library that can create and read several streaming archive formats
Version: 3.6.2
Cflags: -I${includedir}
Cflags.private: -DLIBARCHIVE_STATIC
Libs: -L${libdir} -larchive
Libs.private: -lcrypto -lexpat -llzma -lzstd -llz4 -lb2 -lbz2 -lz
Requires.private: iconv libssl libcrypto
But as we don't have a pkg-config file for iconv, trying to use this
results in failures in some cases:
: i386.p; pkg-config --cflags libarchive
Package iconv was not found in the pkg-config search path
This knocks out a few ports, at least these:
misc/osinfo/osinfo-db-tools
x11/gnome/epub-thumbnailer