File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change 11# Copyright 2023 Alexey Gladkov <gladkov.alexey@gmail.com>
2- # Copyright 2024 Gabi Falk <gabifalk@gmx.com>
2+ # Copyright 2024-2025 Gabi Falk <gabifalk@gmx.com>
33# SPDX-License-Identifier: GPL-2.0-or-later
44
55EAPI=8
@@ -41,6 +41,7 @@ DEPEND="
4141 zlib? ( sys-libs/zlib )
4242 zstd? ( app-arch/zstd )
4343 elf-metadata? ( dev-libs/json-c )
44+ elibc_musl? ( sys-libs/fts-standalone )
4445"
4546RDEPEND=" ${DEPEND} "
4647
@@ -55,6 +56,12 @@ BDEPEND="
5556
5657src_prepare () {
5758 default
59+ if use elibc_musl; then
60+ # Some busybox features are broken with musl.
61+ # See https://wiki.musl-libc.org/building-busybox
62+ sed ' s/^CONFIG_FEATURE_VI_REGEX_SEARCH=y/# CONFIG_FEATURE_VI_REGEX_SEARCH is not set/' \
63+ -i external/busybox/config
64+ fi
5865
5966 eautoreconf
6067}
You can’t perform that action at this time.
0 commit comments