summaryrefslogtreecommitdiff
path: root/meta/recipes-extended/gawk/gawk_3.1.5.bb
diff options
context:
space:
mode:
authorSaul Wold <sgw@linux.intel.com>2012-07-26 17:36:56 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-08-15 14:18:42 +0100
commit85734f44c9e99f4134eec9b64fd90aba1ded1d2e (patch)
tree1603020a6369c9e899f6c8ad96f1e955b2d9993b /meta/recipes-extended/gawk/gawk_3.1.5.bb
parentc42bff2e0718c40d87b91672bec76c63e4c91c0a (diff)
downloadopenembedded-core-85734f44c9e99f4134eec9b64fd90aba1ded1d2e.tar.gz
openembedded-core-85734f44c9e99f4134eec9b64fd90aba1ded1d2e.tar.bz2
openembedded-core-85734f44c9e99f4134eec9b64fd90aba1ded1d2e.zip
gawk: cleanup update-alternatives deprecated code
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/recipes-extended/gawk/gawk_3.1.5.bb')
-rw-r--r--meta/recipes-extended/gawk/gawk_3.1.5.bb7
1 files changed, 3 insertions, 4 deletions
diff --git a/meta/recipes-extended/gawk/gawk_3.1.5.bb b/meta/recipes-extended/gawk/gawk_3.1.5.bb
index 89dd01ce7f..5500974661 100644
--- a/meta/recipes-extended/gawk/gawk_3.1.5.bb
+++ b/meta/recipes-extended/gawk/gawk_3.1.5.bb
@@ -13,7 +13,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552"
RDEPENDS_gawk += "gawk-common"
RDEPENDS_pgawk += "gawk-common"
-PR = "r1"
+PR = "r2"
SRC_URI = "${GNU_MIRROR}/gawk/gawk-${PV}.tar.gz \
file://gawk-3.1.5_fix_for_automake-1.12.patch"
@@ -30,9 +30,8 @@ FILES_gawk-common += "${datadir}/awk/* ${libexecdir}/awk/*"
FILES_pgawk = "${bindir}/pgawk*"
FILES_${PN}-dbg += "${libexecdir}/awk/.debug"
-ALTERNATIVE_NAME = "awk"
-ALTERNATIVE_PATH = "gawk"
-ALTERNATIVE_LINK = "${bindir}/awk"
+ALTERNATIVE_${PN} = "awk"
+ALTERNATIVE_TARGET[awk] = "${bindir}/gawk"
ALTERNATIVE_PRIORITY = "100"
CFLAGS += "-D PROTOTYPES"