My libmilter.a (why is this a static library?) is in /usr/lib64/libmilter.a, not /usr/lib/libmilter.a. My /usr/lib is not a symlink to /usr/lib64 because it doesn't have to be (AFAIK).
Created attachment 201658 [details, diff] adds $(get_libdir) where it belongs
Created attachment 201659 [details] log of configure failing
Still exists in newer versions. The fix seems pretty straightforward? # fg USE="milter" ACCEPT_KEYWORDS="~amd64" emerge amavisd-new no checking for htons in -lsocket... no checking for gethostbyname in -lnsl... no checking for pthread_once in -lpthread... no checking for snprintf... no checking for mkdtemp... no checking for mktemp... no checking for libmilter/mfapi.h... /usr/include/libmilter/mfapi.h checking for libmilter.a... no checking for libsm.a... no checking for libsmutil.a... no checking for sendmail... /usr/sbin/sendmail checking for rm... /bin/rm configure: WARNING: Oops.. I couldn't find libmilter.a. Please install Sendmail 8.12 configure: WARNING: and its libraries. You must run Build in the libmilter/ directory configure: WARNING: to compiler libmilter.
Added without a revbump: + 18 Apr 2011; Eray Aslan <eras@gentoo.org> amavisd-new-2.6.5.ebuild: + use get_libdir for helper-progs - bug #281981 + But you should really be using the amavisd-milter package by Petr Rehor. >=net-mail/amavisd-new-2.7.0 will be dropping the milter support. Check bug #318853 for amavisd-milter. The ebuild looks OK.