See tracker.
Is this *just* for www-client/firefox-38.8.0? That's the only instance of global get_libdir that I can find.. If so, that ebuild will be dropped as soon as stabilization has occurred on all necessary arches.
firefox-38.8.0 has been dropped from the gentoo repo, closing.