diff options
-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 |