aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/patch
diff options
context:
space:
mode:
authorMark Hatle <mark.hatle@windriver.com>2012-05-22 12:39:33 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-05-30 10:43:42 +0100
commitaa092530d3fdbfe6671ab6a05ecea2d71c4e11e4 (patch)
tree6c78e2573014fa099e52a69f0a393878243d2620 /meta/recipes-devtools/patch
parent3361ebfd61dc0d5914a506b1a06b92bd80734114 (diff)
downloadopenembedded-core-contrib-aa092530d3fdbfe6671ab6a05ecea2d71c4e11e4.tar.gz
patch: use BPN for alternatives
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Diffstat (limited to 'meta/recipes-devtools/patch')
-rw-r--r--meta/recipes-devtools/patch/patch.inc4
1 files changed, 2 insertions, 2 deletions
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"