svn commit: r334277 - in head: contrib/libpcap contrib/ofed/usr.lib/3 contrib/pf/pflogd contrib/wpa/src/l2_packet lib lib/libpcap share/mk usr.sbin/cxgbetool

Hans Petter Selasky hps at selasky.org
Wed May 30 07:52:47 UTC 2018


On 05/30/18 09:36, Antoine Brodin wrote:
> On Wed, May 30, 2018 at 7:31 AM, Hans Petter Selasky <hps at 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
>>>> <hselasky at 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

--HPS



More information about the svn-src-head mailing list