Date: Wed, 30 Aug 2017 19:32:01 +0000 (UTC) From: Dan Langille <dvl@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r448998 - head/net-mgmt/tcpreplay Message-ID: <201708301932.v7UJW1tH094312@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: dvl Date: Wed Aug 30 19:32:00 2017 New Revision: 448998 URL: https://svnweb.freebsd.org/changeset/ports/448998 Log: Add base/port options for libpcap PR: 221923 Approved by: ehaupt (maintainer) Modified: head/net-mgmt/tcpreplay/Makefile Modified: head/net-mgmt/tcpreplay/Makefile ============================================================================== --- head/net-mgmt/tcpreplay/Makefile Wed Aug 30 19:18:00 2017 (r448997) +++ head/net-mgmt/tcpreplay/Makefile Wed Aug 30 19:32:00 2017 (r448998) @@ -4,6 +4,7 @@ PORTNAME= tcpreplay PORTVERSION= 4.2.6 DISTVERSIONPREFIX= v +PORTREVISION= 1 CATEGORIES= net-mgmt MAINTAINER= ehaupt@FreeBSD.org @@ -26,6 +27,18 @@ CONFIGURE_ARGS= --program-transform-name='s|.*\(tcp.*\ # required when using autogen CONFIGURE_ARGS+= --disable-local-libopts --disable-libopts-install + +OPTIONS_DEFINE= LIBPCAP_BASE LIBPCAP_PORTS +LIBPCAP_BASE= Build with libpcap from the base OS +LIBPCAP_PORTS= Build with net/libpcap + +OPTIONS_SINGLE= SG1 +OPTIONS_SINGLE= LIBPCAP_BASE LIBPCAP_PORTS + +OPTIONS_DEFAULT= LIBPCAP_BASE + +LIBPCAP_PORTS_BUILD_DEPENDS= ${LOCALBASE}/lib/libpcap.a:net/libpcap +LIBPCAP_PORTS_LIB_DEPENDS= libpcap.so:net/libpcap post-patch: @${REINPLACE_CMD} -e 's|-Wall -O3||' ${WRKSRC}/${CONFIGURE_SCRIPT}.ac
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201708301932.v7UJW1tH094312>