commit:     5232e815915a4f51e8704d0f835726b07a08ad0f
Author:     Eli Schwartz <eschwartz93 <AT> gmail <DOT> com>
AuthorDate: Wed Mar 27 04:16:56 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Mar 27 04:49:47 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5232e815

sci-libs/matio: 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>

 sci-libs/matio/matio-1.5.23.ebuild | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/sci-libs/matio/matio-1.5.23.ebuild 
b/sci-libs/matio/matio-1.5.23.ebuild
index 07f134ffdfa6..9e66ecdece8b 100644
--- a/sci-libs/matio/matio-1.5.23.ebuild
+++ b/sci-libs/matio/matio-1.5.23.ebuild
@@ -3,6 +3,8 @@
 
 EAPI=8
 
+inherit libtool
+
 DESCRIPTION="Library for reading and writing matlab files"
 HOMEPAGE="https://sourceforge.net/projects/matio/";
 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
@@ -18,6 +20,11 @@ RDEPEND="
 DEPEND="${RDEPEND}"
 BDEPEND="doc? ( virtual/latex-base )"
 
+src_prepare() {
+       default
+       elibtoolize
+}
+
 src_configure() {
        econf \
                --disable-static \

Reply via email to