www-client/elinks: prevent installation of *.alias files, bug 635090
authorFelix Janda <felix.janda@posteo.de>
Sun, 22 Oct 2017 20:47:16 +0000 (16:47 -0400)
committerAndreas K. Hüttel <dilfridge@gentoo.org>
Sun, 22 Oct 2017 21:30:31 +0000 (23:30 +0200)
Closes: https://bugs.gentoo.org/635090
Closes: https://github.com/gentoo/gentoo/pull/6019

www-client/elinks/elinks-0.12_pre6-r3.ebuild
www-client/elinks/elinks-9999.ebuild

index 55c2f70a35f5660399c08cc615fd5a3068506fed..b57789f25fd07065e4aa257fca71799814faf12a 100644 (file)
@@ -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() {
index 0cd77903130210de43cc12891c6375768ac7a868..f608a19718e3db0f7b354618fdb9acf27ffaecee 100644 (file)
@@ -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() {