commit:     4b9aaab55dea04ca5bb75cb5d616b9b743d33e33
Author:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 20 20:03:12 2024 +0000
Commit:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
CommitDate: Fri Sep 20 21:23:05 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b9aaab5

dev-libs/argtable: 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>

 dev-libs/argtable/argtable-2.13-r4.ebuild | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/dev-libs/argtable/argtable-2.13-r4.ebuild 
b/dev-libs/argtable/argtable-2.13-r4.ebuild
index 2796be33a5f3..2ce65ab42cc9 100644
--- a/dev-libs/argtable/argtable-2.13-r4.ebuild
+++ b/dev-libs/argtable/argtable-2.13-r4.ebuild
@@ -3,6 +3,8 @@
 
 EAPI=8
 
+inherit libtool
+
 MY_PV="$(ver_rs 1 '-')"
 MY_P=${PN}${MY_PV}
 
@@ -21,6 +23,11 @@ PATCHES=(
        "${FILESDIR}"/${PN}-2.13-Fix-undeclared-library-function.patch
 )
 
+src_prepare() {
+       default
+       elibtoolize
+}
+
 src_configure() {
        econf \
                $(use_enable debug) \

Reply via email to