Skip to content

Commit

Permalink
sys-devel/gettext: Removed some superfluous rm calls.
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
Lars Wendler committed May 9, 2019
1 parent 2d396fc commit 8fb65af
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions sys-devel/gettext/gettext-0.20.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 8fb65af

Please sign in to comment.