summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTony Vroon <chainsaw@gentoo.org>2016-09-27 14:13:19 +0100
committerTony Vroon <chainsaw@gentoo.org>2016-09-27 14:13:45 +0100
commit68aa66b89f2d32b8bff55056ac18befaa1d2a74a (patch)
tree4e73b8fd290ecd32c79ef0456a824085bffae653 /net-wireless/rfkill
parentvirtual/mpi: re-added ~alpha (bug 592468) (diff)
downloadgentoo-68aa66b89f2d32b8bff55056ac18befaa1d2a74a.tar.gz
gentoo-68aa66b89f2d32b8bff55056ac18befaa1d2a74a.tar.bz2
gentoo-68aa66b89f2d32b8bff55056ac18befaa1d2a74a.zip
net-wireless/rfkill: Do not set toolchain variables in global scope; closes bug #593408 by Michał Górny.
Package-Manager: portage-2.3.1
Diffstat (limited to 'net-wireless/rfkill')
-rw-r--r--net-wireless/rfkill/rfkill-0.5.ebuild9
1 files changed, 3 insertions, 6 deletions
diff --git a/net-wireless/rfkill/rfkill-0.5.ebuild b/net-wireless/rfkill/rfkill-0.5.ebuild
index 248b23211b5..4453dc7f4e5 100644
--- a/net-wireless/rfkill/rfkill-0.5.ebuild
+++ b/net-wireless/rfkill/rfkill-0.5.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
-EAPI=5
+EAPI=6
inherit toolchain-funcs
@@ -18,11 +18,8 @@ IUSE=""
RDEPEND=""
DEPEND=""
-CC=$(tc-getCC)
-LD=$(tc-getLD)
-
src_compile() {
- emake V=1 || die "Failed to compile"
+ emake CC=$(tc-getCC) LD=$(tc-getLD) V=1 || die "Failed to compile"
}
src_install() {