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 <[email protected]>
---
 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
[email protected]
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to