summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSaul Wold <sgw@linux.intel.com>2012-07-26 16:10:43 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-08-15 14:18:39 +0100
commit98a5fe8f5382742806235933910de826edc3d09a (patch)
tree254a95d769c881972b6ae04f6e985dbfd26c5960
parent744fb15df985e74adbb2b03e4543c2fd66adee86 (diff)
downloadopenembedded-core-98a5fe8f5382742806235933910de826edc3d09a.tar.gz
openembedded-core-98a5fe8f5382742806235933910de826edc3d09a.tar.bz2
openembedded-core-98a5fe8f5382742806235933910de826edc3d09a.zip
bc: cleanup update-alternatives deprecated code
Signed-off-by: Saul Wold <sgw@linux.intel.com>
-rw-r--r--meta/recipes-extended/bc/bc_1.06.bb4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-extended/bc/bc_1.06.bb b/meta/recipes-extended/bc/bc_1.06.bb
index 283e2d8797..fe9c3f462f 100644
--- a/meta/recipes-extended/bc/bc_1.06.bb
+++ b/meta/recipes-extended/bc/bc_1.06.bb
@@ -11,7 +11,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
SECTION = "base"
DEPENDS = "flex"
-PR = "r1"
+PR = "r2"
SRC_URI = "${GNU_MIRROR}/bc/bc-${PV}.tar.gz"
@@ -20,5 +20,5 @@ SRC_URI[sha256sum] = "4ef6d9f17c3c0d92d8798e35666175ecd3d8efac4009d6457b5c99cea7
inherit autotools update-alternatives
-ALTERNATIVE_LINKS = "${bindir}/dc"
+ALTERNATIVE_${PN} = "dc"
ALTERNATIVE_PRIORITY = "100"