git: 09c1b249afd1 - main - net-mgmt/tcpreplay: properly depend on ports libpcap
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 02 Apr 2022 10:15:15 UTC
The branch main has been updated by ehaupt: URL: https://cgit.FreeBSD.org/ports/commit/?id=09c1b249afd16f2d95f3dadce0a23d665050cc35 commit 09c1b249afd16f2d95f3dadce0a23d665050cc35 Author: Emanuel Haupt <ehaupt@FreeBSD.org> AuthorDate: 2022-04-02 10:15:04 +0000 Commit: Emanuel Haupt <ehaupt@FreeBSD.org> CommitDate: 2022-04-02 10:15:04 +0000 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(-) 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>