From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 172D7138334 for ; Mon, 25 Feb 2019 20:28:38 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 26520E0882; Mon, 25 Feb 2019 20:28:37 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id DF386E0882 for ; Mon, 25 Feb 2019 20:28:36 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 83E8833BF53 for ; Mon, 25 Feb 2019 20:28:34 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id F374853A for ; Mon, 25 Feb 2019 20:28:32 +0000 (UTC) From: "Piotr Karbowski" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Piotr Karbowski" Message-ID: <1551126127.f83c42395d88b21be2f2fedc99ecb73dc230a775.slashbeast@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-r2.ebuild sys-power/bbswitch/bbswitch-9999.ebuild sys-power/bbswitch/metadata.xml X-VCS-Directories: sys-power/bbswitch/ X-VCS-Committer: slashbeast X-VCS-Committer-Name: Piotr Karbowski X-VCS-Revision: f83c42395d88b21be2f2fedc99ecb73dc230a775 X-VCS-Branch: master Date: Mon, 25 Feb 2019 20:28:32 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 88fdf551-18b8-4b32-92e5-17e11b505207 X-Archives-Hash: b190f7a76bccdb50def08b0b3b4c72dd commit: f83c42395d88b21be2f2fedc99ecb73dc230a775 Author: Piotr Karbowski gentoo org> AuthorDate: Mon Feb 25 20:22:07 2019 +0000 Commit: Piotr Karbowski gentoo org> CommitDate: Mon Feb 25 20:22:07 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f83c4239 sys-power/bbswitch: 9999, 0.8-r2 - better kernel source dir handling, With approval of NP-Hardass adding myself to metadata. EAPI bump. Fixing the way kernel sources are find, the hardcoded value uses running kernel's /build dir, it was later altered to default /usr/src/linux. This change makes it so it uses $KERNEL_DIR that defaults to /usr/src/linux and fallback to running kernel's /build if no /usr/src/linux exist. Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Piotr Karbowski gentoo.org> sys-power/bbswitch/{bbswitch-9999.ebuild => bbswitch-0.8-r2.ebuild} | 6 +++--- sys-power/bbswitch/bbswitch-9999.ebuild | 6 +++--- sys-power/bbswitch/metadata.xml | 4 ++++ 3 files changed, 10 insertions(+), 6 deletions(-) diff --git a/sys-power/bbswitch/bbswitch-9999.ebuild b/sys-power/bbswitch/bbswitch-0.8-r2.ebuild similarity index 89% copy from sys-power/bbswitch/bbswitch-9999.ebuild copy to sys-power/bbswitch/bbswitch-0.8-r2.ebuild index bb29cb2fd85..ad44354463c 100644 --- a/sys-power/bbswitch/bbswitch-9999.ebuild +++ b/sys-power/bbswitch/bbswitch-0.8-r2.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 inherit linux-mod @@ -39,7 +39,7 @@ pkg_setup() { src_prepare() { # Fix build failure, bug #513542 - sed -i 's/^KDIR.*$/KDIR\ \:= \/usr\/src\/linux/g' Makefile || die + sed "s%^KDIR :=.*%KDIR := ${KERNEL_DIR}%g" -i Makefile || die default } diff --git a/sys-power/bbswitch/bbswitch-9999.ebuild b/sys-power/bbswitch/bbswitch-9999.ebuild index bb29cb2fd85..ad44354463c 100644 --- a/sys-power/bbswitch/bbswitch-9999.ebuild +++ b/sys-power/bbswitch/bbswitch-9999.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 inherit linux-mod @@ -39,7 +39,7 @@ pkg_setup() { src_prepare() { # Fix build failure, bug #513542 - sed -i 's/^KDIR.*$/KDIR\ \:= \/usr\/src\/linux/g' Makefile || die + sed "s%^KDIR :=.*%KDIR := ${KERNEL_DIR}%g" -i Makefile || die default } diff --git a/sys-power/bbswitch/metadata.xml b/sys-power/bbswitch/metadata.xml index 437e2daa175..4c90e0a75de 100644 --- a/sys-power/bbswitch/metadata.xml +++ b/sys-power/bbswitch/metadata.xml @@ -1,6 +1,10 @@ + + slashbeast@gentoo.org + Piotr Karbowski + NP-Hardass@gentoo.org NP-Hardass