sys-apps/acl: Replaced ltprune eclass with find call
authorLars Wendler <polynomial-c@gentoo.org>
Wed, 13 Nov 2019 13:13:52 +0000 (14:13 +0100)
committerLars Wendler <polynomial-c@gentoo.org>
Wed, 13 Nov 2019 13:16:08 +0000 (14:16 +0100)
Package-Manager: Portage-2.3.79, Repoman-2.3.18
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
sys-apps/acl/acl-2.2.53.ebuild

index 0ba85a5551589823379f77a092fca4773f47f880..21cf72b7268562e3228700494e07ca94ed7d1916 100644 (file)
@@ -3,7 +3,7 @@
 
 EAPI="6"
 
-inherit flag-o-matic libtool ltprune toolchain-funcs multilib-minimal usr-ldscript
+inherit flag-o-matic libtool toolchain-funcs multilib-minimal usr-ldscript
 
 DESCRIPTION="access control list utilities, libraries and headers"
 HOMEPAGE="https://savannah.nongnu.org/projects/acl"
@@ -49,5 +49,7 @@ multilib_src_install() {
 }
 
 multilib_src_install_all() {
-       use static-libs || prune_libtool_files --all
+       if ! use static-libs ; then
+               find "${ED}" -type f -name "*.la" -delete || die
+       fi
 }