dev-libs/apr: drop ltprune eclass
authorThomas Deutschmann <whissi@gentoo.org>
Sat, 1 Sep 2018 17:44:27 +0000 (19:44 +0200)
committerThomas Deutschmann <whissi@gentoo.org>
Sat, 1 Sep 2018 17:54:55 +0000 (19:54 +0200)
Package-Manager: Portage-2.3.48, Repoman-2.3.10

dev-libs/apr/apr-1.6.3-r2.ebuild

index e1f58f62ed52af493facf245094078f74c5520ff..5333edec323d2c783628e443e022691ead132bea 100644 (file)
@@ -3,7 +3,7 @@
 
 EAPI=6
 
-inherit autotools libtool ltprune multilib toolchain-funcs
+inherit autotools libtool multilib toolchain-funcs
 
 DESCRIPTION="Apache Portable Runtime Library"
 HOMEPAGE="https://apr.apache.org/"
@@ -140,7 +140,9 @@ src_install() {
        # Prallel install breaks since apr-1.5.1
        #make -j1 DESTDIR="${D}" install || die
 
-       prune_libtool_files --all
+       if ! use static-libs; then
+               find "${ED%/}" -name '*.la' -delete || die
+       fi
 
        if use doc; then
                docinto html