]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
wget: use BPN for alternatives
authorMark Hatle <mark.hatle@windriver.com>
Tue, 22 May 2012 17:37:27 +0000 (12:37 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 30 May 2012 09:43:41 +0000 (10:43 +0100)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
meta/recipes-extended/wget/wget.inc

index d56216f071f5337c0b52b34bf6733902e78c4bce..4e1e9317748f2e295c6a2b001eeed49212749a98 100644 (file)
@@ -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"