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>
This commit is contained in:
parent
99cb233e0c
commit
75ff724be4
|
@ -4,7 +4,7 @@ formatting commands and produces formatted output."
|
||||||
SECTION = "base"
|
SECTION = "base"
|
||||||
HOMEPAGE = "ftp://ftp.gnu.org/gnu/groff/"
|
HOMEPAGE = "ftp://ftp.gnu.org/gnu/groff/"
|
||||||
LICENSE = "GPLv2"
|
LICENSE = "GPLv2"
|
||||||
PR = "r0"
|
PR = "r1"
|
||||||
|
|
||||||
LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
|
LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
|
||||||
|
|
||||||
|
@ -34,4 +34,11 @@ do_configure_prepend() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
do_install_append_virtclass-native() {
|
||||||
|
create_cmdline_wrapper ${D}/${bindir}/groff \
|
||||||
|
-F${STAGING_DIR_NATIVE}${datadir_native}/groff/${PV}/font \
|
||||||
|
-M${STAGING_DIR_NATIVE}${datadir_native}/groff/${PV}/tmac
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
BBCLASSEXTEND = "native"
|
BBCLASSEXTEND = "native"
|
||||||
|
|
Loading…
Reference in New Issue