Oops, the tcl patch will cause "expect 5.45" configure failures, please
ignore it for now.
// Wenzong
On 11/14/2014 05:44 PM, wenzong....@windriver.com wrote:
From: Shiqun Lin <shiqun....@windriver.com>
* /usr/bin/crossscripts/tclConfig.sh
Signed-off-by: Shiqun Lin <shiqun....@windriver.com>
Signed-off-by: Wenzong Fan <wenzong....@windriver.com>
---
meta/recipes-devtools/tcltk/tcl_8.6.2.bb | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/meta/recipes-devtools/tcltk/tcl_8.6.2.bb
b/meta/recipes-devtools/tcltk/tcl_8.6.2.bb
index 75fef01..34f3e87 100644
--- a/meta/recipes-devtools/tcltk/tcl_8.6.2.bb
+++ b/meta/recipes-devtools/tcltk/tcl_8.6.2.bb
@@ -58,6 +58,11 @@ do_install() {
sed -i "s+${WORKDIR}+${STAGING_INCDIR}+g" tclConfig.sh
sed -i "s,-L${libdir},-L=${libdir},g" tclConfig.sh
sed -i "s,-I${includedir},-I=${includedir},g" tclConfig.sh
+ sed -i "/TCL_CC/s,\(--sysroot=\).*,--sysroot= '," tclConfig.sh
+ sed -i "/TCL_BUILD_LIB_SPEC/s,-L${STAGING_LIBDIR},-L${libdir},"
tclConfig.sh
+ sed -i "/TCL_SRC_DIR/s,${STAGING_INCDIR},${includedir}," tclConfig.sh
+ sed -i "/TCL_BUILD_STUB_LIB_SPEC/s,-L${STAGING_LIBDIR},-L${libdir},"
tclConfig.sh
+ sed -i "/TCL_BUILD_STUB_LIB_PATH/s,${STAGING_INCDIR},${includedir},"
tclConfig.sh
install -d ${D}${bindir_crossscripts}
install -m 0755 tclConfig.sh ${D}${bindir_crossscripts}
install -m 0755 tclConfig.sh ${D}${libdir}
--
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core