commit:     90b59711f3e353e4a8a07488a8adf1c655caa99b
Author:     Eli Schwartz <eschwartz93 <AT> gmail <DOT> com>
AuthorDate: Thu Mar 21 06:18:49 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Mar 22 05:31:48 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=90b59711

sci-libs/cddlib: 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/cddlib/cddlib-094m-r1.ebuild | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/sci-libs/cddlib/cddlib-094m-r1.ebuild 
b/sci-libs/cddlib/cddlib-094m-r1.ebuild
index 5cb23824058f..4a38f957054c 100644
--- a/sci-libs/cddlib/cddlib-094m-r1.ebuild
+++ b/sci-libs/cddlib/cddlib-094m-r1.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=7
 
+inherit libtool
+
 # This can't work forever; but for now, it's better than hard-coding the
 # correct version string.
 MY_PV="${PV:0:1}.${PV:1}"
@@ -23,6 +25,11 @@ RDEPEND="dev-libs/gmp:0="
 
 S="${WORKDIR}/${MY_P}"
 
+src_prepare() {
+       default
+       elibtoolize
+}
+
 src_configure() {
        econf $(use_enable static-libs static)
 }

Reply via email to