Patchwork [CONSOLIDATED,REQUEST,10/64] bc: cleanup update-alternatives deprecated code

login
register
mail settings
Submitter Saul Wold
Date Aug. 14, 2012, 12:12 p.m.
Message ID <1641e5b6727f459f5b6eb6248c1f4957d921776a.1344946189.git.sgw@linux.intel.com>
Download mbox | patch
Permalink /patch/34487/
State Accepted
Commit 98a5fe8f5382742806235933910de826edc3d09a
Headers show

Comments

Saul Wold - Aug. 14, 2012, 12:12 p.m.
Signed-off-by: Saul Wold <sgw@linux.intel.com>
---
 meta/recipes-extended/bc/bc_1.06.bb |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

Patch

diff --git a/meta/recipes-extended/bc/bc_1.06.bb b/meta/recipes-extended/bc/bc_1.06.bb
index 283e2d8..fe9c3f4 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"