commit:     3e1a2796e0232c9533e2a06cf31644ccd53f4fbd
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Dec  7 21:32:13 2019 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Dec  7 21:33:58 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e1a2796

dev-libs/libxml2: Replace ltprune

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-libs/libxml2/libxml2-2.9.9-r2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-libs/libxml2/libxml2-2.9.9-r2.ebuild 
b/dev-libs/libxml2/libxml2-2.9.9-r2.ebuild
index b001a77d4c5..24baa153a84 100644
--- a/dev-libs/libxml2/libxml2-2.9.9-r2.ebuild
+++ b/dev-libs/libxml2/libxml2-2.9.9-r2.ebuild
@@ -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() {

Reply via email to