From: "Michael Palimaka" <kensington@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-block/whdd/
Date: Sun, 29 Jan 2017 17:25:12 +0000 (UTC) [thread overview]
Message-ID: <1485710702.83b41f95c034da25f87946f1b490df7f03a0ba9c.kensington@gentoo> (raw)
commit: 83b41f95c034da25f87946f1b490df7f03a0ba9c
Author: Andrey Utkin <andrey_utkin <AT> fastmail <DOT> com>
AuthorDate: Sun Jan 29 17:02:12 2017 +0000
Commit: Michael Palimaka <kensington <AT> gentoo <DOT> 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
+}
next reply other threads:[~2017-01-29 17:26 UTC|newest]
Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-29 17:25 Michael Palimaka [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-11-23 16:44 [gentoo-commits] repo/gentoo:master commit in: sys-block/whdd/ Michał Górny
2024-05-21 11:39 Marek Szuba
2023-08-16 12:01 Marek Szuba
2022-05-12 14:10 Marek Szuba
2022-05-12 14:10 Marek Szuba
2022-04-07 20:58 Jakov Smolić
2022-04-06 21:44 Marek Szuba
2022-04-06 21:44 Marek Szuba
2022-04-01 13:55 Marek Szuba
2021-07-17 21:30 David Seifert
2021-06-22 18:20 Florian Schmaus
2021-01-13 9:18 Sam James
2021-01-12 23:56 Sam James
2021-01-11 13:18 Andrey Utkin
2020-12-08 11:55 Andrey Utkin
2018-06-24 10:02 Jeroen Roovers
2018-01-07 15:50 Andrey Utkin
2018-01-07 15:50 Andrey Utkin
2018-01-07 15:50 Andrey Utkin
2017-01-29 15:22 Michael Palimaka
2017-01-29 15:22 Michael Palimaka
2017-01-29 15:22 Michael Palimaka
2017-01-29 15:22 Michael Palimaka
2017-01-29 15:22 Michael Palimaka
2017-01-28 21:12 Johannes Huber
2017-01-28 21:12 Johannes Huber
2017-01-28 21:12 Johannes Huber
2017-01-28 21:12 Johannes Huber
2015-12-22 10:53 Patrice Clement
2015-12-22 10:53 Patrice Clement
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1485710702.83b41f95c034da25f87946f1b490df7f03a0ba9c.kensington@gentoo \
--to=kensington@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox