summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Janda <felix.janda@posteo.de>2017-10-22 16:47:16 -0400
committerAndreas K. Hüttel <dilfridge@gentoo.org>2017-10-22 23:30:31 +0200
commitf2b5a73faaab68f9e6b6bc9e20ab75c6127c8c29 (patch)
tree49b83680e6e227ed7a141ecb25336c5017be1b27 /www-client/elinks
parentdev-libs/openssl: add Fedora Hobbled-EC. (diff)
downloadgentoo-f2b5a73faaab68f9e6b6bc9e20ab75c6127c8c29.tar.gz
gentoo-f2b5a73faaab68f9e6b6bc9e20ab75c6127c8c29.tar.bz2
gentoo-f2b5a73faaab68f9e6b6bc9e20ab75c6127c8c29.zip
www-client/elinks: prevent installation of *.alias files, bug 635090
Closes: https://bugs.gentoo.org/635090 Closes: https://github.com/gentoo/gentoo/pull/6019
Diffstat (limited to 'www-client/elinks')
-rw-r--r--www-client/elinks/elinks-0.12_pre6-r3.ebuild4
-rw-r--r--www-client/elinks/elinks-9999.ebuild4
2 files changed, 8 insertions, 0 deletions
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() {