From 2f98dced0894bdd554e58faca2683151c5c7c783 Mon Sep 17 00:00:00 2001 From: Conrad Kostecki Date: Mon, 31 May 2021 11:19:27 +0200 Subject: sci-libs/o2scl: drop deprecated ltprune eclass Signed-off-by: Conrad Kostecki Signed-off-by: David Seifert --- sci-libs/o2scl/o2scl-0.920.ebuild | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'sci-libs/o2scl') diff --git a/sci-libs/o2scl/o2scl-0.920.ebuild b/sci-libs/o2scl/o2scl-0.920.ebuild index 44c7333a984d..14402ce10a5c 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 -- cgit v1.2.3-65-gdbad