Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Feb 2026 12:05:43 +0000
From:      Sumit Saxena <ssaxena@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Cc:        Mark Johnston <markj@FreeBSD.org>
Subject:   git: c5b8c66fe1ae - stable/15 - libpcap: Fix dependency definitions for libpcap
Message-ID:  <69a18897.3cbc1.5e904c73@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch stable/15 has been updated by ssaxena:

URL: https://cgit.FreeBSD.org/src/commit/?id=c5b8c66fe1ae042fe964c173ad58f633c30ffa44

commit c5b8c66fe1ae042fe964c173ad58f633c30ffa44
Author:     Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2025-12-03 14:26:50 +0000
Commit:     Sumit Saxena <ssaxena@FreeBSD.org>
CommitDate: 2026-02-27 12:04:39 +0000

    libpcap: Fix dependency definitions for libpcap
    
    Commit 35dd53a9e132 ("librdmacm/libibverbs: Statically bound libbnxtre.so.1 to rping")
    causes a build failure, since src.libnames.mk declares a depencency on
    libbnxtre.so, but the libpcap Makefile and prebuild lib dependencies
    were not updated accordingly.  Fix the declarations.
    
    Fixes:  35dd53a9e132 ("librdmacm/libibverbs: Statically bound libbnxtre.so.1 to rping")
    Reviewed by:    ssaxena
    Differential Revision:  https://reviews.freebsd.org/D54048
    
    (cherry picked from commit 73e8fe62466a8ae5576473d9be4c6df9a6eedab0)
---
 Makefile.inc1        | 2 ++
 lib/libpcap/Makefile | 1 +
 2 files changed, 3 insertions(+)

diff --git a/Makefile.inc1 b/Makefile.inc1
index e3e0409c8e4e..72ca2e69c7f7 100644
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -3421,10 +3421,12 @@ _prebuild_libs+= \
 	lib/ofed/libibmad \
 	lib/ofed/libibumad \
 	lib/ofed/complib \
+	lib/ofed/libbnxtre \
 	lib/ofed/libmlx5
 
 lib/ofed/libibmad__L:	lib/ofed/libibumad__L
 lib/ofed/complib__L:	lib/libthr__L
+lib/ofed/libbnxt__L:	lib/ofed/libibverbs__L lib/libthr__L
 lib/ofed/libmlx5__L:	lib/ofed/libibverbs__L lib/libthr__L
 .endif
 
diff --git a/lib/libpcap/Makefile b/lib/libpcap/Makefile
index c4bd175b502a..7f8d8e65d79c 100644
--- a/lib/libpcap/Makefile
+++ b/lib/libpcap/Makefile
@@ -151,6 +151,7 @@ CFLAGS+= -DPCAP_SUPPORT_NETMAP
 .if ${MK_OFED} != "no"
 SRCS+= pcap-rdmasniff.c
 LIBADD+= ibverbs
+LIBADD+= bnxtre
 LIBADD+= mlx5
 CFLAGS+= -DPCAP_SUPPORT_RDMASNIFF
 .endif


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69a18897.3cbc1.5e904c73>