From: Kirill A. Korinsky Subject: Re: ports libpcap? To: ports Date: Thu, 26 Feb 2026 23:49:11 +0100 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