commit:     440c4aa22168442d23c67876567d97220e849dec
Author:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 11 18:55:24 2024 +0000
Commit:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Thu Jan 11 18:55:48 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=440c4aa2

sys-libs/glibc: libcrypt has been removed from the GNU C Library

Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>

 sys-libs/glibc/glibc-9999.ebuild | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/sys-libs/glibc/glibc-9999.ebuild b/sys-libs/glibc/glibc-9999.ebuild
index 4740163cf11f..cd4b039899b3 100644
--- a/sys-libs/glibc/glibc-9999.ebuild
+++ b/sys-libs/glibc/glibc-9999.ebuild
@@ -47,7 +47,7 @@ fi
 SRC_URI+=" multilib-bootstrap? ( 
https://dev.gentoo.org/~dilfridge/distfiles/gcc-multilib-bootstrap-${GCC_BOOTSTRAP_VER}.tar.xz
 )"
 SRC_URI+=" systemd? ( 
https://gitweb.gentoo.org/proj/toolchain/glibc-systemd.git/snapshot/glibc-systemd-${GLIBC_SYSTEMD_VER}.tar.gz
 )"
 
-IUSE="audit caps cet compile-locales +crypt custom-cflags doc gd 
hash-sysv-compat headers-only +multiarch multilib multilib-bootstrap nscd perl 
profile selinux +ssp stack-realign +static-libs suid systemd systemtap test 
vanilla"
+IUSE="audit caps cet compile-locales custom-cflags doc gd hash-sysv-compat 
headers-only +multiarch multilib multilib-bootstrap nscd perl profile selinux 
+ssp stack-realign +static-libs suid systemd systemtap test vanilla"
 
 # Here's how the cross-compile logic breaks down ...
 #  CTARGET - machine that will target the binaries
@@ -1038,7 +1038,6 @@ glibc_do_configure() {
                --libexecdir='$(libdir)'/misc/glibc
                --with-bugurl=https://bugs.gentoo.org/
                --with-pkgversion="$(glibc_banner)"
-               $(use_enable crypt)
                $(use_multiarch || echo --disable-multi-arch)
                $(use_enable systemtap)
                $(use_enable nscd)
@@ -1194,7 +1193,6 @@ glibc_headers_configure() {
                --host=${CTARGET_OPT:-${CTARGET}}
                --with-headers=$(build_eprefix)$(alt_build_headers)
                --prefix="$(host_eprefix)/usr"
-               $(use_enable crypt)
                ${EXTRA_ECONF}
        )
 
@@ -1632,7 +1630,7 @@ pkg_preinst() {
        # Keep around libcrypt so that Perl doesn't break when merging libxcrypt
        # (libxcrypt is the new provider for now of libcrypt.so.{1,2}).
        # bug #802207
-       if ! use crypt && has_version "${CATEGORY}/${PN}[crypt]" && ! has 
preserve-libs ${FEATURES}; then
+       if has_version "${CATEGORY}/${PN}[crypt]" && ! has preserve-libs 
${FEATURES}; then
                PRESERVED_OLD_LIBCRYPT=1
                cp -p "${EROOT}/$(get_libdir)/libcrypt$(get_libname 1)" 
"${T}/libcrypt$(get_libname 1)" || die
        else

Reply via email to