summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-libs/o2scl/o2scl-0.920.ebuild')
-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