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

sci-geosciences/congen: drop deprecated ltprune eclass

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

 sci-geosciences/congen/congen-1.6.2-r1.ebuild | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/sci-geosciences/congen/congen-1.6.2-r1.ebuild 
b/sci-geosciences/congen/congen-1.6.2-r1.ebuild
index 9bbfd8b6ee3..400b0fd64e9 100644
--- a/sci-geosciences/congen/congen-1.6.2-r1.ebuild
+++ b/sci-geosciences/congen/congen-1.6.2-r1.ebuild
@@ -3,8 +3,6 @@
 
 EAPI=6
 
-inherit ltprune
-
 MY_P=${P/_p/-r}
 DESCRIPTION="Calculate speeds, equilibrium arguments, node factors of tidal 
constituents"
 HOMEPAGE="http://www.flaterco.com/xtide/files.html";
@@ -29,5 +27,8 @@ src_configure() {
 
 src_install() {
        default
-       use static-libs || prune_libtool_files
+
+       if ! use static-libs; then
+               find "${ED}" -name '*.la' -delete || die
+       fi
 }

Reply via email to