commit: bf230e0ecd0f96ae77b582be69b3adbde1b128af Author: Eli Schwartz <eschwartz <AT> gentoo <DOT> org> AuthorDate: Thu Feb 27 05:22:45 2025 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Fri Mar 7 05:43:49 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bf230e0e
sys-auth/oath-toolkit: make sure elibtoolize is applied Needed to e.g. pass LTO warning flags through to the linker. [sam: Add Bug: links.] Bug: https://bugs.gentoo.org/719314 Bug: https://bugs.gentoo.org/833850 Signed-off-by: Eli Schwartz <eschwartz <AT> gentoo.org> Signed-off-by: Sam James <sam <AT> gentoo.org> sys-auth/oath-toolkit/oath-toolkit-2.6.12.ebuild | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/sys-auth/oath-toolkit/oath-toolkit-2.6.12.ebuild b/sys-auth/oath-toolkit/oath-toolkit-2.6.12.ebuild index 5ac94c24f38e..74bd6fafabb5 100644 --- a/sys-auth/oath-toolkit/oath-toolkit-2.6.12.ebuild +++ b/sys-auth/oath-toolkit/oath-toolkit-2.6.12.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -inherit pam +inherit libtool pam DESCRIPTION="Toolkit for using one-time password authentication with HOTP/TOTP algorithms" HOMEPAGE="https://www.nongnu.org/oath-toolkit/" @@ -38,6 +38,11 @@ QA_CONFIG_IMPL_DECL_SKIP=( src_prepare() { default + elibtoolize + # upstream has a gdoc.mk, which declares that Makefile.am -> Makefile.in has a rebuild rule on: + # $(top_builddir)/configure + # which is baffling and also totally breaks elibtoolize. Munge the timestamps into forgetting about this. + touch */man/Makefile.gdoc */man/Makefile.in || die # After patching, we have to fix the mtime on libpskc/global.c so # that it doesn't cause Makefile.gdoc to be rebuilt so that it
