Date: Wed, 30 Aug 2017 21:47:48 +0200 From: Emanuel Haupt <ehaupt@critical.ch> To: Dan Langille <dvl@FreeBSD.org>, ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: Re: svn commit: r448998 - head/net-mgmt/tcpreplay Message-ID: <a00fd1cd-1e0a-115e-d5d2-d1478a2bea71@critical.ch> In-Reply-To: <201708301932.v7UJW1tH094312@repo.freebsd.org> References: <201708301932.v7UJW1tH094312@repo.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 30.08.17 21:32, Dan Langille wrote: > 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 > Are you going to add a description for LIBPCAP_BASE and LIBPCAP_PORTS in ports/Mk/bsd.options.desc.mk? Right now the two options have no description.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?a00fd1cd-1e0a-115e-d5d2-d1478a2bea71>