From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 37529139082 for ; Fri, 1 Dec 2017 23:40:56 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 42038E083E; Fri, 1 Dec 2017 23:40:55 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1CFE6E083E for ; Fri, 1 Dec 2017 23:40:54 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 998E633FE60 for ; Fri, 1 Dec 2017 23:40:53 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E57B3AE6A for ; Fri, 1 Dec 2017 23:40:51 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1512171625.af80621b07f943bce5280a00468f2688c2df23b1.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-devel/gcc-config/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-devel/gcc-config/gcc-config-1.9.0-r1.ebuild sys-devel/gcc-config/gcc-config-1.9.0.ebuild X-VCS-Directories: sys-devel/gcc-config/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: af80621b07f943bce5280a00468f2688c2df23b1 X-VCS-Branch: master Date: Fri, 1 Dec 2017 23:40:51 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 663591f4-d952-46a1-9598-a4494ba8f139 X-Archives-Hash: a2741c47f6400ef6af6c7ba82245b863 commit: af80621b07f943bce5280a00468f2688c2df23b1 Author: Michał Górny gentoo org> AuthorDate: Fri Dec 1 13:52:51 2017 +0000 Commit: Michał Górny gentoo 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() {