summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2020-03-06 08:25:11 +0100
committerFabian Groffen <grobian@gentoo.org>2020-03-06 08:25:33 +0100
commitbe647df7eeea95cad901ebb25fc290d8c6071046 (patch)
tree6438299d3d3fcc0748d8ca226dd8566ef371997b /mail-client
parentmail-client/mutt: cleanup old (diff)
downloadgentoo-be647df7eeea95cad901ebb25fc290d8c6071046.tar.gz
gentoo-be647df7eeea95cad901ebb25fc290d8c6071046.tar.bz2
gentoo-be647df7eeea95cad901ebb25fc290d8c6071046.zip
mail-client/mutt-1.13.4-r1: provide mandatory atachments settings
Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Fabian Groffen <grobian@gentoo.org>
Diffstat (limited to 'mail-client')
-rw-r--r--mail-client/mutt/mutt-1.13.4-r1.ebuild (renamed from mail-client/mutt/mutt-1.13.4.ebuild)12
1 files changed, 10 insertions, 2 deletions
diff --git a/mail-client/mutt/mutt-1.13.4.ebuild b/mail-client/mutt/mutt-1.13.4-r1.ebuild
index f67a122ec259..bf80a3ff6d28 100644
--- a/mail-client/mutt/mutt-1.13.4.ebuild
+++ b/mail-client/mutt/mutt-1.13.4-r1.ebuild
@@ -198,14 +198,22 @@ src_configure() {
src_install() {
emake DESTDIR="${D}" install
+ insinto /etc/${PN}
if use mbox; then
- insinto /etc/mutt
newins "${FILESDIR}"/Muttrc.mbox Muttrc
else
- insinto /etc/mutt
doins "${FILESDIR}"/Muttrc
fi
+ # include attachment settings, it's mandatory and shouldn't harm
+ # when not being referenced (index_format using %X)
+ {
+ echo
+ echo "# mandatory attachments settings, not setting these is a BUG!"
+ echo "# see https://marc.info/?l=mutt-dev&m=158347284923517&w=2"
+ grep '^attachments' "${ED}"/etc/${PN}/Muttrc.dist
+ } >> "${ED}"/etc/${PN}/Muttrc
+
# A newer file is provided by app-misc/mime-types. So we link it.
rm "${ED}"/etc/${PN}/mime.types
dosym ../mime.types /etc/${PN}/mime.types