diff options
| author | Fabrice Fontaine <fontaine.fabrice@gmail.com> | 2018-11-18 12:58:41 +0100 |
|---|---|---|
| committer | Peter Korsgaard <peter@korsgaard.com> | 2018-11-18 22:00:00 +0100 |
| commit | 6dbfbb7be2eaed7688dbfc4039ee6b1eaf74f399 (patch) | |
| tree | c157c948b6e82270ea74e6c4bc4535a01930c7d3 | |
| parent | b68ad1b2d0d1c290489e0b4e1afec46b8220a8b9 (diff) | |
| download | buildroot-6dbfbb7be2eaed7688dbfc4039ee6b1eaf74f399.tar.gz buildroot-6dbfbb7be2eaed7688dbfc4039ee6b1eaf74f399.zip | |
msmtp: enable msmtpd if MMU is available
msmtpd uses fork so enable it if MMU is available
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
| -rw-r--r-- | package/msmtp/msmtp.mk | 9 |
1 files changed, 8 insertions, 1 deletions
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 |

