From: Fabrice Fontaine Date: Sun, 18 Nov 2018 11:58:41 +0000 (+0100) Subject: msmtp: enable msmtpd if MMU is available X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6dbfbb7be2eaed7688dbfc4039ee6b1eaf74f399;p=buildroot.git msmtp: enable msmtpd if MMU is available msmtpd uses fork so enable it if MMU is available Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard --- diff --git a/package/msmtp/msmtp.mk b/package/msmtp/msmtp.mk index 2370591614..a495072abf 100644 --- a/package/msmtp/msmtp.mk +++ b/package/msmtp/msmtp.mk @@ -8,10 +8,17 @@ MSMTP_VERSION = 1.8.0 MSMTP_SITE = https://marlam.de/msmtp/releases MSMTP_SOURCE = msmtp-$(MSMTP_VERSION).tar.xz MSMTP_DEPENDENCIES = host-pkgconf -MSMTP_CONF_OPTS = --disable-gai-idn --without-msmtpd +MSMTP_CONF_OPTS = --disable-gai-idn MSMTP_LICENSE = GPL-3.0+ MSMTP_LICENSE_FILES = COPYING +# msmtpd needs fork +ifeq ($(BR2_USE_MMU),y) +MSMTP_CONF_OPTS += --with-msmtpd +else +MSMTP_CONF_OPTS += --without-msmtpd +endif + ifeq ($(BR2_PACKAGE_LIBGSASL),y) MSMTP_CONF_OPTS += --with-libgsasl MSMTP_DEPENDENCIES += libgsasl