1 |
commit: 68aa66b89f2d32b8bff55056ac18befaa1d2a74a |
2 |
Author: Tony Vroon <chainsaw <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Sep 27 13:13:19 2016 +0000 |
4 |
Commit: Tony Vroon <chainsaw <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Sep 27 13:13:45 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68aa66b8 |
7 |
|
8 |
net-wireless/rfkill: Do not set toolchain variables in global scope; closes bug #593408 by Michał Górny. |
9 |
|
10 |
Package-Manager: portage-2.3.1 |
11 |
|
12 |
net-wireless/rfkill/rfkill-0.5.ebuild | 9 +++------ |
13 |
1 file changed, 3 insertions(+), 6 deletions(-) |
14 |
|
15 |
diff --git a/net-wireless/rfkill/rfkill-0.5.ebuild b/net-wireless/rfkill/rfkill-0.5.ebuild |
16 |
index 248b232..4453dc7 100644 |
17 |
--- a/net-wireless/rfkill/rfkill-0.5.ebuild |
18 |
+++ b/net-wireless/rfkill/rfkill-0.5.ebuild |
19 |
@@ -1,8 +1,8 @@ |
20 |
-# Copyright 1999-2013 Gentoo Foundation |
21 |
+# Copyright 1999-2016 Gentoo Foundation |
22 |
# Distributed under the terms of the GNU General Public License v2 |
23 |
# $Id$ |
24 |
|
25 |
-EAPI=5 |
26 |
+EAPI=6 |
27 |
|
28 |
inherit toolchain-funcs |
29 |
|
30 |
@@ -18,11 +18,8 @@ IUSE="" |
31 |
RDEPEND="" |
32 |
DEPEND="" |
33 |
|
34 |
-CC=$(tc-getCC) |
35 |
-LD=$(tc-getLD) |
36 |
- |
37 |
src_compile() { |
38 |
- emake V=1 || die "Failed to compile" |
39 |
+ emake CC=$(tc-getCC) LD=$(tc-getLD) V=1 || die "Failed to compile" |
40 |
} |
41 |
|
42 |
src_install() { |