commit:     cdf02b67d95801d2437d69fc30badbd16620999b
Author:     Eli Schwartz <eschwartz93 <AT> gmail <DOT> com>
AuthorDate: Mon Mar 18 05:49:35 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Mar 18 07:20:18 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cdf02b67

media-libs/sdl-ttf: make sure elibtoolize is applied

Since the libtool available is very old, that means running a full
eautoreconf.

Needed to e.g. pass LTO warning flags through to the linker.

Signed-off-by: Eli Schwartz <eschwartz93 <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 media-libs/sdl-ttf/sdl-ttf-2.0.11_p20220525.ebuild | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/media-libs/sdl-ttf/sdl-ttf-2.0.11_p20220525.ebuild 
b/media-libs/sdl-ttf/sdl-ttf-2.0.11_p20220525.ebuild
index e8e9238c0a86..6b7b276efe6a 100644
--- a/media-libs/sdl-ttf/sdl-ttf-2.0.11_p20220525.ebuild
+++ b/media-libs/sdl-ttf/sdl-ttf-2.0.11_p20220525.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
 # Check SDL-1.2 branch for possible backports/new snapshots
 
-inherit multilib-minimal
+inherit autotools multilib-minimal
 
 SDL_TTF_COMMIT="2648c22c4f9e32d05a11b32f636b1c225a1502ac"
 
@@ -28,6 +28,11 @@ RDEPEND="
 DEPEND="${RDEPEND}"
 BDEPEND="virtual/pkgconfig"
 
+src_prepare() {
+       default
+       eautoreconf
+}
+
 multilib_src_configure() {
        local myeconfargs=(
                $(use_enable static-libs static)

Reply via email to