diff options
Diffstat (limited to 'net-mgmt/tcpreplay/Makefile')
-rw-r--r-- | net-mgmt/tcpreplay/Makefile | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/net-mgmt/tcpreplay/Makefile b/net-mgmt/tcpreplay/Makefile index 5794a4e8a15b..375e86229fd9 100644 --- a/net-mgmt/tcpreplay/Makefile +++ b/net-mgmt/tcpreplay/Makefile @@ -1,5 +1,5 @@ PORTNAME= tcpreplay -DISTVERSION= 4.5.1 +DISTVERSION= 4.5.2 CATEGORIES= net-mgmt MASTER_SITES= https://github.com/appneta/${PORTNAME}/releases/download/v${DISTVERSION}/ @@ -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,16 +19,19 @@ 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 -OPTIONS_DEFINE= LIBPCAP_PORTS -LIBPCAP_PORTS_DESC= Build with net/libpcap instead of from the base OS -# needs .so version (see: 262976) +OPTIONS_DEFINE= LIBPCAP_PORTS +LIBPCAP_PORTS_DESC= Build with net/libpcap instead of from the base OS + +# needs .so version (libpcap.so:net/libpcap uses libpcap from the base system) LIBPCAP_PORTS_LIB_DEPENDS= libpcap.so.1:net/libpcap LIBPCAP_PORTS_CONFIGURE_OFF= --with-libpcap=/usr/lib +post-patch: + @${REINPLACE_CMD} -e '/make test/s|make|${MAKE_CMD}|' \ + ${WRKSRC}/Makefile.in + .include <bsd.port.mk> |