[oe-commits] [openembedded-core] 99/122: tcl: fix sed command in do_install

git at git.openembedded.org git at git.openembedded.org
Tue Jul 19 14:07:19 UTC 2016


rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit b06032c92cee9076467f62f525d514e3e80518d4
Author: Robert Yang <liezhi.yang at windriver.com>
AuthorDate: Mon May 23 19:34:18 2016 -0700

    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
    
    Signed-off-by: Robert Yang <liezhi.yang at windriver.com>
    Signed-off-by: Ross Burton <ross.burton at intel.com>
---
 meta/recipes-devtools/tcltk/tcl_8.6.5.bb | 2 --
 1 file changed, 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 46fc8a7..d75232b 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() {
 	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}

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list