From 7e5c325df40012cf21cbbf9a38f4d476f62d7100 Mon Sep 17 00:00:00 2001 From: Mark Hatle Date: Tue, 22 May 2012 12:37:27 -0500 Subject: wget: use BPN for alternatives Signed-off-by: Mark Hatle --- meta/recipes-extended/wget/wget.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'meta/recipes-extended') diff --git a/meta/recipes-extended/wget/wget.inc b/meta/recipes-extended/wget/wget.inc index d56216f071..4e1e931774 100644 --- a/meta/recipes-extended/wget/wget.inc +++ b/meta/recipes-extended/wget/wget.inc @@ -11,10 +11,10 @@ inherit autotools gettext update-alternatives EXTRA_OECONF = "--with-libc --enable-ipv6 --with-libssl-prefix=${STAGING_DIR_HOST} --with-ssl=openssl --disable-rpath" do_install_append () { - mv ${D}${bindir}/wget ${D}${bindir}/wget.${PN} + mv ${D}${bindir}/wget ${D}${bindir}/wget.${BPN} } ALTERNATIVE_NAME = "wget" ALTERNATIVE_LINK = "${bindir}/wget" -ALTERNATIVE_PATH = "${bindir}/wget.${PN}" +ALTERNATIVE_PATH = "${bindir}/wget.${BPN}" ALTERNATIVE_PRIORITY = "100" -- cgit 1.2.3-korg