From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 17B1E1387B1 for ; Tue, 22 Sep 2015 05:14:47 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 34BE4E0801; Tue, 22 Sep 2015 05:14:44 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C2036E0801 for ; Tue, 22 Sep 2015 05:14:43 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 87C1434098D for ; Tue, 22 Sep 2015 05:14:41 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6DF641FD for ; Tue, 22 Sep 2015 05:14:39 +0000 (UTC) From: "Matt Thode" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Matt Thode" Message-ID: <1442898846.6ac251c9a63310214897d01b46f686f8d2a64b8b.prometheanfire@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-power/bbswitch/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-power/bbswitch/bbswitch-0.8.ebuild X-VCS-Directories: sys-power/bbswitch/ X-VCS-Committer: prometheanfire X-VCS-Committer-Name: Matt Thode X-VCS-Revision: 6ac251c9a63310214897d01b46f686f8d2a64b8b X-VCS-Branch: master Date: Tue, 22 Sep 2015 05:14:39 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 98a6c2bd-696a-427b-985a-1069c3ac8da2 X-Archives-Hash: 69d807199ea7b4ecb0386d0919d5bde8 commit: 6ac251c9a63310214897d01b46f686f8d2a64b8b Author: Matthew Thode gentoo org> AuthorDate: Tue Sep 22 05:14:06 2015 +0000 Commit: Matt Thode gentoo org> CommitDate: Tue Sep 22 05:14:06 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ac251c9 sys-power/bbswitch: fixing build bug 513542 Package-Manager: portage-2.2.20.1 sys-power/bbswitch/bbswitch-0.8.ebuild | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/sys-power/bbswitch/bbswitch-0.8.ebuild b/sys-power/bbswitch/bbswitch-0.8.ebuild index bedd898..aa7df51 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