commit:     8d91ef6080d577ad526f882417575cb94fb71ecf
Author:     Davide Pesavento <pesa <AT> gentoo <DOT> org>
AuthorDate: Tue Mar  6 21:28:19 2018 +0000
Commit:     Davide Pesavento <pesa <AT> gentoo <DOT> org>
CommitDate: Tue Mar  6 21:28:19 2018 +0000
URL:        https://gitweb.gentoo.org/proj/qt.git/commit/?id=8d91ef60

qt5-build.eclass: stop using deprecated ltprune.eclass

 eclass/qt5-build.eclass | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/eclass/qt5-build.eclass b/eclass/qt5-build.eclass
index 8bea23d4..12695141 100644
--- a/eclass/qt5-build.eclass
+++ b/eclass/qt5-build.eclass
@@ -57,7 +57,7 @@ esac
 # for tests you should proceed with setting VIRTUALX_REQUIRED=test.
 : ${VIRTUALX_REQUIRED:=manual}
 
-inherit eapi7-ver estack flag-o-matic ltprune toolchain-funcs virtualx
+inherit eapi7-ver estack flag-o-matic toolchain-funcs virtualx
 
 HOMEPAGE="https://www.qt.io/";
 LICENSE="|| ( GPL-2 GPL-3 LGPL-3 ) FDL-1.3"
@@ -320,7 +320,9 @@ qt5-build_src_install() {
        fi
 
        qt5_install_module_config
-       prune_libtool_files
+
+       # prune libtool files
+       find "${D}" -name '*.la' -delete || die
 }
 
 # @FUNCTION: qt5-build_pkg_postinst

Reply via email to