On Wed, May 30, 2018 at 7:52 AM, Hans Petter Selasky <h...@selasky.org> wrote: > On 05/30/18 09:36, Antoine Brodin wrote: >> >> On Wed, May 30, 2018 at 7:31 AM, Hans Petter Selasky <h...@selasky.org> >> wrote: >>> >>> On 05/30/18 09:04, Hans Petter Selasky wrote: >>>> >>>> >>>> On 05/30/18 08:04, Antoine Brodin wrote: >>>>> >>>>> >>>>> On Mon, May 28, 2018 at 10:12 AM, Hans Petter Selasky >>>>> <hsela...@freebsd.org> wrote: >>>>>> >>>>>> >>>>>> Author: hselasky >>>>>> Date: Mon May 28 08:12:18 2018 >>>>>> New Revision: 334277 >>>>>> URL: https://svnweb.freebsd.org/changeset/base/334277 >>>>>> >>>>>> Log: >>>>>> MFV r333789: libpcap 1.9.0 (pre-release) >>>>>> >>>>>> MFC after: 1 month >>>>>> Sponsored by: Mellanox Technologies >>>>> >>>>> >>>>> >>>>> Hi, >>>>> >>>>> Some things seem to be missing. >>>>> For instance, pcap_setsampling and pcap_open are now declared in >>>>> pcap.h but they are not compiled in libpcap.so. >>>>> net/p5-Net-Pcap is confused by this: >>>>> >>>>> >>>>> http://gohan2.ysv.freebsd.org/data/head-amd64-default-baseline/p471115_s334360/logs/errors/p5-Net-Pcap-0.18.log >>>> >>>> >>>> >>> >>> Hi, >>> >>> net/p5-Net-Pcap is supposed to depend on and use net/libpcap which >>> install >>> into /usr/local/lib and /usr/local/include from what I understand. >> >> >> No, it worked fine with libpcap from base previously. >> pcap/pcap.h now exposes functions from pcap-new.c but pcap-new.c is >> not compiled. > > > Hi, > > pcap-new.c is only compiled if libpcap should have remote support, which the > in-base library didn't have? > > Can you try to modify the net/p5-Net-Pcap Makefile like this: > > BUILD_DEPENDS= p5-IO-Interface>=0:net/p5-IO-Interface \ > libpcap>=0:net/libpcap > > CFLAGS+= -I${PREFIX}/include > LDFLAGS+= -L${PREFIX}/lib
Could the pcap/pcap.h header be fixed instead with #ifdef HAVE_REMOTE as it previously had? Antoine _______________________________________________ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"