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

sci-astronomy/gnuastro: drop deprecated ltprune eclass

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

 sci-astronomy/gnuastro/gnuastro-0.3.ebuild | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/sci-astronomy/gnuastro/gnuastro-0.3.ebuild 
b/sci-astronomy/gnuastro/gnuastro-0.3.ebuild
index 75df93e2412..fe896068c87 100644
--- a/sci-astronomy/gnuastro/gnuastro-0.3.ebuild
+++ b/sci-astronomy/gnuastro/gnuastro-0.3.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=6
 
-inherit autotools ltprune
+inherit autotools
 
 DESCRIPTION="GNU Astronomy Utilities"
 HOMEPAGE="https://www.gnu.org/software/gnuastro";
@@ -45,5 +45,8 @@ src_configure() {
 
 src_install() {
        default
-       use static-libs || prune_libtool_files --all
+
+       if ! use static-libs; then
+               find "${ED}" -name '*.la' -delete || die
+       fi
 }

Reply via email to