On FreeBSD, amd64's kernel dir is amd64, not x86 nor x86_64 like on linux, proposed patch to handle this case: Index: toolchain-funcs.eclass =================================================================== RCS file: /var/cvsroot/gentoo-x86/eclass/toolchain-funcs.eclass,v retrieving revision 1.103 diff -u -B -r1.103 toolchain-funcs.eclass --- toolchain-funcs.eclass 28 Oct 2010 04:16:27 -0000 1.103 +++ toolchain-funcs.eclass 11 Jul 2011 23:07:35 -0000 @@ -305,6 +305,7 @@ || echo sparc ;; vax*) echo vax;; + x86_64*freebsd*) echo amd64;; x86_64*) # Starting with linux-2.6.24, the 'x86_64' and 'i386' # trees have been unified into 'x86'. This permits me to build a cross compiler. We rely on this on in some parts of sys-freebsd/freebsd-lib, some others are hackishly special cased for amd64, IMHO its much better to have this handled in the eclass.
looks fine ... feel free to commit
(In reply to comment #1) > looks fine ... feel free to commit done, thanks