qt5-build.eclass: stop using deprecated ltprune.eclass
authorDavide Pesavento <pesa@gentoo.org>
Tue, 6 Mar 2018 21:28:19 +0000 (22:28 +0100)
committerMichael Palimaka <kensington@gentoo.org>
Mon, 12 Mar 2018 00:49:53 +0000 (11:49 +1100)
eclass/qt5-build.eclass

index 8bea23d44d373e310a8b60a89724a3186648d94d..12695141072c83a2939a42f3585322f9144bd6f9 100644 (file)
@@ -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