commit: 710095e3f999c58e23ce866e0a6629dd9a0ac51c Author: Eli Schwartz <eschwartz <AT> gentoo <DOT> org> AuthorDate: Fri Sep 13 00:08:20 2024 +0000 Commit: Eli Schwartz <eschwartz <AT> gentoo <DOT> org> CommitDate: Fri Sep 13 16:09:54 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=710095e3
app-arch/libpar2: make sure elibtoolize is applied Needed to e.g. pass LTO warning flags through to the linker. Signed-off-by: Eli Schwartz <eschwartz <AT> gentoo.org> app-arch/libpar2/libpar2-0.4.ebuild | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/app-arch/libpar2/libpar2-0.4.ebuild b/app-arch/libpar2/libpar2-0.4.ebuild index 31de2a7569ff..da3ea3176a05 100644 --- a/app-arch/libpar2/libpar2-0.4.ebuild +++ b/app-arch/libpar2/libpar2-0.4.ebuild @@ -1,8 +1,10 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 +inherit libtool + DESCRIPTION="A library for par2, extracted from par2cmdline" HOMEPAGE="https://launchpad.net/libpar2/" SRC_URI="https://launchpad.net/${PN}/trunk/${PV}/+download/${P}.tar.gz" @@ -15,6 +17,11 @@ RDEPEND="dev-libs/libsigc++:2" DEPEND="${RDEPEND}" BDEPEND="virtual/pkgconfig" +src_prepare() { + default + elibtoolize +} + src_configure() { econf --disable-static }
