summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-extended')
-rw-r--r--meta/recipes-extended/groff/groff_1.20.1.bb8
1 files changed, 2 insertions, 6 deletions
diff --git a/meta/recipes-extended/groff/groff_1.20.1.bb b/meta/recipes-extended/groff/groff_1.20.1.bb
index c5a475a348..c7da1b4178 100644
--- a/meta/recipes-extended/groff/groff_1.20.1.bb
+++ b/meta/recipes-extended/groff/groff_1.20.1.bb
@@ -18,10 +18,6 @@ DEPENDS_virtclass-native = ""
18 18
19inherit autotools 19inherit autotools
20 20
21PERLPATH = "${bindir}/perl"
22PERLPATH_virtclass-native = "/usr/bin/env perl"
23PERLPATH_virtclass-nativesdk = "/usr/bin/env perl"
24
25EXTRA_OECONF = "--without-x" 21EXTRA_OECONF = "--without-x"
26PARALLEL_MAKE = "" 22PARALLEL_MAKE = ""
27 23
@@ -43,7 +39,7 @@ do_install_append() {
43 # for target as /usr/bin/perl, so fix it to /usr/bin/perl. 39 # for target as /usr/bin/perl, so fix it to /usr/bin/perl.
44 for i in afmtodit mmroff; do 40 for i in afmtodit mmroff; do
45 if [ -f ${D}${bindir}/$i ]; then 41 if [ -f ${D}${bindir}/$i ]; then
46 sed -i -e '1s,#!.*perl,#! ${PERLPATH},' ${D}${bindir}/$i 42 sed -i -e '1s,#!.*perl,#! ${USRBINPATH}/env perl,' ${D}${bindir}/$i
47 fi 43 fi
48 done 44 done
49} 45}
@@ -53,7 +49,7 @@ do_install_append_virtclass-native() {
53 # for target as /usr/bin/perl, so fix it to /usr/bin/perl. 49 # for target as /usr/bin/perl, so fix it to /usr/bin/perl.
54 for i in afmtodit mmroff; do 50 for i in afmtodit mmroff; do
55 if [ -f ${D}${bindir}/$i ]; then 51 if [ -f ${D}${bindir}/$i ]; then
56 sed -i -e '1s,#!.*perl,#! ${PERLPATH},' ${D}${bindir}/$i 52 sed -i -e '1s,#!.*perl,#! ${USRBINPATH}/env perl,' ${D}${bindir}/$i
57 fi 53 fi
58 done 54 done
59 55