[oe-commits] Mark Hatle : wget: use BPN for alternatives

git at git.openembedded.org git at git.openembedded.org
Wed May 30 11:05:12 UTC 2012


Module: openembedded-core.git
Branch: master
Commit: 7e5c325df40012cf21cbbf9a38f4d476f62d7100
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=7e5c325df40012cf21cbbf9a38f4d476f62d7100

Author: Mark Hatle <mark.hatle at windriver.com>
Date:   Tue May 22 12:37:27 2012 -0500

wget: use BPN for alternatives

Signed-off-by: Mark Hatle <mark.hatle at windriver.com>

---

 meta/recipes-extended/wget/wget.inc |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-extended/wget/wget.inc b/meta/recipes-extended/wget/wget.inc
index d56216f..4e1e931 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"





More information about the Openembedded-commits mailing list