Re: Dependency problem with lldpd

Bartek Krawczyk <[email protected]> Thu, 2 May 2013 00:45:48 +0200
Newsgroups gmane.os.netbsd.devel.pkgsrc.wip.general
Message-ID <CAFp_H4tZ8u4ubcZnU_Kz-dNXedwQKzFjK+fis3Xxzh8q0kma=A@mail.gmail.com>
On 30 April 2013 10:57, OBATA Akio <[email protected]> wrote:
> Please make sure required version of libevent for lldpd.
> If 2.0.0 is required, you should put following before the buildlink:
> BUILDLINK_API_DEPENDS.libevent+= libevent>=2.0.0
>
>> Also could anyone give a hint what does PKGCONFIG_OVERRIDE mean? It
>> was suggested by url2pkg.
>
> You can try followings:
> % make help topic=PKGCONFIG_OVERRIDE
>
> (currently, adding RPATH flags for `pkg-config --libs')

Thanks for your suggestions, that helped a lot.
Now I am trying to use pkgsrc options framework and it seems to behave
just fine but trying to compile lldpd with "--with-snmp"
I have a problem. It complains about -lperl. I tried adding perl
buildlink3.mk but it didn't help.
I have also tried using "USE_TOOLS+= perl" it also failed.

It would be great if anyone more experienced could take a look at
lldpd package. I've commited all my changes to wip.

Regards,
--
Bartek Krawczyk

------------------------------------------------------------------------------
Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET
Get 100% visibility into your production application - at no cost.
Code-level diagnostics for performance bottlenecks with <2% overhead
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap1