diff options
author | Mike Pagano <mpagano@gentoo.org> | 2023-10-19 14:10:22 -0400 |
---|---|---|
committer | Mike Pagano <mpagano@gentoo.org> | 2023-10-19 14:10:22 -0400 |
commit | 73b4fb45a86e8918529e29ee61e6a54e9034a064 (patch) | |
tree | 5c6fe2df309a45ffc7d4bed8044e30feb1779ab0 /eclass | |
parent | sys-apps/file: add another seccomp fix for sandbox (diff) | |
download | gentoo-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.eclass | 3 |
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" |