commit:     ed9c79a8a2c97dcd25033f4c977df49cb1eeb775
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Jan  9 08:30:52 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Jan  9 08:30:59 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed9c79a8

sys-libs/pam: disable pam_lastlog for musl

It doesn't build there b/c of lack of utmps.

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

 sys-libs/pam/pam-1.7.0_p20241230-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/pam/pam-1.7.0_p20241230-r2.ebuild 
b/sys-libs/pam/pam-1.7.0_p20241230-r2.ebuild
index a50180b88068..39604de4889a 100644
--- a/sys-libs/pam/pam-1.7.0_p20241230-r2.ebuild
+++ b/sys-libs/pam/pam-1.7.0_p20241230-r2.ebuild
@@ -121,7 +121,7 @@ multilib_src_configure() {
                # probably need a news item.
                $(meson_native_use_feature systemd logind)
                $(meson_native_use_feature elogind)
-               -Dpam_lastlog=enabled
+               $(meson_feature !elibc_musl pam_lastlog)
        )
 
        # This whole weird has_version libxcrypt block can go once

Reply via email to