sys-devel/gettext: Removed some superfluous rm calls.
authorLars Wendler <polynomial-c@gentoo.org>
Thu, 9 May 2019 18:18:49 +0000 (20:18 +0200)
committerLars Wendler <polynomial-c@gentoo.org>
Thu, 9 May 2019 18:19:10 +0000 (20:19 +0200)
Circumvent parallel install bug by calling emake with "-j1".

Closes: https://bugs.gentoo.org/685462
Package-Manager: Portage-2.3.66, Repoman-2.3.12
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
sys-devel/gettext/gettext-0.20.ebuild

index ed1c8764f3e4ec2af092d74cf4499dd4de00a33e..cfbde00a170e68516f13cd94c8280f9d713ffa4f 100644 (file)
@@ -110,7 +110,7 @@ multilib_src_configure() {
 }
 
 multilib_src_install() {
-       default
+       emake -j1 DESTDIR="${D}" install
 
        if multilib_is_native_abi ; then
                dosym msgfmt /usr/bin/gmsgfmt #43435
@@ -119,14 +119,7 @@ multilib_src_install() {
 }
 
 multilib_src_install_all() {
-       if ! use nls ; then
-               rm -r "${ED}"/usr/share/locale || die
-       fi
-       if ! use static-libs ; then
-               find "${ED}" -type f -name "*.la" -delete || die
-       fi
-
-       rm -f "${ED}"/usr/share/locale/locale.alias "${ED}"/usr/lib/charset.alias
+       find "${ED}" -type f -name "*.la" -delete || die
 
        if use java ; then
                java-pkg_dojar "${ED}"/usr/share/${PN}/*.jar