Hi, set_java_env installs env files containing lib paths. It should be possible for these paths to reference $(get_libdir), and this should be used at least by the icedtea6 ebuild (in java-overlay), possibly others. icedtea6 installs into /usr/$(get_libdir)/icedtea6, not /usr/lib/icedtea6 (nor should it), and it would be nice if it referred to that instead of relying on any /usr/lib symlink unnecessarily. Could you add -e "s/@lib@/$(get_libdir)/g" to the sed list in the eclass, and do a s|/usr/lib|/usr/@lib@| on icedtea6.env (and any other appropriate files you come across)?
Was added as @LIBDIR@ a while back: http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/eclass/java-vm-2.eclass?r1=1.29&r2=1.30