net-misc/netplan: add musl libc compat patch
This commit is contained in:
@@ -18,7 +18,7 @@ SLOT="0"
|
||||
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
IUSE="examples +systemd +bash-completion test lto"
|
||||
IUSE="elibc_musl +examples +systemd +bash-completion test lto"
|
||||
REQUIRED_USE="systemd bash-completion"
|
||||
|
||||
DEPEND=">=dev-libs/glib-2.64.3
|
||||
@@ -44,12 +44,22 @@ RDEPEND=">=dev-python/netifaces-0.10.9
|
||||
app-shells/bash-completion
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/0001-build-add-Gentoo-compat.patch"
|
||||
)
|
||||
|
||||
distutils_enable_sphinx doc
|
||||
|
||||
src_prepare() {
|
||||
local PATCHES=(
|
||||
"${FILESDIR}/0001-build-add-Gentoo-compat.patch"
|
||||
)
|
||||
|
||||
if use elibc_musl; then
|
||||
PATCHES+=(
|
||||
"${FILESDIR}/0001-don-t-fail-if-GLOB_BRACE-is-not-defined.patch"
|
||||
)
|
||||
fi
|
||||
|
||||
default
|
||||
}
|
||||
|
||||
python_configure() {
|
||||
local emesonargs=(
|
||||
$(meson_use test unit_testing)
|
||||
|
||||
Reference in New Issue
Block a user