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 C952E158089 for ; Thu, 19 Oct 2023 18:10:57 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 141532BC0B1; Thu, 19 Oct 2023 18:10:57 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 EC06E2BC0B1 for ; Thu, 19 Oct 2023 18:10:56 +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 DE2E0335CDF for ; Thu, 19 Oct 2023 18:10:55 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 254A6B4E for ; Thu, 19 Oct 2023 18:10:54 +0000 (UTC) From: "Mike Pagano" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mike Pagano" Message-ID: <1697739022.73b4fb45a86e8918529e29ee61e6a54e9034a064.mpagano@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: eclass/ X-VCS-Repository: repo/gentoo X-VCS-Files: eclass/kernel-2.eclass X-VCS-Directories: eclass/ X-VCS-Committer: mpagano X-VCS-Committer-Name: Mike Pagano X-VCS-Revision: 73b4fb45a86e8918529e29ee61e6a54e9034a064 X-VCS-Branch: master Date: Thu, 19 Oct 2023 18:10: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: 93f37dc9-93b1-4711-9f18-2d539f7ab871 X-Archives-Hash: 05a8b12e117575296cacfb1bfc08ea04 commit: 73b4fb45a86e8918529e29ee61e6a54e9034a064 Author: Mike Pagano gentoo org> AuthorDate: Thu Oct 19 18:10:22 2023 +0000 Commit: Mike Pagano gentoo org> CommitDate: Thu Oct 19 18:10:22 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=73b4fb45 kernel-2.eclass: Allow ebuilds to set their own SLOT Signed-off-by: Mike Pagano gentoo.org> eclass/kernel-2.eclass | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/eclass/kernel-2.eclass b/eclass/kernel-2.eclass index 8bab2b482cf7..5ecd97c173ff 100644 --- a/eclass/kernel-2.eclass +++ b/eclass/kernel-2.eclass @@ -304,7 +304,6 @@ RESTRICT="binchecks strip" # set LINUX_HOSTCFLAGS if not already set : "${LINUX_HOSTCFLAGS:="-Wall -Wstrict-prototypes -Os -fomit-frame-pointer -I${S}/include"}" - # @FUNCTION: debug-print-kernel2-variables # @USAGE: # @DESCRIPTION: @@ -665,7 +664,7 @@ if [[ ${ETYPE} == sources ]]; then virtual/pkgconfig )" - SLOT="${PVR}" + SLOT=${SLOT:=${PVR}} DESCRIPTION="Sources based on the Linux Kernel" IUSE="symlink build"