commit:     58f552ad51af68e8067e2dd29f1318abb99deda5
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Feb  4 17:53:09 2026 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Feb  4 17:53:53 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=58f552ad

sys-apps/coreutils: switch to using --with{,out}-selinux

Bug: https://bugs.gentoo.org/301782
Closes: https://bugs.gentoo.org/969610
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-apps/coreutils/coreutils-9.10.ebuild | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/sys-apps/coreutils/coreutils-9.10.ebuild 
b/sys-apps/coreutils/coreutils-9.10.ebuild
index 6e5af727b369..fd56d3431258 100644
--- a/sys-apps/coreutils/coreutils-9.10.ebuild
+++ b/sys-apps/coreutils/coreutils-9.10.ebuild
@@ -167,6 +167,7 @@ src_configure() {
                $(use_enable xattr)
                $(use_with gmp libgmp)
                $(use_with openssl)
+               $(use_with selinux)
        )
 
        if use gmp ; then
@@ -189,11 +190,6 @@ src_configure() {
                sed -i '/elf_sys=yes/s:yes:no:' configure || die
        fi
 
-       if ! use selinux ; then
-               # bug #301782
-               export 
ac_cv_{header_selinux_{context,flash,selinux}_h,search_setfilecon}=no
-       fi
-
        econf "${myconf[@]}"
 }
 

Reply via email to