aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/tcpreplay
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2022-04-02 10:15:04 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2022-04-02 10:15:04 +0000
commit09c1b249afd16f2d95f3dadce0a23d665050cc35 (patch)
treedd0bc1569a2f901c1362d147ea2b2e42002bd499 /net-mgmt/tcpreplay
parent4f5460be22b8057cc0c39ba2b3d861343698d1f3 (diff)
downloadports-09c1b249afd16f2d95f3dadce0a23d665050cc35.tar.gz
ports-09c1b249afd16f2d95f3dadce0a23d665050cc35.zip
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
Diffstat (limited to 'net-mgmt/tcpreplay')
-rw-r--r--net-mgmt/tcpreplay/Makefile4
1 files changed, 3 insertions, 1 deletions
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 <bsd.port.mk>