Not sure who is insane enough to store and read mail on an openwrt
device, but this patch at least lets mutt build so they can try.  The
mailpath directory was made up.  If someone knows a mailpath that
makes more sense, please substitute.

Signed-off-by: Russell Senior <russ...@personaltelco.net>
---
 mail/mutt/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/mail/mutt/Makefile b/mail/mutt/Makefile
index eb7381d..3792a51 100644
--- a/mail/mutt/Makefile
+++ b/mail/mutt/Makefile
@@ -37,11 +37,13 @@ CONFIGURE_ARGS += \
        --oldincludedir=$(PKG_BUILD_DIR)/. \
        --enable-pop \
        --enable-imap \
+       --with-mailpath=/usr/spool/mail \
        --with-ssl \
        --without-idn
 
 define Package/mutt/install
        $(INSTALL_DIR) $(1)/usr/bin
+       $(INSTALL_DIR) $(1)/usr/spool/mail
        $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/mutt $(1)/usr/bin/
 endef
 
-- 
1.8.3.2


-- 
Russell Senior, President
russ...@personaltelco.net
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to