[oe-commits] Richard Purdie : guile: Deal with hardcoded path issues

git at git.openembedded.org git at git.openembedded.org
Mon Mar 26 23:33:06 UTC 2012


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

Author: Richard Purdie <richard.purdie at linuxfoundation.org>
Date:   Mon Mar 26 23:22:27 2012 +0000

guile: Deal with hardcoded path issues

Without this build of autogen-native break if the guile-native package has been
recloated.

Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/recipes-devtools/guile/guile_2.0.3.bb |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/meta/recipes-devtools/guile/guile_2.0.3.bb b/meta/recipes-devtools/guile/guile_2.0.3.bb
index c27a8c0..b638a18 100644
--- a/meta/recipes-devtools/guile/guile_2.0.3.bb
+++ b/meta/recipes-devtools/guile/guile_2.0.3.bb
@@ -24,7 +24,7 @@ SRC_URI = "${GNU_MIRROR}/guile/guile-${PV}.tar.gz \
 SRC_URI[md5sum] = "3b8b4e1083037f29d2c4704a6d55f2a8"
 SRC_URI[sha256sum] = "a53b21159befe3e89bbaca71e9e62cf00af0f49fcca297c407944b988d59eb08"
 
-PR = "r3"
+PR = "r4"
 
 inherit autotools gettext
 BBCLASSEXTEND = "native"
@@ -56,6 +56,11 @@ do_compile_append() {
 
 do_install_append_virtclass-native() {
 	install -m 0755  ${D}${bindir}/guile ${D}${bindir}/${HOST_SYS}-guile
+
+	create_wrapper ${D}/${bindir}/guile \
+		GUILE_LOAD_PATH=${STAGING_DATADIR_NATIVE}/guile/2.0
+	create_wrapper ${D}${bindir}/${HOST_SYS}-guile
+		GUILE_LOAD_PATH=${STAGING_DATADIR_NATIVE}/guile/2.0
 }
 
 SYSROOT_PREPROCESS_FUNCS = "guile_cross_config"





More information about the Openembedded-commits mailing list