diff options
author | Saul Wold <sgw@linux.intel.com> | 2012-07-26 17:36:56 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-08-15 14:26:36 +0100 |
commit | 22f1c95bf529482c0662211f9e74981f9d25d7d2 (patch) | |
tree | 77c208b94a7aeb6bbc22482a4679ec2747f170ac /meta/recipes-extended/gawk | |
parent | 7d9c0be579bf2ab5984a7d906ea00e69f3d40090 (diff) | |
download | poky-22f1c95bf529482c0662211f9e74981f9d25d7d2.tar.gz |
gawk: cleanup update-alternatives deprecated code
(From OE-Core rev: 85734f44c9e99f4134eec9b64fd90aba1ded1d2e)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/gawk')
-rw-r--r-- | meta/recipes-extended/gawk/gawk_3.1.5.bb | 7 | ||||
-rw-r--r-- | meta/recipes-extended/gawk/gawk_4.0.1.bb | 7 |
2 files changed, 6 insertions, 8 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" | |||
13 | 13 | ||
14 | RDEPENDS_gawk += "gawk-common" | 14 | RDEPENDS_gawk += "gawk-common" |
15 | RDEPENDS_pgawk += "gawk-common" | 15 | RDEPENDS_pgawk += "gawk-common" |
16 | PR = "r1" | 16 | PR = "r2" |
17 | 17 | ||
18 | SRC_URI = "${GNU_MIRROR}/gawk/gawk-${PV}.tar.gz \ | 18 | SRC_URI = "${GNU_MIRROR}/gawk/gawk-${PV}.tar.gz \ |
19 | file://gawk-3.1.5_fix_for_automake-1.12.patch" | 19 | file://gawk-3.1.5_fix_for_automake-1.12.patch" |
@@ -30,9 +30,8 @@ FILES_gawk-common += "${datadir}/awk/* ${libexecdir}/awk/*" | |||
30 | FILES_pgawk = "${bindir}/pgawk*" | 30 | FILES_pgawk = "${bindir}/pgawk*" |
31 | FILES_${PN}-dbg += "${libexecdir}/awk/.debug" | 31 | FILES_${PN}-dbg += "${libexecdir}/awk/.debug" |
32 | 32 | ||
33 | ALTERNATIVE_NAME = "awk" | 33 | ALTERNATIVE_${PN} = "awk" |
34 | ALTERNATIVE_PATH = "gawk" | 34 | ALTERNATIVE_TARGET[awk] = "${bindir}/gawk" |
35 | ALTERNATIVE_LINK = "${bindir}/awk" | ||
36 | ALTERNATIVE_PRIORITY = "100" | 35 | ALTERNATIVE_PRIORITY = "100" |
37 | 36 | ||
38 | CFLAGS += "-D PROTOTYPES" | 37 | CFLAGS += "-D PROTOTYPES" |
diff --git a/meta/recipes-extended/gawk/gawk_4.0.1.bb b/meta/recipes-extended/gawk/gawk_4.0.1.bb index b986ebde83..fcd761984d 100644 --- a/meta/recipes-extended/gawk/gawk_4.0.1.bb +++ b/meta/recipes-extended/gawk/gawk_4.0.1.bb | |||
@@ -11,7 +11,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" | |||
11 | 11 | ||
12 | RDEPENDS_gawk += "gawk-common" | 12 | RDEPENDS_gawk += "gawk-common" |
13 | RDEPENDS_pgawk += "gawk-common" | 13 | RDEPENDS_pgawk += "gawk-common" |
14 | PR = "r0" | 14 | PR = "r1" |
15 | 15 | ||
16 | SRC_URI = "${GNU_MIRROR}/gawk/gawk-${PV}.tar.gz" | 16 | SRC_URI = "${GNU_MIRROR}/gawk/gawk-${PV}.tar.gz" |
17 | 17 | ||
@@ -28,9 +28,8 @@ FILES_pgawk = "${bindir}/pgawk*" | |||
28 | FILES_${PN}-dbg += "${libexecdir}/awk/.debug" | 28 | FILES_${PN}-dbg += "${libexecdir}/awk/.debug" |
29 | FILES_dgawk = "${bindir}/dgawk*" | 29 | FILES_dgawk = "${bindir}/dgawk*" |
30 | 30 | ||
31 | ALTERNATIVE_NAME = "awk" | 31 | ALTERNATIVE_${PN} = "awk" |
32 | ALTERNATIVE_PATH = "gawk" | 32 | ALTERNATIVE_TARGET[awk] = "${bindir}/gawk" |
33 | ALTERNATIVE_LINK = "${bindir}/awk" | ||
34 | ALTERNATIVE_PRIORITY = "100" | 33 | ALTERNATIVE_PRIORITY = "100" |
35 | 34 | ||
36 | do_install_append() { | 35 | do_install_append() { |