From: Saul Wold Date: Thu, 26 Jul 2012 23:57:40 +0000 (-0700) Subject: msmtp: cleanup update-alternatives deprecated code X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f70db67dbd09e56f3feb16335cc493dea57cf0fa;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git msmtp: cleanup update-alternatives deprecated code (From OE-Core rev: c8344dd884e19144576c994766e49e230c7eca13) Signed-off-by: Saul Wold Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-extended/msmtp/msmtp_1.4.24.bb b/meta/recipes-extended/msmtp/msmtp_1.4.24.bb index 2d2ee52d62f..08566ca4ce9 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"