[OE-core] [PATCH v2 4/4] tcl: clean host path in tclConfig.sh

wenzong fan wenzong.fan at windriver.com
Mon Nov 17 02:08:54 UTC 2014


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.fan at windriver.com wrote:
> From: Shiqun Lin <Shiqun.Lin at windriver.com>
>
> * /usr/bin/crossscripts/tclConfig.sh
>
> Signed-off-by: Shiqun Lin <Shiqun.Lin at windriver.com>
> Signed-off-by: Wenzong Fan <wenzong.fan at 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}
>



More information about the Openembedded-core mailing list