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 7E8C2139085 for ; Sun, 29 Jan 2017 17:26:23 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C7EAB14355; Sun, 29 Jan 2017 17:25:17 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A0B1E14355 for ; Sun, 29 Jan 2017 17:25:17 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 09178341236 for ; Sun, 29 Jan 2017 17:25:15 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 30E073A01 for ; Sun, 29 Jan 2017 17:25:12 +0000 (UTC) From: "Michael Palimaka" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michael Palimaka" Message-ID: <1485710702.83b41f95c034da25f87946f1b490df7f03a0ba9c.kensington@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-block/whdd/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-block/whdd/whdd-3.0.ebuild sys-block/whdd/whdd-9999.ebuild X-VCS-Directories: sys-block/whdd/ X-VCS-Committer: kensington X-VCS-Committer-Name: Michael Palimaka X-VCS-Revision: 83b41f95c034da25f87946f1b490df7f03a0ba9c X-VCS-Branch: master Date: Sun, 29 Jan 2017 17:25:12 +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: 465f1aac-3601-45fe-a177-269442b04b33 X-Archives-Hash: 3a675ff381c50bdd33a7f99237d04c88 commit: 83b41f95c034da25f87946f1b490df7f03a0ba9c Author: Andrey Utkin fastmail com> AuthorDate: Sun Jan 29 17:02:12 2017 +0000 Commit: Michael Palimaka gentoo org> CommitDate: Sun Jan 29 17:25:02 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=83b41f95 sys-block/whdd: export CC to build system Use tc-export function from toolchain-funcs eclass to export CC as environment variable. This is needed because build system of whdd (>=3.0) has no configure script, but straight makefile and Portage doesn't automatically export CC and other build-related environment variables. sys-block/whdd/whdd-3.0.ebuild | 7 +++++++ sys-block/whdd/whdd-9999.ebuild | 7 +++++++ 2 files changed, 14 insertions(+) diff --git a/sys-block/whdd/whdd-3.0.ebuild b/sys-block/whdd/whdd-3.0.ebuild index 6c4ff07..822e0f2 100644 --- a/sys-block/whdd/whdd-3.0.ebuild +++ b/sys-block/whdd/whdd-3.0.ebuild @@ -7,6 +7,8 @@ EAPI=6 DESCRIPTION="Diagnostic and recovery tool for block devices" HOMEPAGE="https://whdd.github.io" +inherit toolchain-funcs + if [[ ${PV} == 9999 ]] then EGIT_REPO_URI="https://github.com/${PN}/${PN}" @@ -26,3 +28,8 @@ DEPEND=" sys-libs/ncurses:0=[unicode]" RDEPEND="${DEPEND} sys-apps/smartmontools" + +src_compile() { + tc-export CC + default +} diff --git a/sys-block/whdd/whdd-9999.ebuild b/sys-block/whdd/whdd-9999.ebuild index 6c4ff07..822e0f2 100644 --- a/sys-block/whdd/whdd-9999.ebuild +++ b/sys-block/whdd/whdd-9999.ebuild @@ -7,6 +7,8 @@ EAPI=6 DESCRIPTION="Diagnostic and recovery tool for block devices" HOMEPAGE="https://whdd.github.io" +inherit toolchain-funcs + if [[ ${PV} == 9999 ]] then EGIT_REPO_URI="https://github.com/${PN}/${PN}" @@ -26,3 +28,8 @@ DEPEND=" sys-libs/ncurses:0=[unicode]" RDEPEND="${DEPEND} sys-apps/smartmontools" + +src_compile() { + tc-export CC + default +}