Skip to contentSkip to conversation

tcl: fix sed command in do_install

PATCH In review Robert Yang 1 participant 4 messages May 24, 2016 – Jul 11, 2016

lore
Share & tools
lore
#0 lore raw

cover tcl: fix sed command in do_install

The following changes since commit d6241e4c94a0a72acfc57e96a59918c0b2146d65:

useradd: Fix infinite build loop (2016-05-23 10:33:39 +0100)

are available in the git repository at:

git://git.openembedded.org/openembedded-core-contrib rbt/tcl
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=rbt/tcl

Robert Yang (1):
tcl: fix sed command in do_install

 meta/recipes-devtools/tcltk/tcl_8.6.4.bb | 2 --
 1 file changed, 2 deletions(-)
Signature · 1 line
2.7.4
#1 lore raw

PATCH 1/1 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

---
 meta/recipes-devtools/tcltk/tcl_8.6.4.bb | 2 --
 1 file changed, 2 deletions(-)
meta/recipes-devtools/tcltk/tcl_8.6.4.bb +0 -2
index 61be81d..14ca9ba 100644
@@ -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}
Signature · 1 line
2.7.4
#2 lore raw
In reply to Robert Yang

Ping.

meta-openembedded requires this:

commit 44ea80d3a3652741cefbbe02b29ed7be4696d914

Author: Martin Jansa <[email protected]>
Date:   Fri Jun 10 16:31:03 2016 +0200

postgresql: blacklist because tcl in oe-core is broken for last month

// Robert

Quoted 15 lines · Robert Yang

The following changes since commit d6241e4c94a0a72acfc57e96a59918c0b2146d65:

useradd: Fix infinite build loop (2016-05-23 10:33:39 +0100)

are available in the git repository at:

git://git.openembedded.org/openembedded-core-contrib rbt/tcl
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=rbt/tcl

Robert Yang (1):
tcl: fix sed command in do_install

  meta/recipes-devtools/tcltk/tcl_8.6.4.bb | 2 --
  1 file changed, 2 deletions(-)
#3 lore raw
In reply to Robert Yang

Ping.

// Robert

Quoted 15 lines · Robert Yang

The following changes since commit d6241e4c94a0a72acfc57e96a59918c0b2146d65:

useradd: Fix infinite build loop (2016-05-23 10:33:39 +0100)

are available in the git repository at:

git://git.openembedded.org/openembedded-core-contrib rbt/tcl
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=rbt/tcl

Robert Yang (1):
tcl: fix sed command in do_install

  meta/recipes-devtools/tcltk/tcl_8.6.4.bb | 2 --
  1 file changed, 2 deletions(-)