hesiod's configure script tests for send_mkquery and will add -lresolv if it finds it there, but it doesn't find it because res_mkquery became a macro at some point, and the autoconf test doesn't include resolv.h, which is needed for the macro to be defined. I simply got it to work on my system by stealing a patch from the RedHat 9 srpm and adding it to my copy of the ebuild.
which hesiod version? please provide a link to the patch.
Version 3.0.2 (the only version in the distro, afaik). The patch is from the rh 9 hesiod srpm; I've put up a copy of it at http://mgorse.home.dhs.org/hesiod-3.0.2-libresolv.patch
-r1 commited :)
hesiod-3.0.2-r1 still doesn't build for me. The configure.in patch has no effect unless autoconf is run. It builds if I had autoconf to the unpack function. (I'm using amd64 with the latest portage tree, in case it matters.)
sorry forgot that, fixed :D