From: Stuart Henderson Subject: Re: ports libpcap? To: "Kirill A. Korinsky" , ports Date: Thu, 26 Feb 2026 23:07:17 +0000 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). 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