Patchwork tcl: Fix ${bindir}/tclsh symlink

login
register
mail settings
Submitter Martin Jansa
Date Dec. 26, 2013, 5:59 p.m.
Message ID <1388080740-21232-1-git-send-email-Martin.Jansa@gmail.com>
Download mbox | patch
Permalink /patch/63741/
State New
Headers show

Comments

Martin Jansa - Dec. 26, 2013, 5:59 p.m.
* 8.6.1 version installs tclsh8.6 binary and tclsh symlink to tclsh${VER}
  (tclsh8.6.1) which doesn't exist
  lrwxrwxrwx 1 bitbake bitbake   12 Dec 26 16:19 sysroots/x86_64-linux/usr/bin/tclsh -> ./tclsh8.6.1
  -rwxr-xr-x 2 bitbake bitbake 8.8K Dec 26 16:19 sysroots/x86_64-linux/usr/bin/tclsh8.6
* add another symlinks tclsh8.6.1 -> tclsh8.6

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
 meta/recipes-devtools/tcltk/tcl_8.6.1.bb | 1 +
 1 file changed, 1 insertion(+)

Patch

diff --git a/meta/recipes-devtools/tcltk/tcl_8.6.1.bb b/meta/recipes-devtools/tcltk/tcl_8.6.1.bb
index 0d6468a..7965568 100644
--- a/meta/recipes-devtools/tcltk/tcl_8.6.1.bb
+++ b/meta/recipes-devtools/tcltk/tcl_8.6.1.bb
@@ -48,6 +48,7 @@  do_compile_prepend() {
 do_install() {
 	autotools_do_install install-private-headers
 	ln -sf ./tclsh${VER} ${D}${bindir}/tclsh
+	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