[oe-commits] Saul Wold : groff: Fix sstate relocation issue

git version control git at git.openembedded.org
Mon Sep 5 17:03:10 UTC 2011


Module: openembedded-core.git
Branch: master
Commit: 9106e2922ba5972e3b87436372a12c2e04e9eb65
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=9106e2922ba5972e3b87436372a12c2e04e9eb65

Author: Saul Wold <sgw at linux.intel.com>
Date:   Sat Sep  3 20:51:02 2011 -0700

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.

Signed-off-by: Saul Wold <sgw at linux.intel.com>

---

 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 7085911..6cb72bf 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."
 SECTION = "base"
 HOMEPAGE = "ftp://ftp.gnu.org/gnu/groff/"
 LICENSE = "GPLv2"
-PR = "r0"
+PR = "r1"
 
 LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
 
@@ -34,4 +34,11 @@ do_configure_prepend() {
 	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"





More information about the Openembedded-commits mailing list