aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/msmtp
diff options
context:
space:
mode:
authorSaul Wold <sgw@linux.intel.com>2012-07-26 16:57:40 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-08-15 14:26:32 +0100
commitf70db67dbd09e56f3feb16335cc493dea57cf0fa (patch)
treef610222557e54431aee57c5a492dd99892065b4f /meta/recipes-extended/msmtp
parent9f64e1396d2f61e7c19241b42c7c9db8a575483c (diff)
downloadopenembedded-core-contrib-f70db67dbd09e56f3feb16335cc493dea57cf0fa.tar.gz
msmtp: cleanup update-alternatives deprecated code
(From OE-Core rev: c8344dd884e19144576c994766e49e230c7eca13) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/msmtp')
-rw-r--r--meta/recipes-extended/msmtp/msmtp_1.4.24.bb8
1 files changed, 4 insertions, 4 deletions
diff --git a/meta/recipes-extended/msmtp/msmtp_1.4.24.bb b/meta/recipes-extended/msmtp/msmtp_1.4.24.bb
index 2d2ee52d62..08566ca4ce 100644
--- a/meta/recipes-extended/msmtp/msmtp_1.4.24.bb
+++ b/meta/recipes-extended/msmtp/msmtp_1.4.24.bb
@@ -5,7 +5,7 @@ SECTION = "console/network"
LICENSE = "GPLv3"
DEPENDS = "zlib gnutls"
-PR = "r2"
+PR = "r3"
#COPYING or Licence
@@ -21,7 +21,7 @@ inherit gettext autotools update-alternatives
EXTRA_OECONF += "--without-gnome-keyring"
-ALTERNATIVE_NAME = "sendmail"
-ALTERNATIVE_PATH = "${bindir}/msmtp"
-ALTERNATIVE_LINK = "${sbindir}/sendmail"
+ALTERNATIVE_${PN} = "sendmail"
+ALTERNATIVE_TARGET[sendmail] = "${bindir}/msmtp"
+ALTERNATIVE_LINK_NAME[sendmail] = "${sbindir}/sendmail"
ALTERNATIVE_PRIORITY = "100"