From 09c1b249afd16f2d95f3dadce0a23d665050cc35 Mon Sep 17 00:00:00 2001 From: Emanuel Haupt Date: Sat, 2 Apr 2022 12:15:04 +0200 Subject: net-mgmt/tcpreplay: properly depend on ports libpcap This port offers a non-default option to use net/libpcap instead of the one from base. If that option is chosen specifically specify the shared object version in order to link against libpcap from ports. PR: 262976 Reported by: mikael --- net-mgmt/tcpreplay/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'net-mgmt/tcpreplay') diff --git a/net-mgmt/tcpreplay/Makefile b/net-mgmt/tcpreplay/Makefile index 65ab1c9f6489..bd788ea170a9 100644 --- a/net-mgmt/tcpreplay/Makefile +++ b/net-mgmt/tcpreplay/Makefile @@ -2,6 +2,7 @@ PORTNAME= tcpreplay DISTVERSION= 4.4.1 +PORTREVISION= 1 CATEGORIES= net-mgmt MASTER_SITES= https://github.com/appneta/${PORTNAME}/releases/download/v${DISTVERSION}/ @@ -34,6 +35,7 @@ LIBPCAP_BASE_DESC= Build with libpcap from the base OS LIBPCAP_PORTS_DESC= Build with net/libpcap LIBPCAP_BASE_CONFIGURE_ON= --with-libpcap=/usr/lib -LIBPCAP_PORTS_LIB_DEPENDS= libpcap.so:net/libpcap +# needs .so version (see: 262976) +LIBPCAP_PORTS_LIB_DEPENDS= libpcap.so.1:net/libpcap .include -- cgit v1.2.3