summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-03-06 08:51:27 +0000
committerSam James <sam@gentoo.org>2022-03-06 09:18:25 +0000
commitdc0541e23d790c3fdfea8e256d73b2cf916f310e (patch)
treea1492069e94d532db615a794a1a617a9a96fbd63 /app-emulation/libguestfs
parentapp-forensics/chkrootkit: x86 stable wrt bug #834615 (diff)
downloadgentoo-dc0541e23d790c3fdfea8e256d73b2cf916f310e.tar.gz
gentoo-dc0541e23d790c3fdfea8e256d73b2cf916f310e.tar.bz2
gentoo-dc0541e23d790c3fdfea8e256d73b2cf916f310e.zip
app-emulation/libguestfs: fix automagic libselinux dependency
Signed-off-by: Sam James <sam@gentoo.org>
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 \