summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMike Pagano <mpagano@gentoo.org>2023-10-19 14:10:22 -0400
committerMike Pagano <mpagano@gentoo.org>2023-10-19 14:10:22 -0400
commit73b4fb45a86e8918529e29ee61e6a54e9034a064 (patch)
tree5c6fe2df309a45ffc7d4bed8044e30feb1779ab0 /eclass
parentsys-apps/file: add another seccomp fix for sandbox (diff)
downloadgentoo-73b4fb45a86e8918529e29ee61e6a54e9034a064.tar.gz
gentoo-73b4fb45a86e8918529e29ee61e6a54e9034a064.tar.bz2
gentoo-73b4fb45a86e8918529e29ee61e6a54e9034a064.zip
kernel-2.eclass: Allow ebuilds to set their own SLOT
Signed-off-by: Mike Pagano <mpagano@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/kernel-2.eclass3
1 files changed, 1 insertions, 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"