commit: af80621b07f943bce5280a00468f2688c2df23b1 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Fri Dec 1 13:52:51 2017 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Fri Dec 1 23:40:25 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=af80621b
sys-devel/gcc-config: Fix storing libdir & PV in installed executable 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. .../{gcc-config-1.9.0.ebuild => gcc-config-1.9.0-r1.ebuild} | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sys-devel/gcc-config/gcc-config-1.9.0.ebuild b/sys-devel/gcc-config/gcc-config-1.9.0-r1.ebuild similarity index 93% rename from sys-devel/gcc-config/gcc-config-1.9.0.ebuild rename to sys-devel/gcc-config/gcc-config-1.9.0-r1.ebuild index f6b9422871d..b27cc3b5c41 100644 --- a/sys-devel/gcc-config/gcc-config-1.9.0.ebuild +++ b/sys-devel/gcc-config/gcc-config-1.9.0-r1.ebuild @@ -18,7 +18,9 @@ IUSE="" RDEPEND=">=sys-apps/gentoo-functions-0.10" src_compile() { - emake CC="$(tc-getCC)" + emake CC="$(tc-getCC)" \ + PV="${PV}" \ + SUBLIBDIR="$(get_libdir)" } src_install() {