summaryrefslogtreecommitdiff
path: root/package/mutt
diff options
context:
space:
mode:
authorBaruch Siach <baruch@tkos.co.il>2017-08-07 20:54:14 +0300
committerArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>2017-08-08 17:11:20 +0200
commitf6756d69154bb8a68232ff11d4b15a2a8f0788b0 (patch)
tree3e80973a39d04505ea61b1f4a0294f05070d8a6f /package/mutt
parent2d29f050d548d9c5b6ef6002104e9341219c4356 (diff)
mutt: fix build with BR2_PACKAGE_SKELETON_NONE
BR2_PACKAGE_SKELETON_NONE does not provide the /var subdirectory which breaks symlink creation in that directory. Make sure that /var exists before creating the symlink. Fixes: http://autobuild.buildroot.net/results/32d/32dff0df759baf1120e4f11335e735eb0708b237/ Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Diffstat (limited to 'package/mutt')
-rw-r--r--package/mutt/mutt.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/mutt/mutt.mk b/package/mutt/mutt.mk
index abd40e5dd6..b0bf5a7b41 100644
--- a/package/mutt/mutt.mk
+++ b/package/mutt/mutt.mk
@@ -66,6 +66,7 @@ MUTT_CONF_ENV += \
MUTT_CONF_OPTS += --with-mailpath=/var/mail
define MUTT_VAR_MAIL
+ mkdir -p $(TARGET_DIR)/var
ln -sf /tmp $(TARGET_DIR)/var/mail
endef
MUTT_POST_INSTALL_TARGET_HOOKS += MUTT_VAR_MAIL