From cd059cb57efa2aad332ef2fc7f1f411afce82b73 Mon Sep 17 00:00:00 2001 From: Mark Hatle Date: Tue, 22 May 2012 12:38:19 -0500 Subject: sed: use BPN for alternatives Signed-off-by: Mark Hatle --- meta/recipes-extended/sed/sed_4.1.2.bb | 4 ++-- meta/recipes-extended/sed/sed_4.2.1.bb | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'meta/recipes-extended/sed') diff --git a/meta/recipes-extended/sed/sed_4.1.2.bb b/meta/recipes-extended/sed/sed_4.1.2.bb index 8baa180f72..ca22736b7f 100644 --- a/meta/recipes-extended/sed/sed_4.1.2.bb +++ b/meta/recipes-extended/sed/sed_4.1.2.bb @@ -17,12 +17,12 @@ inherit autotools update-alternatives gettext do_install () { autotools_do_install install -d ${D}${base_bindir} - mv ${D}${bindir}/sed ${D}${base_bindir}/sed.${PN} + mv ${D}${bindir}/sed ${D}${base_bindir}/sed.${BPN} rmdir ${D}${bindir}/ } ALTERNATIVE_NAME = "sed" -ALTERNATIVE_PATH = "sed.${PN}" +ALTERNATIVE_PATH = "sed.${BPN}" ALTERNATIVE_LINK = "${base_bindir}/sed" ALTERNATIVE_PRIORITY = "100" diff --git a/meta/recipes-extended/sed/sed_4.2.1.bb b/meta/recipes-extended/sed/sed_4.2.1.bb index 0fceecd6be..b39eca0bc0 100644 --- a/meta/recipes-extended/sed/sed_4.2.1.bb +++ b/meta/recipes-extended/sed/sed_4.2.1.bb @@ -18,12 +18,12 @@ EXTRA_OECONF = "--disable-acl" do_install () { autotools_do_install install -d ${D}${base_bindir} - mv ${D}${bindir}/sed ${D}${base_bindir}/sed.${PN} + mv ${D}${bindir}/sed ${D}${base_bindir}/sed.${BPN} rmdir ${D}${bindir}/ } ALTERNATIVE_NAME = "sed" -ALTERNATIVE_PATH = "sed.${PN}" +ALTERNATIVE_PATH = "sed.${BPN}" ALTERNATIVE_LINK = "${base_bindir}/sed" ALTERNATIVE_PRIORITY = "100" -- cgit 1.2.3-korg