commit:     e6e08c21c9ac1f32715c11caba482883d824b9c8
Author:     Eli Schwartz <eschwartz93 <AT> gmail <DOT> com>
AuthorDate: Tue Mar  5 23:49:39 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Mar  6 03:36:19 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e6e08c21

app-text/enchant: make sure elibtoolize is applied

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>

 app-text/enchant/enchant-2.5.0.ebuild | 9 ++++++++-
 app-text/enchant/enchant-2.6.1.ebuild | 9 ++++++++-
 2 files changed, 16 insertions(+), 2 deletions(-)

diff --git a/app-text/enchant/enchant-2.5.0.ebuild 
b/app-text/enchant/enchant-2.5.0.ebuild
index 127c7ab47e6b..22f22e0ed91a 100644
--- a/app-text/enchant/enchant-2.5.0.ebuild
+++ b/app-text/enchant/enchant-2.5.0.ebuild
@@ -1,8 +1,10 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
+inherit libtool
+
 DESCRIPTION="Spellchecker wrapping library"
 HOMEPAGE="https://abiword.github.io/enchant/";
 
SRC_URI="https://github.com/AbiWord/enchant/releases/download/v${PV}/${P}.tar.gz";
@@ -37,6 +39,11 @@ QA_CONFIG_IMPL_DECL_SKIP=(
        alignof
 )
 
+src_prepare() {
+       default
+       elibtoolize
+}
+
 src_configure() {
        local myconf=(
                --disable-static

diff --git a/app-text/enchant/enchant-2.6.1.ebuild 
b/app-text/enchant/enchant-2.6.1.ebuild
index 784efb038eaf..d75574d1ad61 100644
--- a/app-text/enchant/enchant-2.6.1.ebuild
+++ b/app-text/enchant/enchant-2.6.1.ebuild
@@ -1,8 +1,10 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
+inherit libtool
+
 DESCRIPTION="Spellchecker wrapping library"
 HOMEPAGE="https://abiword.github.io/enchant/";
 
SRC_URI="https://github.com/AbiWord/enchant/releases/download/v${PV}/${P}.tar.gz";
@@ -39,6 +41,11 @@ QA_CONFIG_IMPL_DECL_SKIP=(
        unreachable
 )
 
+src_prepare() {
+       default
+       elibtoolize
+}
+
 src_configure() {
        local myconf=(
                --disable-static

Reply via email to