summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-emulation/libguestfs')
-rw-r--r--app-emulation/libguestfs/libguestfs-1.46.0-r3.ebuild (renamed from app-emulation/libguestfs/libguestfs-1.46.0-r2.ebuild)8
1 files changed, 5 insertions, 3 deletions
diff --git a/app-emulation/libguestfs/libguestfs-1.46.0-r2.ebuild b/app-emulation/libguestfs/libguestfs-1.46.0-r3.ebuild
index fafb279fa648..3a181e38f453 100644
--- a/app-emulation/libguestfs/libguestfs-1.46.0-r2.ebuild
+++ b/app-emulation/libguestfs/libguestfs-1.46.0-r3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -26,7 +26,6 @@ REQUIRED_USE="lua? ( ${LUA_REQUIRED_USE} )
python? ( ${PYTHON_REQUIRED_USE} )"
# Failures - doc
-# FIXME: selinux support is automagic
COMMON_DEPEND="
>=app-admin/augeas-1.8.0
app-arch/cpio
@@ -83,7 +82,7 @@ COMMON_DEPEND="
lua? ( ${LUA_DEPS} )
ocaml? ( >=dev-lang/ocaml-4.03:=[ocamlopt] )
selinux? (
- sys-libs/libselinux
+ sys-libs/libselinux:=
sys-libs/libsemanage
)
systemtap? ( dev-util/systemtap )
@@ -154,6 +153,9 @@ src_configure() {
append-ldflags "-Wl,-R${ESYSROOT}/usr/$(get_libdir)/xcrypt"
fi
+ # Avoid automagic SELinux dependency
+ export ac_cv_header_selinux_selinux_h=$(usex selinux)
+
econf \
--disable-appliance \
--disable-daemon \