dev-libs/libxml2: Replace ltprune
authorMichał Górny <mgorny@gentoo.org>
Sat, 7 Dec 2019 21:32:13 +0000 (22:32 +0100)
committerMichał Górny <mgorny@gentoo.org>
Sat, 7 Dec 2019 21:33:58 +0000 (22:33 +0100)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
dev-libs/libxml2/libxml2-2.9.9-r2.ebuild

index b001a77d4c54a08d57e8e4d0bd919e70f5738bdd..24baa153a846b7806a4d122462aad81161458cfa 100644 (file)
@@ -6,7 +6,7 @@ EAPI=6
 PYTHON_COMPAT=( python2_7 python3_{5,6,7,8} )
 PYTHON_REQ_USE="xml"
 
-inherit libtool flag-o-matic ltprune python-r1 autotools prefix multilib-minimal
+inherit libtool flag-o-matic python-r1 autotools prefix multilib-minimal
 
 DESCRIPTION="XML C parser and toolkit"
 HOMEPAGE="http://www.xmlsoft.org/"
@@ -194,7 +194,7 @@ multilib_src_install_all() {
                rm -rf "${ED}"/usr/share/doc/${PF}/python/examples
        fi
 
-       prune_libtool_files --modules
+       find "${D}" -name '*.la' -delete || die
 }
 
 pkg_postinst() {