summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended
diff options
context:
space:
mode:
authorMing Liu <ming.liu@windriver.com>2014-07-03 17:30:00 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-07-03 13:57:07 +0100
commit58744f8e59d9c58fea249ef272167bf791f4a81f (patch)
tree0161ccf8496dee70ade7b9e759fcf12da1159ec0 /meta/recipes-extended
parentffd4e50bffe99beeb1f4949e678c9352434edce0 (diff)
downloadpoky-58744f8e59d9c58fea249ef272167bf791f4a81f.tar.gz
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. (From OE-Core rev: b019f2cdacfb64f149483df8a5b6b7b3f7943222) 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.bb8
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 (){
26} 26}
27 27
28do_install_append() { 28do_install_append() {
29 # Some distros have both /bin/perl and /usr/bin/perl, but we set perl location
30 # for target as /usr/bin/perl, so fix it to /usr/bin/perl.
31 for i in afmtodit mmroff; do
32 if [ -f ${D}${bindir}/$i ]; then
33 sed -i -e '1s,#!.*perl,#! ${PERLPATH},' ${D}${bindir}/$i
34 fi
35 done
36
29 mkdir -p ${D}${sysconfdir}/groff 37 mkdir -p ${D}${sysconfdir}/groff
30 cp -rf ${D}${datadir}/groff/site-tmac/* ${D}${sysconfdir}/groff/ 38 cp -rf ${D}${datadir}/groff/site-tmac/* ${D}${sysconfdir}/groff/
31 cp -rf ${D}${datadir}/groff/site-tmac/* ${D}${datadir}/groff/${PV}/tmac/ 39 cp -rf ${D}${datadir}/groff/site-tmac/* ${D}${datadir}/groff/${PV}/tmac/