On Thu, 26 Feb 2026 18:45:37 +0100,
Stuart Henderson <stu@spacehopper.org> wrote:
>
> [1 <text/plain; us-ascii (7bit)>]
> 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
No comments:
Post a Comment