]> code.ossystems Code Review - openembedded-core.git/commitdiff
tcl: uncomment a line that causing TCL_SRC_DIR point to the workdir.
authorJackie Huang <jackie.huang@windriver.com>
Wed, 8 Aug 2012 05:11:17 +0000 (13:11 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 15 Aug 2012 13:25:49 +0000 (14:25 +0100)
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@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
meta/recipes-devtools/tcltk/tcl_8.5.11.bb

index f19e25a7de5af6a42ac1aaaf7270c8f5ceac96a7..e5fe7d35c0b3a465356b1cc948f88a8695dd486e 100644 (file)
@@ -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}