From: Mark Hatle Date: Tue, 22 May 2012 17:39:33 +0000 (-0500) Subject: patch: use BPN for alternatives X-Git-Tag: 2015-4~10500 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=aa092530d3fdbfe6671ab6a05ecea2d71c4e11e4;p=openembedded-core.git patch: use BPN for alternatives Signed-off-by: Mark Hatle --- diff --git a/meta/recipes-devtools/patch/patch.inc b/meta/recipes-devtools/patch/patch.inc index 38c3e95d71..21c06c64b5 100644 --- a/meta/recipes-devtools/patch/patch.inc +++ b/meta/recipes-devtools/patch/patch.inc @@ -10,9 +10,9 @@ S = "${WORKDIR}/patch-${PV}" inherit autotools update-alternatives do_install_append () { - mv ${D}${bindir}/patch ${D}${bindir}/patch.${PN} + mv ${D}${bindir}/patch ${D}${bindir}/patch.${BPN} } ALTERNATIVE_NAME = "patch" -ALTERNATIVE_PATH = "patch.${PN}" +ALTERNATIVE_PATH = "patch.${BPN}" ALTERNATIVE_PRIORITY = "100"