summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Volk <f_l_k@t-online.de>2025-07-01 23:54:34 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-07-03 10:40:17 +0100
commit99c656f51cae57470a59bf53276cf380a9cfbbef (patch)
treed573592e5cc29a339f00240526467226d3cb05f7
parent53d01ed4f4bae400bcef48f9576d49892b9ab508 (diff)
downloadpoky-99c656f51cae57470a59bf53276cf380a9cfbbef.tar.gz
tcl: fix tclConfig.sh after UNPACKDIR change
Adapt the sed command that edits TCL_SRC_DIR in tclConfig.sh This is needed so that tk in meta-oe is capable of reading the required header file Remove buildpath from TCL_BUILD_STUB_LIB_PATH in tclConfig.sh (From OE-Core rev: f04b0b2b42f4b4e689b9cf1b6e394159f0710122) Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-devtools/tcltk/tcl_9.0.1.bb3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-devtools/tcltk/tcl_9.0.1.bb b/meta/recipes-devtools/tcltk/tcl_9.0.1.bb
index 70aa9b606c..765dc64e4d 100644
--- a/meta/recipes-devtools/tcltk/tcl_9.0.1.bb
+++ b/meta/recipes-devtools/tcltk/tcl_9.0.1.bb
@@ -51,7 +51,7 @@ do_install() {
51 ln -sf ./tclsh${VER} ${D}${bindir}/tclsh 51 ln -sf ./tclsh${VER} ${D}${bindir}/tclsh
52 ln -sf tclsh9.0 ${D}${bindir}/tclsh${VER} 52 ln -sf tclsh9.0 ${D}${bindir}/tclsh${VER}
53 sed -i "s;-L${B};-L${STAGING_LIBDIR};g" tclConfig.sh 53 sed -i "s;-L${B};-L${STAGING_LIBDIR};g" tclConfig.sh
54 sed -i "s;'${WORKDIR};'${STAGING_INCDIR};g" tclConfig.sh 54 sed -i "s;'${UNPACKDIR};'${STAGING_INCDIR};g" tclConfig.sh
55 install -d ${D}${bindir_crossscripts} 55 install -d ${D}${bindir_crossscripts}
56 install -m 0755 tclConfig.sh ${D}${bindir_crossscripts} 56 install -m 0755 tclConfig.sh ${D}${bindir_crossscripts}
57 install -m 0755 tclConfig.sh ${D}${libdir} 57 install -m 0755 tclConfig.sh ${D}${libdir}
@@ -105,6 +105,7 @@ tcl_package_preprocess() {
105 -e "s;-L${STAGING_LIBDIR};-L${libdir};g" \ 105 -e "s;-L${STAGING_LIBDIR};-L${libdir};g" \
106 -e "s;${STAGING_INCDIR};${includedir};g" \ 106 -e "s;${STAGING_INCDIR};${includedir};g" \
107 -e "s;--sysroot=${RECIPE_SYSROOT};;g" \ 107 -e "s;--sysroot=${RECIPE_SYSROOT};;g" \
108 -e "s;${B};${libdir};g" ${PKGD}${libdir}/tclConfig.sh \
108 ${PKGD}${libdir}/tclConfig.sh 109 ${PKGD}${libdir}/tclConfig.sh
109 110
110 rm -f ${PKGD}${bindir_crossscripts}/tclConfig.sh 111 rm -f ${PKGD}${bindir_crossscripts}/tclConfig.sh