summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/mutt/mutt.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/package/mutt/mutt.mk b/package/mutt/mutt.mk
index b4f18b0f7a..92457a1871 100644
--- a/package/mutt/mutt.mk
+++ b/package/mutt/mutt.mk
@@ -57,4 +57,11 @@ MUTT_CONF_ENV += \
mutt_cv_iconv_good=yes \
mutt_cv_iconv_nontrans=no
+MUTT_CONF_OPTS += --with-mailpath=/var/mail
+
+define MUTT_VAR_MAIL
+ ln -sf /tmp $(TARGET_DIR)/var/mail
+endef
+MUTT_POST_INSTALL_TARGET_HOOKS += MUTT_VAR_MAIL
+
$(eval $(autotools-package))
OpenPOWER on IntegriCloud