From: Kirill A. Korinsky Subject: Re: ports libpcap? To: Stuart Henderson Cc: ports Date: Fri, 27 Feb 2026 01:21:53 +0100 On Fri, 27 Feb 2026 00:07:17 +0100, Stuart Henderson wrote: > > [1 ] > that was intentional, it's in a non standard directory (similar layout > to ports/security/openssl, though I've just realised that moving the > manpages may be a good idea). > ... and the only way to get it is asking pkgconfig for libepcap Well, it seems to work, but I still think that name it libepcap everywhere is cleaner. > I did forget to update LIB_DEPENDS/WANTLIB in the wireshark diff though. > > > -- > Sent from a phone, apologies for poor formatting. > > On 26 February 2026 22:49:31 Kirill A. Korinsky wrote: > > > On Thu, 26 Feb 2026 18:45:37 +0100, > > Stuart Henderson wrote: > >> > >> [1 ] > >> I'd like to add an alternative version of libpcap to ports - similar > >> to our handling of other libraries which exist in base + ports, with a > >> non-default install path to avoid it getting picked up by accident. > >> > >> tar.gz for this attached. Any comments or OKs? > > > > It installs > > > > @static-lib lib/libpcap/libpcap.a > > @lib lib/libpcap/libpcap.so.${LIBpcap_VERSION} > > > > which conflicts with system's libpcap. > > > > with that hunk in CMakeLists's patch: > > > > --- CMakeLists.txt.orig > > +++ CMakeLists.txt > > @@ -465,7 +465,7 @@ else() > > # > > # On UN*X, it's always been libpcap. > > # > > - set(LIBRARY_NAME pcap) > > + set(LIBRARY_NAME epcap) > > endif() > > > > option(INET6 "Enable IPv6" ON) > > > > > > and adjustment SHARED_LIBS OK kirill@ > > > > -- > > wbr, Kirill > > [2 ] -- wbr, Kirill