Index: libstdc++-v3-3.3.6.ebuild =================================================================== RCS file: /var/cvsroot/gentoo-x86/sys-libs/libstdc++-v3/libstdc++-v3-3.3.6.ebuild,v retrieving revision 1.23 diff -u -p -r1.23 libstdc++-v3-3.3.6.ebuild --- libstdc++-v3-3.3.6.ebuild 16 Feb 2009 23:38:47 -0000 1.23 +++ libstdc++-v3-3.3.6.ebuild 16 Feb 2009 23:40:43 -0000 @@ -121,6 +121,15 @@ src_unpack() { elibtoolize --portage --shallow ./contrib/gcc_update --touch mkdir -p "${WORKDIR}"/build + + if use multilib ; then + # ugh, this shit has to match the way we've hacked gcc else + # the build falls apart #259215 + sed -i \ + -e 's:\(MULTILIB_OSDIRNAMES = \).*:\1../lib64 ../lib32:' \ + "${S}"/gcc/config/i386/t-linux64 \ + || die "sed failed!" + fi } src_compile() {