diff options
author | Saul Wold <sgw@linux.intel.com> | 2012-07-26 17:26:51 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-08-15 14:26:35 +0100 |
commit | 5230b712a882414237344f229aff5d20ddf7d13b (patch) | |
tree | abda1196a7540f122e557ab26b399e15a473f82d | |
parent | 81a9c1313deb6904728edb53288a623809321038 (diff) | |
download | poky-5230b712a882414237344f229aff5d20ddf7d13b.tar.gz |
wget: cleanup update-alternatives deprecated code
(From OE-Core rev: 00d0d074a452bb5dc54ad12f44e444a742380860)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-extended/wget/wget.inc | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/meta/recipes-extended/wget/wget.inc b/meta/recipes-extended/wget/wget.inc index 4e1e931774..3575c87da6 100644 --- a/meta/recipes-extended/wget/wget.inc +++ b/meta/recipes-extended/wget/wget.inc | |||
@@ -4,17 +4,11 @@ LICENSE = "GPLv3" | |||
4 | LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" | 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" |
5 | DEPENDS = "openssl" | 5 | DEPENDS = "openssl" |
6 | 6 | ||
7 | INC_PR = "r14" | 7 | INC_PR = "r15" |
8 | 8 | ||
9 | inherit autotools gettext update-alternatives | 9 | inherit autotools gettext update-alternatives |
10 | 10 | ||
11 | EXTRA_OECONF = "--with-libc --enable-ipv6 --with-libssl-prefix=${STAGING_DIR_HOST} --with-ssl=openssl --disable-rpath" | 11 | EXTRA_OECONF = "--with-libc --enable-ipv6 --with-libssl-prefix=${STAGING_DIR_HOST} --with-ssl=openssl --disable-rpath" |
12 | 12 | ||
13 | do_install_append () { | 13 | ALTERNATIVE_${PN} = "wget" |
14 | mv ${D}${bindir}/wget ${D}${bindir}/wget.${BPN} | ||
15 | } | ||
16 | |||
17 | ALTERNATIVE_NAME = "wget" | ||
18 | ALTERNATIVE_LINK = "${bindir}/wget" | ||
19 | ALTERNATIVE_PATH = "${bindir}/wget.${BPN}" | ||
20 | ALTERNATIVE_PRIORITY = "100" | 14 | ALTERNATIVE_PRIORITY = "100" |