diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2016-05-23 19:34:18 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-07-20 10:28:51 +0100 |
commit | 69dfc58449400159a2d9fd1e3e36636f52f2e0ef (patch) | |
tree | ab3af297e04babc097a36b09ff9b8e8e1090af08 /meta/recipes-devtools/tcltk | |
parent | bffb0fbfcc96b590111b7fc4e082865f12c14f9e (diff) | |
download | poky-69dfc58449400159a2d9fd1e3e36636f52f2e0ef.tar.gz |
tcl: fix sed command in do_install
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
(From OE-Core rev: c6f24481b2fc965eeebca5508d68f1b9e5b3f212)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/tcltk')
-rw-r--r-- | meta/recipes-devtools/tcltk/tcl_8.6.5.bb | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/meta/recipes-devtools/tcltk/tcl_8.6.5.bb b/meta/recipes-devtools/tcltk/tcl_8.6.5.bb index 46fc8a784f..d75232b54e 100644 --- a/meta/recipes-devtools/tcltk/tcl_8.6.5.bb +++ b/meta/recipes-devtools/tcltk/tcl_8.6.5.bb | |||
@@ -56,8 +56,6 @@ do_install() { | |||
56 | ln -sf tclsh8.6 ${D}${bindir}/tclsh${VER} | 56 | ln -sf tclsh8.6 ${D}${bindir}/tclsh${VER} |
57 | sed -i "s+-L${B}+-L${STAGING_LIBDIR}+g" tclConfig.sh | 57 | sed -i "s+-L${B}+-L${STAGING_LIBDIR}+g" tclConfig.sh |
58 | sed -i "s+${WORKDIR}+${STAGING_INCDIR}+g" tclConfig.sh | 58 | sed -i "s+${WORKDIR}+${STAGING_INCDIR}+g" tclConfig.sh |
59 | sed -i "s,-L${libdir},-L=${libdir},g" tclConfig.sh | ||
60 | sed -i "s,-I${includedir},-I=${includedir},g" tclConfig.sh | ||
61 | install -d ${D}${bindir_crossscripts} | 59 | install -d ${D}${bindir_crossscripts} |
62 | install -m 0755 tclConfig.sh ${D}${bindir_crossscripts} | 60 | install -m 0755 tclConfig.sh ${D}${bindir_crossscripts} |
63 | install -m 0755 tclConfig.sh ${D}${libdir} | 61 | install -m 0755 tclConfig.sh ${D}${libdir} |