summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/groff/groff_1.22.4.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-extended/groff/groff_1.22.4.bb')
-rw-r--r--meta/recipes-extended/groff/groff_1.22.4.bb10
1 files changed, 5 insertions, 5 deletions
diff --git a/meta/recipes-extended/groff/groff_1.22.4.bb b/meta/recipes-extended/groff/groff_1.22.4.bb
index f0e9eb6a8a..d0b543ab6e 100644
--- a/meta/recipes-extended/groff/groff_1.22.4.bb
+++ b/meta/recipes-extended/groff/groff_1.22.4.bb
@@ -22,7 +22,7 @@ SRC_URI[sha256sum] = "e78e7b4cb7dec310849004fa88847c44701e8d133b5d4c13057d876c1b
22PR = "r1" 22PR = "r1"
23 23
24DEPENDS = "bison-native" 24DEPENDS = "bison-native"
25RDEPENDS_${PN} += "perl sed" 25RDEPENDS:${PN} += "perl sed"
26 26
27inherit autotools-brokensep texinfo multilib_script pkgconfig 27inherit autotools-brokensep texinfo multilib_script pkgconfig
28 28
@@ -35,12 +35,12 @@ CACHED_CONFIGUREVARS += "ac_cv_path_PERL='/usr/bin/env perl' ac_cv_path_BASH_PRO
35 35
36# Delete these generated files since we depend on bison-native 36# Delete these generated files since we depend on bison-native
37# and regenerate them. Do it deterministically (always). 37# and regenerate them. Do it deterministically (always).
38do_configure_prepend() { 38do_configure:prepend() {
39 rm -f ${S}/src/preproc/eqn/eqn.cpp 39 rm -f ${S}/src/preproc/eqn/eqn.cpp
40 rm -f ${S}/src/preproc/eqn/eqn.hpp 40 rm -f ${S}/src/preproc/eqn/eqn.hpp
41} 41}
42 42
43do_install_append() { 43do_install:append() {
44 # Some distros have both /bin/perl and /usr/bin/perl, but we set perl location 44 # Some distros have both /bin/perl and /usr/bin/perl, but we set perl location
45 # for target as /usr/bin/perl, so fix it to /usr/bin/perl. 45 # for target as /usr/bin/perl, so fix it to /usr/bin/perl.
46 for i in afmtodit mmroff gropdf pdfmom grog; do 46 for i in afmtodit mmroff gropdf pdfmom grog; do
@@ -68,13 +68,13 @@ do_install_append() {
68 rm -rf ${D}${mandir}/man1/grap2graph* 68 rm -rf ${D}${mandir}/man1/grap2graph*
69} 69}
70 70
71do_install_append_class-native() { 71do_install:append:class-native() {
72 create_cmdline_wrapper ${D}/${bindir}/groff \ 72 create_cmdline_wrapper ${D}/${bindir}/groff \
73 -F${STAGING_DIR_NATIVE}${datadir_native}/groff/${PV}/font \ 73 -F${STAGING_DIR_NATIVE}${datadir_native}/groff/${PV}/font \
74 -M${STAGING_DIR_NATIVE}${datadir_native}/groff/${PV}/tmac 74 -M${STAGING_DIR_NATIVE}${datadir_native}/groff/${PV}/tmac
75} 75}
76 76
77FILES_${PN} += "${libdir}/${BPN}/site-tmac \ 77FILES:${PN} += "${libdir}/${BPN}/site-tmac \
78 ${libdir}/${BPN}/groffer/" 78 ${libdir}/${BPN}/groffer/"
79 79
80BBCLASSEXTEND = "native" 80BBCLASSEXTEND = "native"