diff options
author | Matthew Thode <prometheanfire@gentoo.org> | 2015-09-22 00:14:06 -0500 |
---|---|---|
committer | Matthew Thode <prometheanfire@gentoo.org> | 2015-09-22 00:14:06 -0500 |
commit | 6ac251c9a63310214897d01b46f686f8d2a64b8b (patch) | |
tree | a840c9b96f2d75385f88778d8ee5f360f4efd4bb /sys-power/bbswitch | |
parent | sci-libs/armadillo: Mark ~ppc64 (bug #555896). (diff) | |
download | gentoo-6ac251c9a63310214897d01b46f686f8d2a64b8b.tar.gz gentoo-6ac251c9a63310214897d01b46f686f8d2a64b8b.tar.bz2 gentoo-6ac251c9a63310214897d01b46f686f8d2a64b8b.zip |
sys-power/bbswitch: fixing build bug 513542
Package-Manager: portage-2.2.20.1
Diffstat (limited to 'sys-power/bbswitch')
-rw-r--r-- | sys-power/bbswitch/bbswitch-0.8.ebuild | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys-power/bbswitch/bbswitch-0.8.ebuild b/sys-power/bbswitch/bbswitch-0.8.ebuild index bedd8989e904..aa7df518c4cd 100644 --- a/sys-power/bbswitch/bbswitch-0.8.ebuild +++ b/sys-power/bbswitch/bbswitch-0.8.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2014 Gentoo Foundation +# Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ @@ -29,6 +29,10 @@ pkg_setup() { BUILD_PARAMS="KVERSION=${KV_FULL}" } +src_prepare() { + sed -i 's/^KDIR.*$/KDIR\ \:= \/usr\/src\/linux/g' Makefile || die +} + src_install() { insinto /etc/modprobe.d newins "${FILESDIR}"/bbswitch.modprobe bbswitch.conf |