msmtp: disable libidn support

When libidn has been populated to sysroot but rpm packages are not
created, build msmtp will check libidn support automatically and then
depends on libidn. But package libidn doesn't exist, build image which
includes msmtp will fail with:

| error: Failed dependencies:
| 	libidn11 >= 1.25 is needed by msmtp-1.4.24-r3.i586
| 	libidn.so.11(LIBIDN_1.0) is needed by msmtp-1.4.24-r3.i586
| 	libidn.so.11 is needed by msmtp-1.4.24-r3.i586

Disable libidn support to fix this issue.

(From OE-Core rev: a304789cecb1a6ffa3c5a56f617eea4a5ac29a98)

Signed-off-by: Kang Kai <kai.kang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Kang Kai 2012-09-03 15:33:39 +08:00 committed by Richard Purdie
parent 80c1bbfba1
commit 25e35d64d7
1 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@ SECTION = "console/network"
LICENSE = "GPLv3"
DEPENDS = "zlib gnutls"
PR = "r3"
PR = "r4"
#COPYING or Licence
@ -19,7 +19,7 @@ SRC_URI[sha256sum] = "f19f3fcc67da448420b3adbd5add09f8fe110664dd64f3c2cd693ef0cb
inherit gettext autotools update-alternatives
EXTRA_OECONF += "--without-gnome-keyring"
EXTRA_OECONF += "--without-gnome-keyring --without-libidn"
ALTERNATIVE_${PN} = "sendmail"
ALTERNATIVE_TARGET[sendmail] = "${bindir}/msmtp"