summaryrefslogtreecommitdiff
path: root/packages/tcltk
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openembedded.org>2006-09-29 20:32:18 +0000
committerMarcin Juszkiewicz <hrw@openembedded.org>2006-09-29 20:32:18 +0000
commit0d4e5824544fd99dff585af2a0075f0be6ca709f (patch)
treea9cc22724cf9c8a4ca58080d88c1ef6d1afeaa60 /packages/tcltk
parentde5dd12928f71908b27e59ef82e3a0decd32c1a9 (diff)
tcl: fix dirs in tclConfig.sh so tcl related stuff will be buildable after cleaning WORKDIR
Diffstat (limited to 'packages/tcltk')
-rw-r--r--packages/tcltk/tcl_8.4.11.bb4
1 files changed, 3 insertions, 1 deletions
diff --git a/packages/tcltk/tcl_8.4.11.bb b/packages/tcltk/tcl_8.4.11.bb
index 59d4162e53..f2eed37667 100644
--- a/packages/tcltk/tcl_8.4.11.bb
+++ b/packages/tcltk/tcl_8.4.11.bb
@@ -2,11 +2,12 @@ DESCRIPTION = "Tool Command Language"
LICENSE = "tcl"
SECTION = "devel/tcltk"
HOMEPAGE = "http://tcl.sourceforge.net"
-PR = "r3"
+PR = "r4"
SRC_URI = "${SOURCEFORGE_MIRROR}/tcl/tcl${PV}-src.tar.gz \
file://tcl-add-soname.patch;patch=1 \
file://fix-configure.patch;patch=1;pnum=2"
+
S = "${WORKDIR}/tcl${PV}/unix"
inherit autotools
@@ -25,6 +26,7 @@ do_compile_prepend() {
do_stage() {
oe_libinstall -a libtclstub8.4 ${STAGING_LIBDIR}
oe_libinstall -so libtcl8.4 ${STAGING_LIBDIR}
+ sed -i "s+${WORKDIR}+${STAGING_INCDIR}+g" tclConfig.sh
install -m 0755 tclConfig.sh ${STAGING_BINDIR}
cd ..
for dir in compat generic unix