summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConrad Kostecki <conikost@gentoo.org>2021-05-31 11:19:27 +0200
committerDavid Seifert <soap@gentoo.org>2021-05-31 11:19:27 +0200
commit2f98dced0894bdd554e58faca2683151c5c7c783 (patch)
treef627a5658df39caaa05868bd7cb92e819b049382 /sci-libs/o2scl
parentsci-libs/netcdf-fortran: drop deprecated ltprune eclass (diff)
downloadgentoo-2f98dced0894bdd554e58faca2683151c5c7c783.tar.gz
gentoo-2f98dced0894bdd554e58faca2683151c5c7c783.tar.bz2
gentoo-2f98dced0894bdd554e58faca2683151c5c7c783.zip
sci-libs/o2scl: drop deprecated ltprune eclass
Signed-off-by: Conrad Kostecki <conikost@gentoo.org> Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'sci-libs/o2scl')
-rw-r--r--sci-libs/o2scl/o2scl-0.920.ebuild8
1 files changed, 6 insertions, 2 deletions
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