diff options
author | Eli Schwartz <eschwartz93@gmail.com> | 2024-02-06 10:51:51 -0500 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2024-02-06 22:44:03 +0000 |
commit | ff636eaf95bdba9d2769397b2865f2f8c428f223 (patch) | |
tree | 3280e14293dadbab845fd18767a115d12549d4d4 | |
parent | dev-libs/libpcre: remove usr-ldscript support (diff) | |
download | gentoo-ff636eaf95bdba9d2769397b2865f2f8c428f223.tar.gz gentoo-ff636eaf95bdba9d2769397b2865f2f8c428f223.tar.bz2 gentoo-ff636eaf95bdba9d2769397b2865f2f8c428f223.zip |
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@gmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r-- | dev-libs/libpcre/libpcre-8.45-r3.ebuild | 9 |
1 files 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() { |