1 |
commit: 185098c7a665b68d50e2873b93f1c051d9b105a3 |
2 |
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun May 24 22:17:28 2020 +0000 |
4 |
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun May 24 22:17:28 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=185098c7 |
7 |
|
8 |
sys-block/blktrace: avoid 'gcc' call in 'make install' |
9 |
|
10 |
Package-Manager: Portage-2.3.99, Repoman-2.3.22 |
11 |
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org> |
12 |
|
13 |
sys-block/blktrace/blktrace-1.2.0.ebuild | 4 ++-- |
14 |
1 file changed, 2 insertions(+), 2 deletions(-) |
15 |
|
16 |
diff --git a/sys-block/blktrace/blktrace-1.2.0.ebuild b/sys-block/blktrace/blktrace-1.2.0.ebuild |
17 |
index 68ca8627f8c..099c1255bad 100644 |
18 |
--- a/sys-block/blktrace/blktrace-1.2.0.ebuild |
19 |
+++ b/sys-block/blktrace/blktrace-1.2.0.ebuild |
20 |
@@ -1,4 +1,4 @@ |
21 |
-# Copyright 1999-2018 Gentoo Foundation |
22 |
+# Copyright 1999-2020 Gentoo Authors |
23 |
# Distributed under the terms of the GNU General Public License v2 |
24 |
|
25 |
EAPI="6" |
26 |
@@ -47,7 +47,7 @@ src_compile() { |
27 |
} |
28 |
|
29 |
src_install() { |
30 |
- emake install DESTDIR="${ED}" prefix="/usr" mandir="/usr/share/man" |
31 |
+ emake install CC="$(tc-getCC)" CFLAGS="${CFLAGS} ${CPPFLAGS}" DESTDIR="${ED}" prefix="/usr" mandir="/usr/share/man" |
32 |
einstalldocs |
33 |
use doc && dodoc doc/blktrace.pdf btt/doc/btt.pdf |
34 |
} |