summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormew14930xvi <mew14930xvi@inbox.lv>2025-07-10 17:20:05 +0200
committerZsolt Udvari <uzsolt@FreeBSD.org>2025-07-10 17:24:24 +0200
commit9e40a7a7a30bb70f79ab684a088cca2c7d802161 (patch)
treeab2896ec9619c63cc845b54c692c3b653238e27c
parentdatabases/cego,devel/lfcbase: update 2.52.17 -> 2.52.18, 1.21.7 -> 1.21.8 (diff)
net-mgmt/tcpreplay: Remove libpcapnav from build dependencies
The pcapnav is unused in this program - the binaries with or without it doesn't differ. The ldd says isn't linked to libpcapnav. Details: the src/common/fakepcapnav.h includes pcapnav.h if it exists (HAVE_PCAPNAV). If it doesn't exist it fakepcapnav.h defines some structure (they are same in libpcapnav's pcapnav.h). The tcpreplay doesn't use libpcpnav's library. Tcpreplay (re)defines them - the function doesn't nothing as the comment in src/common/fakepcapnav.c says. Remove program-transform-name option too. PR: 286787 Approved by: mew14930xvi@inbox.lv (maintainer)
-rw-r--r--net-mgmt/tcpreplay/Makefile5
1 files changed, 1 insertions, 4 deletions
diff --git a/net-mgmt/tcpreplay/Makefile b/net-mgmt/tcpreplay/Makefile
index 5794a4e8a15b..bfe73313f623 100644
--- a/net-mgmt/tcpreplay/Makefile
+++ b/net-mgmt/tcpreplay/Makefile
@@ -10,7 +10,6 @@ WWW= https://github.com/appneta/tcpreplay
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/docs/LICENSE
-BUILD_DEPENDS= pcapnav-config:net/libpcapnav
LIB_DEPENDS= libdnet.so:net/libdnet \
libopts.so:devel/autogen
@@ -20,9 +19,7 @@ CPE_VENDOR= broadcom
GNU_CONFIGURE= yes
# libopts options are required when using autogen
CONFIGURE_ARGS= --disable-libopts-install \
- --disable-local-libopts \
- --program-transform-name='s|.*\(tcp.*\)|\1|' \
- --with-pcapnav-config=${LOCALBASE}/bin/pcapnav-config
+ --disable-local-libopts
TEST_TARGET= test