Patchwork mailx: fix the path to sendmail interface

login
register
mail settings
Submitter jackie huang
Date Feb. 27, 2014, 7:21 a.m.
Message ID <1393485667-25675-1-git-send-email-jackie.huang@windriver.com>
Download mbox | patch
Permalink /patch/67555/
State New
Headers show

Comments

jackie huang - Feb. 27, 2014, 7:21 a.m.
From: Jackie Huang <jackie.huang@windriver.com>

The default path to sendmail is to /usr/lib/sendmail, but
msmtp install it as ${sbindir}/sendmail, set the correct
path for Makefile to fix it.

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
---
 meta/recipes-extended/mailx/mailx_12.5.bb |    1 +
 1 file changed, 1 insertion(+)

Patch

diff --git a/meta/recipes-extended/mailx/mailx_12.5.bb b/meta/recipes-extended/mailx/mailx_12.5.bb
index 1245a11..a70f703 100644
--- a/meta/recipes-extended/mailx/mailx_12.5.bb
+++ b/meta/recipes-extended/mailx/mailx_12.5.bb
@@ -27,5 +27,6 @@  S = "${WORKDIR}/heirloom-mailx-${PV}"
 inherit autotools
 
 CFLAGS_append = " -D_BSD_SOURCE -DDEBIAN -I${S}/EXT"
+EXTRA_OEMAKE = "SENDMAIL=${sbindir}/sendmail"
 
 PARALLEL_MAKE = ""