summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/groff
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2021-07-28 23:28:15 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-08-02 15:44:10 +0100
commitbb6ddc3691ab04162ec5fd69a2d5e7876713fd15 (patch)
tree76e376b01253c3aace1a98a5021bcaad3c92e861 /meta/recipes-extended/groff
parentfcc456ee4b8f619134abb4649db53c638074082c (diff)
downloadpoky-bb6ddc3691ab04162ec5fd69a2d5e7876713fd15.tar.gz
Convert to new override syntax
This is the result of automated script conversion: scripts/contrib/convert-overrides.py <oe-core directory> converting the metadata to use ":" as the override character instead of "_". (From OE-Core rev: 42344347be29f0997cc2f7636d9603b1fe1875ae) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/groff')
-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"