From: Mark Hatle Date: Tue, 22 May 2012 17:39:33 +0000 (-0500) Subject: patch: use BPN for alternatives X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~41337 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=aa092530d3fdbfe6671ab6a05ecea2d71c4e11e4;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.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 38c3e95d712..21c06c64b54 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"