[oe-commits] Saul Wold : bc: cleanup update-alternatives deprecated code

git at git.openembedded.org git at git.openembedded.org
Wed Aug 15 13:31:05 UTC 2012


Module: openembedded-core.git
Branch: master
Commit: 98a5fe8f5382742806235933910de826edc3d09a
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=98a5fe8f5382742806235933910de826edc3d09a

Author: Saul Wold <sgw at linux.intel.com>
Date:   Thu Jul 26 16:10:43 2012 -0700

bc: cleanup update-alternatives deprecated code

Signed-off-by: Saul Wold <sgw at linux.intel.com>

---

 meta/recipes-extended/bc/bc_1.06.bb |    4 ++--
 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 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"





More information about the Openembedded-commits mailing list