app-admin/augeas: wire up USE=selinux

Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2026-05-19 02:30:41 +01:00
parent 666008f67a
commit b695b5a737

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2025 Gentoo Authors
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -12,12 +12,14 @@ SRC_URI="https://github.com/hercules-team/augeas/releases/download/release-${PV}
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ppc ppc64 ~riscv ~sparc x86"
IUSE="test"
IUSE="selinux test"
RESTRICT="!test? ( test )"
RDEPEND="
dev-libs/libxml2:=
sys-libs/readline:="
sys-libs/readline:=
selinux? ( sys-libs/libselinux )
"
DEPEND="${RDEPEND}"
BDEPEND="
>=app-text/NaturalDocs-1.40
@@ -31,8 +33,7 @@ src_prepare() {
}
src_configure() {
# selinux needs to be implemented
econf --without-selinux
econf $(use_with selinux)
}
src_compile() {