[oe-commits] Jackie Huang : tcl: uncomment a line that causing TCL_SRC_DIR point to the workdir.

git at git.openembedded.org git at git.openembedded.org
Wed Aug 15 13:32:00 UTC 2012


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

Author: Jackie Huang <jackie.huang at windriver.com>
Date:   Wed Aug  8 13:11:17 2012 +0800

tcl: uncomment a line that causing TCL_SRC_DIR point to the workdir.

The line 'sed -i "s+${WORKDIR}+${STAGING_INCDIR}+g" tclConfig.sh'
is commented somehow in previous commit, so that TCL_SRC_DIR
point to the tcl workdir which will cause package that use it
fail to configure or compile when the tcl workdir is removed,
so uncomment it back.

Signed-off-by: Jackie Huang <jackie.huang at windriver.com>
Signed-off-by: Saul Wold <sgw at linux.intel.com>

---

 meta/recipes-devtools/tcltk/tcl_8.5.11.bb |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/meta/recipes-devtools/tcltk/tcl_8.5.11.bb b/meta/recipes-devtools/tcltk/tcl_8.5.11.bb
index f19e25a..e5fe7d3 100644
--- a/meta/recipes-devtools/tcltk/tcl_8.5.11.bb
+++ b/meta/recipes-devtools/tcltk/tcl_8.5.11.bb
@@ -46,7 +46,7 @@ do_install() {
 	autotools_do_install
 	oe_libinstall -so libtcl8.5 ${STAGING_LIBDIR}
 	ln -sf ./tclsh8.5 ${D}${bindir}/tclsh
-	#sed -i "s+${WORKDIR}+${STAGING_INCDIR}+g" tclConfig.sh
+	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 
 	install -d ${D}${bindir_crossscripts}





More information about the Openembedded-commits mailing list