summaryrefslogtreecommitdiff
path: root/eclass/linux-build.eclass
diff options
context:
space:
mode:
authorBertrand Jacquin <bertrand@jacquin.bzh>2023-12-05 02:46:21 +0000
committerBertrand Jacquin <bertrand@jacquin.bzh>2023-12-05 02:46:21 +0000
commite1f7119e6b8887bede766564ee39a00a455d8126 (patch)
tree2b09cb0d3b3252df62b8e65a20c7555fe20786e3 /eclass/linux-build.eclass
parentsys-kernel/stable-sources: version bump (diff)
downloadportage-e1f7119e6b8887bede766564ee39a00a455d8126.tar.xz
eclass/linux-build: switch to app-alternatives/
Diffstat (limited to 'eclass/linux-build.eclass')
-rw-r--r--eclass/linux-build.eclass10
1 files changed, 5 insertions, 5 deletions
diff --git a/eclass/linux-build.eclass b/eclass/linux-build.eclass
index ac5d55f8..5671081c 100644
--- a/eclass/linux-build.eclass
+++ b/eclass/linux-build.eclass
@@ -45,7 +45,7 @@ REQUIRED_USE="symlink? ( source )
rust? ( llvm )"
BDEPEND="${BDEPEND}
- sys-devel/bc
+ app-alternatives/bc
sys-apps/diffutils
virtual/libelf
${PYTHON_DEPS}
@@ -352,12 +352,12 @@ _linux-build_src_prepare_build() {
_linux-build_configval NET || ewarn "CONFIG_NET is needed for >=sys-fs/udev-210"
if _linux-build_configval KERNEL_GZIP ; then
- if ! has_version -b "app-arch/gzip" ; then
- die "app-arch/gzip is required for CONFIG_KERNEL_GZIP"
+ if ! has_version -b "app-alternatives/gzip" ; then
+ die "app-alternatives/gzip is required for CONFIG_KERNEL_GZIP"
fi
elif _linux-build_configval KERNEL_BZIP2 ; then
- if ! has_version -b "app-arch/bzip2" ; then
- die "app-arch/bzip2 is required for CONFIG_KERNEL_BZIP2"
+ if ! has_version -b "app-alternatives/bzip2" ; then
+ die "app-alternatives/bzip2 is required for CONFIG_KERNEL_BZIP2"
fi
elif _linux-build_configval KERNEL_LZMA ; then
if ! has_version -b "app-arch/lzma" ; then