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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 0069915806E for ; Fri, 2 Jun 2023 11:16:58 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 34860E08E5; Fri, 2 Jun 2023 11:16:57 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1BCB8E08E5 for ; Fri, 2 Jun 2023 11:16:57 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4533A335C31 for ; Fri, 2 Jun 2023 11:16:56 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A78671D for ; Fri, 2 Jun 2023 11:16:54 +0000 (UTC) From: "Conrad Kostecki" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Conrad Kostecki" Message-ID: <1685704584.31fe45c2a3cb2152b5d11a3a3333d826ec89a70b.conikost@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/smc-sum/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-apps/smc-sum/smc-sum-2.10.0.20221209-r1.ebuild sys-apps/smc-sum/smc-sum-2.10.0.20221209.ebuild X-VCS-Directories: sys-apps/smc-sum/ X-VCS-Committer: conikost X-VCS-Committer-Name: Conrad Kostecki X-VCS-Revision: 31fe45c2a3cb2152b5d11a3a3333d826ec89a70b X-VCS-Branch: master Date: Fri, 2 Jun 2023 11:16:54 +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: d7838c57-6532-4d42-a9a7-24c5e0371e94 X-Archives-Hash: 9a1307db0dc245937d2763c0a7d23a65 commit: 31fe45c2a3cb2152b5d11a3a3333d826ec89a70b Author: Conrad Kostecki gentoo org> AuthorDate: Fri Jun 2 08:28:24 2023 +0000 Commit: Conrad Kostecki gentoo org> CommitDate: Fri Jun 2 11:16:24 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=31fe45c2 sys-apps/smc-sum: migrate to linux-mod-r1 Signed-off-by: Conrad Kostecki gentoo.org> ...20221209.ebuild => smc-sum-2.10.0.20221209-r1.ebuild} | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/sys-apps/smc-sum/smc-sum-2.10.0.20221209.ebuild b/sys-apps/smc-sum/smc-sum-2.10.0.20221209-r1.ebuild similarity index 82% rename from sys-apps/smc-sum/smc-sum-2.10.0.20221209.ebuild rename to sys-apps/smc-sum/smc-sum-2.10.0.20221209-r1.ebuild index fa73a90522dd..232195afedd7 100644 --- a/sys-apps/smc-sum/smc-sum-2.10.0.20221209.ebuild +++ b/sys-apps/smc-sum/smc-sum-2.10.0.20221209-r1.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit linux-mod +inherit linux-mod-r1 MY_DATE="$(ver_cut 4)" MY_PN="${PN/smc-/}" @@ -23,7 +23,6 @@ IUSE="module" RDEPEND=" sys-libs/zlib sys-power/iasl - module? ( !sys-apps/smc-sum-driver ) " RESTRICT="bindist mirror" @@ -39,9 +38,6 @@ DOCS=( PATCHES=( "${FILESDIR}/${PN}-2.7.0.20210903-missing-include.patch" ) -BUILD_TARGETS="default" -MODULE_NAMES="sum_bios(misc:${S}/driver/Source/Linux)" - QA_PREBUILT="usr/bin/smc-sum" src_prepare() { @@ -49,12 +45,16 @@ src_prepare() { # Install new Makefile to respect users CFLAGS and LDFLAGS cp "${FILESDIR}"/makefile driver/Source/Linux/Makefile || die + + use module && linux-mod-r1_pkg_setup } src_compile() { if use module; then - BUILD_PARAMS="KDIR=${KV_OUT_DIR} M=${S}/driver/Source/Linux" - linux-mod_src_compile + local modargs=( KDIR="${KV_OUT_DIR}" ) + local modlist=( sum_bios="misc:driver/Source/Linux" ) + + linux-mod-r1_src_compile else :; fi @@ -64,5 +64,5 @@ src_install() { newbin sum smc-sum einstalldocs - use module && linux-mod_src_install + use module && linux-mod-r1_src_install }