[oe-commits] Ming Liu : groff: remove redundant code snippet
git at git.openembedded.org
git at git.openembedded.org
Thu Jul 3 12:16:43 UTC 2014
Module: openembedded-core.git
Branch: master-next
Commit: 0f107a76713cebb49004d48fd410d9f014dda4b3
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=0f107a76713cebb49004d48fd410d9f014dda4b3
Author: Ming Liu <ming.liu at windriver.com>
Date: Thu Jul 3 15:49:08 2014 +0800
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.
Signed-off-by: Ming Liu <ming.liu at windriver.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
meta/recipes-extended/groff/groff_1.22.2.bb | 8 --------
1 file changed, 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 227f9fa..63f0425 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() {
}
do_install_append_class-native() {
- # Some distros have both /bin/perl and /usr/bin/perl, but we set perl location
- # for target as /usr/bin/perl, so fix it to /usr/bin/perl.
- for i in afmtodit mmroff; do
- if [ -f ${D}${bindir}/$i ]; then
- sed -i -e '1s,#!.*perl,#! ${USRBINPATH}/env perl,' ${D}${bindir}/$i
- fi
- done
-
create_cmdline_wrapper ${D}/${bindir}/groff \
-F${STAGING_DIR_NATIVE}${datadir_native}/groff/${PV}/font \
-M${STAGING_DIR_NATIVE}${datadir_native}/groff/${PV}/tmac
More information about the Openembedded-commits
mailing list