diff options
author | Ming Liu <ming.liu@windriver.com> | 2014-07-03 17:30:00 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-07-03 12:55:54 +0100 |
commit | b019f2cdacfb64f149483df8a5b6b7b3f7943222 (patch) | |
tree | f9fb86ecdded3d4ad31b66782200e0574d489d46 /meta/recipes-extended | |
parent | ec0def7cc204f402fba017264ea201956add342d (diff) | |
download | openembedded-core-b019f2cdacfb64f149483df8a5b6b7b3f7943222.tar.gz openembedded-core-b019f2cdacfb64f149483df8a5b6b7b3f7943222.tar.bz2 openembedded-core-b019f2cdacfb64f149483df8a5b6b7b3f7943222.zip |
groff: Fix build on Fedora 17 for 1.18.1.4
The commit 79fc5576:
[ groff: Fix build on Fedora 17 ]
was applied to 1.22.2, but it's also needed by 1.18.1.4 to solve a same
issue.
Signed-off-by: Ming Liu <ming.liu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended')
-rw-r--r-- | meta/recipes-extended/groff/groff_1.18.1.4.bb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/meta/recipes-extended/groff/groff_1.18.1.4.bb b/meta/recipes-extended/groff/groff_1.18.1.4.bb index 85357c56bf..687194909e 100644 --- a/meta/recipes-extended/groff/groff_1.18.1.4.bb +++ b/meta/recipes-extended/groff/groff_1.18.1.4.bb @@ -26,6 +26,14 @@ do_configure (){ } do_install_append() { + # 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,#! ${PERLPATH},' ${D}${bindir}/$i + fi + done + mkdir -p ${D}${sysconfdir}/groff cp -rf ${D}${datadir}/groff/site-tmac/* ${D}${sysconfdir}/groff/ cp -rf ${D}${datadir}/groff/site-tmac/* ${D}${datadir}/groff/${PV}/tmac/ |