Gentoo Archives: gentoo-commits

From: Matt Thode <prometheanfire@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-power/bbswitch/
Date: Tue, 22 Sep 2015 05:14:47
Message-Id: 1442898846.6ac251c9a63310214897d01b46f686f8d2a64b8b.prometheanfire@gentoo
1 commit: 6ac251c9a63310214897d01b46f686f8d2a64b8b
2 Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
3 AuthorDate: Tue Sep 22 05:14:06 2015 +0000
4 Commit: Matt Thode <prometheanfire <AT> gentoo <DOT> org>
5 CommitDate: Tue Sep 22 05:14:06 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ac251c9
7
8 sys-power/bbswitch: fixing build bug 513542
9
10 Package-Manager: portage-2.2.20.1
11
12 sys-power/bbswitch/bbswitch-0.8.ebuild | 6 +++++-
13 1 file changed, 5 insertions(+), 1 deletion(-)
14
15 diff --git a/sys-power/bbswitch/bbswitch-0.8.ebuild b/sys-power/bbswitch/bbswitch-0.8.ebuild
16 index bedd898..aa7df51 100644
17 --- a/sys-power/bbswitch/bbswitch-0.8.ebuild
18 +++ b/sys-power/bbswitch/bbswitch-0.8.ebuild
19 @@ -1,4 +1,4 @@
20 -# Copyright 1999-2014 Gentoo Foundation
21 +# Copyright 1999-2015 Gentoo Foundation
22 # Distributed under the terms of the GNU General Public License v2
23 # $Id$
24
25 @@ -29,6 +29,10 @@ pkg_setup() {
26 BUILD_PARAMS="KVERSION=${KV_FULL}"
27 }
28
29 +src_prepare() {
30 + sed -i 's/^KDIR.*$/KDIR\ \:= \/usr\/src\/linux/g' Makefile || die
31 +}
32 +
33 src_install() {
34 insinto /etc/modprobe.d
35 newins "${FILESDIR}"/bbswitch.modprobe bbswitch.conf