From 0f3ca830caf2adc8216f27d2cd832720e1bab8e2 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Wed, 30 May 2012 12:54:55 +0100 Subject: [PATCH] bzip2: Update to new update-alternatives syntax (From OE-Core rev: 75cd7692c97b07e05f304893995231e2d3390f8f) Signed-off-by: Richard Purdie --- meta/recipes-extended/bzip2/bzip2_1.0.6.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-extended/bzip2/bzip2_1.0.6.bb b/meta/recipes-extended/bzip2/bzip2_1.0.6.bb index fa8310e..43b462a 100644 --- a/meta/recipes-extended/bzip2/bzip2_1.0.6.bb +++ b/meta/recipes-extended/bzip2/bzip2_1.0.6.bb @@ -22,7 +22,7 @@ CFLAGS_append = " -fPIC -fpic -Winline -fno-strength-reduce -D_FILE_OFFSET_BITS= inherit autotools update-alternatives ALTERNATIVE_PRIORITY = "100" -ALTERNATIVE_LINKS = "${bindir}/bunzip2 ${bindir}/bzcat" +ALTERNATIVE_${PN} = "bunzip2 bzcat" do_configure_prepend () { cp ${WORKDIR}/configure.ac ${S}/ -- 2.7.4