commit: ff636eaf95bdba9d2769397b2865f2f8c428f223 Author: Eli Schwartz <eschwartz93 <AT> gmail <DOT> com> AuthorDate: Tue Feb 6 15:51:51 2024 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Tue Feb 6 22:44:03 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff636eaf
dev-libs/libpcre: do a full autoreconf elibtoolize is not good enough for this software because it uses a random libtool version, so patches don't tend to apply. Fixes QA warnings for failing to respect -frecord-gcc-switches. Signed-off-by: Eli Schwartz <eschwartz93 <AT> gmail.com> Signed-off-by: Sam James <sam <AT> gentoo.org> dev-libs/libpcre/libpcre-8.45-r3.ebuild | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/dev-libs/libpcre/libpcre-8.45-r3.ebuild b/dev-libs/libpcre/libpcre-8.45-r3.ebuild index b64c66f82555..006e23369ba2 100644 --- a/dev-libs/libpcre/libpcre-8.45-r3.ebuild +++ b/dev-libs/libpcre/libpcre-8.45-r3.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit libtool multilib-minimal preserve-libs +inherit autotools multilib-minimal preserve-libs DESCRIPTION="Perl-compatible regular expression library" HOMEPAGE="http://www.pcre.org/" @@ -54,7 +54,12 @@ src_prepare() { default sed -i -e "s:-lpcre ::" libpcrecpp.pc.in || die - elibtoolize + + # We do a full autoreconf because: + # - the software is end of life and never getting new dist tarballs + # - it uses a frankensteined "2.4.6.42-b88ce-dirty" libtool, which + # means elibtoolize can't find patches to apply + eautoreconf } multilib_src_configure() {
