commit:     73c5f2eaa9f83705bf6e160d34133cb20d881977
Author:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
AuthorDate: Sun Nov  3 19:00:39 2024 +0000
Commit:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
CommitDate: Sun Nov  3 19:07:11 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=73c5f2ea

media-gfx/chafa: 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>

 media-gfx/chafa/chafa-1.12.5-r1.ebuild | 7 ++++++-
 media-gfx/chafa/chafa-1.14.1.ebuild    | 5 +++++
 2 files changed, 11 insertions(+), 1 deletion(-)

diff --git a/media-gfx/chafa/chafa-1.12.5-r1.ebuild 
b/media-gfx/chafa/chafa-1.12.5-r1.ebuild
index 4c8a4adfa06b..06c118fd88ee 100644
--- a/media-gfx/chafa/chafa-1.12.5-r1.ebuild
+++ b/media-gfx/chafa/chafa-1.12.5-r1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit flag-o-matic
+inherit flag-o-matic libtool
 
 DESCRIPTION="versatile and fast Unicode/ASCII/ANSI graphics renderer"
 HOMEPAGE="https://hpjansson.org/chafa/ https://github.com/hpjansson/chafa";
@@ -28,6 +28,11 @@ QA_CONFIG_IMPL_DECL_SKIP=(
        _mm_popcnt_u64
 )
 
+src_prepare() {
+       default
+       elibtoolize
+}
+
 src_configure() {
        # bug 909429
        use webp && append-ldflags -lwebp

diff --git a/media-gfx/chafa/chafa-1.14.1.ebuild 
b/media-gfx/chafa/chafa-1.14.1.ebuild
index 819bed597ca8..4414459ae1ca 100644
--- a/media-gfx/chafa/chafa-1.14.1.ebuild
+++ b/media-gfx/chafa/chafa-1.14.1.ebuild
@@ -27,6 +27,11 @@ QA_CONFIG_IMPL_DECL_SKIP=(
        _mm_popcnt_u64
 )
 
+src_prepare() {
+       default
+       elibtoolize
+}
+
 src_configure() {
        # bug 909429
        use webp && append-ldflags -lwebp

Reply via email to