summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorMing Liu <ming.liu@windriver.com>2014-07-03 15:49:08 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-07-03 13:57:07 +0100
commit8a185784d215a34b84d76303f0134a04746a61ac (patch)
tree63deecd75dab8ddc492a4ffe49e308a0283b1c85 /meta
parent0ed5a13f5f9478e2c22f517fb3504b738422f85c (diff)
downloadpoky-8a185784d215a34b84d76303f0134a04746a61ac.tar.gz
groff: remove redundant code snippet
The exact same code snippet exists both in do_install_append and do_install_append_class-native which is not necessary. Remove it from do_install_append_class-native. (From OE-Core rev: 0f107a76713cebb49004d48fd410d9f014dda4b3) Signed-off-by: Ming Liu <ming.liu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-extended/groff/groff_1.22.2.bb8
1 files changed, 0 insertions, 8 deletions
diff --git a/meta/recipes-extended/groff/groff_1.22.2.bb b/meta/recipes-extended/groff/groff_1.22.2.bb
index 227f9fa621..63f0425ea4 100644
--- a/meta/recipes-extended/groff/groff_1.22.2.bb
+++ b/meta/recipes-extended/groff/groff_1.22.2.bb
@@ -55,14 +55,6 @@ do_install_append() {
55} 55}
56 56
57do_install_append_class-native() { 57do_install_append_class-native() {
58 # Some distros have both /bin/perl and /usr/bin/perl, but we set perl location
59 # for target as /usr/bin/perl, so fix it to /usr/bin/perl.
60 for i in afmtodit mmroff; do
61 if [ -f ${D}${bindir}/$i ]; then
62 sed -i -e '1s,#!.*perl,#! ${USRBINPATH}/env perl,' ${D}${bindir}/$i
63 fi
64 done
65
66 create_cmdline_wrapper ${D}/${bindir}/groff \ 58 create_cmdline_wrapper ${D}/${bindir}/groff \
67 -F${STAGING_DIR_NATIVE}${datadir_native}/groff/${PV}/font \ 59 -F${STAGING_DIR_NATIVE}${datadir_native}/groff/${PV}/font \
68 -M${STAGING_DIR_NATIVE}${datadir_native}/groff/${PV}/tmac 60 -M${STAGING_DIR_NATIVE}${datadir_native}/groff/${PV}/tmac