]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
tcl: fix sed command in do_install rbt/tcl
authorRobert Yang <liezhi.yang@windriver.com>
Tue, 24 May 2016 02:34:18 +0000 (19:34 -0700)
committerRobert Yang <liezhi.yang@windriver.com>
Tue, 24 May 2016 03:01:18 +0000 (20:01 -0700)
The -I= and -L= is used for cross compile, target doesn't need, and
binconfig.class can handle usr/bin/crossscripts/tclConfig.sh.

Fix do_configure error for the recipe which uses tclConfig.sh, for
example, postgresql.do_configure:
configure: error: header file <tcl.h> is required for Tcl

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
meta/recipes-devtools/tcltk/tcl_8.6.4.bb

index 61be81dc04e5975244a8eea44eb5696d622bba9b..14ca9ba969801b88e68d00b5b2940cf6fbf2bc8d 100644 (file)
@@ -56,8 +56,6 @@ do_install() {
        ln -sf tclsh8.6 ${D}${bindir}/tclsh${VER}
        sed -i "s+-L${B}+-L${STAGING_LIBDIR}+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}
        install -m 0755 tclConfig.sh ${D}${bindir_crossscripts}
        install -m 0755 tclConfig.sh ${D}${libdir}