For some reason there's a patch that makes net-snmp link to libpkg. This is unnecessary and files/patch-agent_Makefile.in should be removed.
net-snmp is supposed to link against libpkg for pkg support in net-snmp.
Status?
not a bug... it's a feature, quite literally so