summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openembedded.org>2006-09-29 20:32:52 +0000
committerMarcin Juszkiewicz <hrw@openembedded.org>2006-09-29 20:32:52 +0000
commitc62509d5242fcec2865b0115aae60435239db294 (patch)
tree6a1e93aa89c10bbe45e868ce4ad3dedc9fde41d0 /packages
parent0d4e5824544fd99dff585af2a0075f0be6ca709f (diff)
tk: fix dirs in tkConfig.sh so tk related stuff will be buildable after cleaning WORKDIR
Diffstat (limited to 'packages')
-rw-r--r--packages/tcltk/tk_8.4.11.bb4
1 files changed, 3 insertions, 1 deletions
diff --git a/packages/tcltk/tk_8.4.11.bb b/packages/tcltk/tk_8.4.11.bb
index 69a3227437..e70db703e9 100644
--- a/packages/tcltk/tk_8.4.11.bb
+++ b/packages/tcltk/tk_8.4.11.bb
@@ -4,12 +4,13 @@ SECTION = "devel/tcltk"
HOMEPAGE = "http://tcl.sourceforge.net"
DEPENDS = "tcl virtual/libx11 libxt"
RDEPENDS = "tcl"
-PR = "r4"
+PR = "r5"
SRC_URI = "${SOURCEFORGE_MIRROR}/tcl/tk${PV}-src.tar.gz \
file://disable-xim.patch;patch=1;pnum=0 \
file://tk-add-soname.patch;patch=1 \
file://fix-configure.patch;patch=1;pnum=2"
+
S = "${WORKDIR}/tk${PV}/unix"
inherit autotools
@@ -25,6 +26,7 @@ do_configure() {
do_stage() {
oe_libinstall -a libtkstub8.4 ${STAGING_LIBDIR}
oe_libinstall -so libtk8.4 ${STAGING_LIBDIR}
+ sed -i "s+${WORKDIR}+${STAGING_INCDIR}+g" tkConfig.sh
install -m 0755 tkConfig.sh ${STAGING_BINDIR}
cd ..
#for dir in compat generic unix