From f2b5a73faaab68f9e6b6bc9e20ab75c6127c8c29 Mon Sep 17 00:00:00 2001 From: Felix Janda Date: Sun, 22 Oct 2017 16:47:16 -0400 Subject: www-client/elinks: prevent installation of *.alias files, bug 635090 Closes: https://bugs.gentoo.org/635090 Closes: https://github.com/gentoo/gentoo/pull/6019 --- www-client/elinks/elinks-0.12_pre6-r3.ebuild | 4 ++++ www-client/elinks/elinks-9999.ebuild | 4 ++++ 2 files changed, 8 insertions(+) (limited to 'www-client') diff --git a/www-client/elinks/elinks-0.12_pre6-r3.ebuild b/www-client/elinks/elinks-0.12_pre6-r3.ebuild index 55c2f70a35f5..b57789f25fd0 100644 --- a/www-client/elinks/elinks-0.12_pre6-r3.ebuild +++ b/www-client/elinks/elinks-0.12_pre6-r3.ebuild @@ -147,6 +147,10 @@ src_install() { docinto contrib/lua ; dodoc contrib/lua/{*.lua,elinks-remote} docinto contrib/conv ; dodoc contrib/conv/*.* docinto contrib/guile ; dodoc contrib/guile/*.scm + + # elinks uses an internal copy of gettext which ships files that may + # colliding with the system's gettext (https://bugs.gentoo.org/635090) + rm -f "${ED}"/usr/{share/locale/locale,lib/charset}.alias || die } pkg_postinst() { diff --git a/www-client/elinks/elinks-9999.ebuild b/www-client/elinks/elinks-9999.ebuild index 0cd779031302..f608a19718e3 100644 --- a/www-client/elinks/elinks-9999.ebuild +++ b/www-client/elinks/elinks-9999.ebuild @@ -141,6 +141,10 @@ src_install() { docinto contrib/lua ; dodoc contrib/lua/{*.lua,elinks-remote} docinto contrib/conv ; dodoc contrib/conv/*.* docinto contrib/guile ; dodoc contrib/guile/*.scm + + # elinks uses an internal copy of gettext which ships files that may + # colliding with the system's gettext (https://bugs.gentoo.org/635090) + rm -f "${ED}"/usr/{share/locale/locale,lib/charset}.alias || die } pkg_postinst() { -- cgit v1.2.3-65-gdbad