commit:     2f98dced0894bdd554e58faca2683151c5c7c783
Author:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Mon May 31 09:19:27 2021 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Mon May 31 09:19:27 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f98dced

sci-libs/o2scl: drop deprecated ltprune eclass

Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
Signed-off-by: David Seifert <soap <AT> gentoo.org>

 sci-libs/o2scl/o2scl-0.920.ebuild | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/sci-libs/o2scl/o2scl-0.920.ebuild 
b/sci-libs/o2scl/o2scl-0.920.ebuild
index 44c7333a984..14402ce10a5 100644
--- a/sci-libs/o2scl/o2scl-0.920.ebuild
+++ b/sci-libs/o2scl/o2scl-0.920.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=6
 
-inherit flag-o-matic ltprune toolchain-funcs
+inherit flag-o-matic toolchain-funcs
 
 DESCRIPTION="Object-oriented Scientific Computing Library"
 HOMEPAGE="https://web.utk.edu/~asteine1/o2scl/";
@@ -55,7 +55,11 @@ src_configure() {
 
 src_install() {
        default
-       use static-libs || prune_libtool_files
+
+       if ! use static-libs; then
+               find "${ED}" -name '*.la' -delete || die
+       fi
+
        rm -r "${ED}"/usr/doc || die
        if use doc; then
                dodoc -r doc/o2scl/html

Reply via email to