summaryrefslogtreecommitdiff
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:18:40 +0100
commitc8344dd884e19144576c994766e49e230c7eca13 (patch)
treef5e85d6d4355510bc6adc791dd464c2b79d199ca /meta/recipes-extended/msmtp
parentec30a17ca617d9251404938da95ce578ff6402cf (diff)
downloadopenembedded-core-c8344dd884e19144576c994766e49e230c7eca13.tar.gz
openembedded-core-c8344dd884e19144576c994766e49e230c7eca13.tar.bz2
openembedded-core-c8344dd884e19144576c994766e49e230c7eca13.zip
msmtp: cleanup update-alternatives deprecated code
Signed-off-by: Saul Wold <sgw@linux.intel.com>
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"