From 0d4e5824544fd99dff585af2a0075f0be6ca709f Mon Sep 17 00:00:00 2001 From: Marcin Juszkiewicz Date: Fri, 29 Sep 2006 20:32:18 +0000 Subject: tcl: fix dirs in tclConfig.sh so tcl related stuff will be buildable after cleaning WORKDIR --- packages/tcltk/tcl_8.4.11.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'packages') 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 -- cgit v1.2.3 From c62509d5242fcec2865b0115aae60435239db294 Mon Sep 17 00:00:00 2001 From: Marcin Juszkiewicz Date: Fri, 29 Sep 2006 20:32:52 +0000 Subject: tk: fix dirs in tkConfig.sh so tk related stuff will be buildable after cleaning WORKDIR --- packages/tcltk/tk_8.4.11.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'packages') 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 -- cgit v1.2.3