Skip to contentSkip to conversation

Noor Ahsan : tcl: Run oe-stylize. py script and modify the recipe accordingly

oe-commits Martin Jansa 1 participant 1 message Oct 1, 2010 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 48 lines · git version control

Module: openembedded.git
Branch: master
Commit: 6c21af6a85996ed5891925ca2221c4615048a331
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=6c21af6a85996ed5891925ca2221c4615048a331

Author: Noor Ahsan <[email protected]>
Date:   Mon Aug 30 23:50:54 2010 +0000

tcl: Run oe-stylize.py script and modify the recipe accordingly

* Run the oe-stylize.py script on the recipe and modify the recipe according to the output of the script.

---

 recipes/tcltk/tcl_8.5.8.bb |   45 ++++++++++++++++++++-----------------------

 1 files changed, 21 insertions(+), 24 deletions(-)
recipes/tcltk/tcl_8.5.8.bb +0 -0
index 9d030b9..e8905f0 100644
@@ -1,8 +1,7 @@

 DESCRIPTION = "Tool Command Language"

recipes/tcltk/tcl_8.5.8.bb +0 -2
-LICENSE = "tcl"
-SECTION = "devel/tcltk"

 HOMEPAGE = "http://tcl.sourceforge.net"

recipes/tcltk/tcl_8.5.8.bb +2 -1
-
+SECTION = "devel/tcltk"
+LICENSE = "tcl"

 PR = "r7"

 SRC_URI = "\

recipes/tcltk/tcl_8.5.8.bb +0 -0
@@ -16,43 +15,41 @@ SRC_URI = "\
   file://tclprivate.diff;striplevel=2 \
   file://mips-tclstrtod.patch;striplevel=0 \

 "
-
 SRC_URI[md5sum] = "7f123e53b3daaaba2478d3af5a0752e3"
 SRC_URI[sha256sum] = "6b090c1024038d0381e1ccfbd6d5c0f0e6ef205269ceb9d28bd7bd7ac5bbf4a7"

 S = "${WORKDIR}/tcl${PV}/unix"
+SYSROOT_PREPROCESS_FUNCS =+ "tcl_sysroot"

 inherit autotools binconfig

Quoted 7 lines

 EXTRA_OECONF = "--enable-threads"

 do_compile_prepend() {
-       echo > ../compat/fixstrtod.c
-       sed -i -e 's:./tclsh :tclsh :g' Makefile
+        echo > ../compat/fixstrtod.c
+        sed -i -e 's:./tclsh :tclsh :g' Makefile

^^ this looks like something which should be called only on non-native build

here is log what happens when it's called also on native build
http://tinderbox.openembedded.org/packages/803704/

when you don't have tclsh installed on buildhost, you have to use the tclsh version just generated in current dir

I know it's old issue, maybe only more exposed by your patches, but can you please fix it too? Thanks

Regards,