Fix the ebuild to pass libdir & PV during src_compile() rather than
delaying it until src_install(). This is necessary since the gcc-config
executable is created during the compile phase, and there is no reason
why make would recreate it during install. As a result, gcc-config
was installed with vanilla 'lib' libdir and 'git' version.
RDEPEND=">=sys-apps/gentoo-functions-0.10"
src_compile() {
- emake CC="$(tc-getCC)"
+ emake CC="$(tc-getCC)" \
+ PV="${PV}" \
+ SUBLIBDIR="$(get_libdir)"
}
src_install() {