[Bug 210390] net-mgmt/lldpd: Update to 0.9.4

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Jun 23 06:44:38 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=210390

--- Comment #3 from Mathieu Simon <freebsd at simweb.ch> ---
Hi Kurt

Thanks for asking, I don't always test all possible combinations of options
when updating the port but don't remember 'poudriere testport' previously
reporting this:

[...]
===========================================================================
====> Running Q/A tests (stage-qa)
Error: /usr/local/sbin/lldpd is linked to /usr/local/lib/libpkg.so.3 from
ports-mgmt/pkg but it is not declared as a dependency
Warning: you need LIB_DEPENDS+=libpkg.so:ports-mgmt/pkg
[...]

And I think it's due to the resulting linking here:

# ldd /usr/local/sbin/lldpd | grep pkg
        libpkg.so.3 => /usr/local/lib/libpkg.so.3 (0x802212000)

Instead of depending blindly on libpkg I revisited that and was able to see
that this dependency only gets added if SNMP is enabled (which is a default
option)

Let me know what you think about, I'm definitely not an expert in that area.
I'll upload an updated patch correctly reflecting the more precise dependency
now.

-- Mathieu

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list