diff options
| author | Saul Wold <sgw@linux.intel.com> | 2011-09-03 20:51:02 -0700 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-09-05 17:59:51 +0100 |
| commit | 75ff724be4cc204505a273cd92e6eb2c14914315 (patch) | |
| tree | 74c2a251b8948ded9b0297db967c71f610557a63 /meta | |
| parent | 99cb233e0c8058c9a406e18fedae70b0f60e3864 (diff) | |
| download | poky-75ff724be4cc204505a273cd92e6eb2c14914315.tar.gz | |
groff: Fix sstate relocation issue
[YOCTO #1439]
This fixes a problem where the native groff has a path hard coded into
it, therefor add a wrapper to set the command line with the correct
paths for fonts and tmac directories.
(From OE-Core rev: 9106e2922ba5972e3b87436372a12c2e04e9eb65)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
| -rw-r--r-- | meta/recipes-extended/groff/groff_1.20.1.bb | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/meta/recipes-extended/groff/groff_1.20.1.bb b/meta/recipes-extended/groff/groff_1.20.1.bb index 7085911002..6cb72bf117 100644 --- a/meta/recipes-extended/groff/groff_1.20.1.bb +++ b/meta/recipes-extended/groff/groff_1.20.1.bb | |||
| @@ -4,7 +4,7 @@ formatting commands and produces formatted output." | |||
| 4 | SECTION = "base" | 4 | SECTION = "base" |
| 5 | HOMEPAGE = "ftp://ftp.gnu.org/gnu/groff/" | 5 | HOMEPAGE = "ftp://ftp.gnu.org/gnu/groff/" |
| 6 | LICENSE = "GPLv2" | 6 | LICENSE = "GPLv2" |
| 7 | PR = "r0" | 7 | PR = "r1" |
| 8 | 8 | ||
| 9 | LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" | 9 | LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" |
| 10 | 10 | ||
| @@ -34,4 +34,11 @@ do_configure_prepend() { | |||
| 34 | fi | 34 | fi |
| 35 | } | 35 | } |
| 36 | 36 | ||
| 37 | do_install_append_virtclass-native() { | ||
| 38 | create_cmdline_wrapper ${D}/${bindir}/groff \ | ||
| 39 | -F${STAGING_DIR_NATIVE}${datadir_native}/groff/${PV}/font \ | ||
| 40 | -M${STAGING_DIR_NATIVE}${datadir_native}/groff/${PV}/tmac | ||
| 41 | } | ||
| 42 | |||
| 43 | |||
| 37 | BBCLASSEXTEND = "native" | 44 | BBCLASSEXTEND = "native" |
