From: krkapate@cisco.com
To: openembedded-core@lists.openembedded.org
Cc: xe-linux-external@cisco.com
Subject: [OE-core] [PATCH] tcl8: fix tclConfig.sh after UNPACKDIR change
Date: Sun, 8 Mar 2026 22:31:15 -0700 [thread overview]
Message-ID: <20260309053115.54176-1-krkapate@cisco.com> (raw)
From: Krupal Ka Patel <krkapate@cisco.com>
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
Signed-off-by: Krupal Ka Patel <krkapate@cisco.com>
---
meta/recipes-devtools/tcltk8/tcl8_8.6.17.bb | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/meta/recipes-devtools/tcltk8/tcl8_8.6.17.bb b/meta/recipes-devtools/tcltk8/tcl8_8.6.17.bb
index b97b20abd5..49eadb2af0 100644
--- a/meta/recipes-devtools/tcltk8/tcl8_8.6.17.bb
+++ b/meta/recipes-devtools/tcltk8/tcl8_8.6.17.bb
@@ -55,7 +55,7 @@ do_install() {
ln -sf ./tclsh${VER} ${D}${bindir}/tclsh8
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;'${UNPACKDIR};'${STAGING_INCDIR};g" tclConfig.sh
install -d ${D}${bindir_crossscripts}
install -m 0755 tclConfig.sh ${D}${bindir_crossscripts}
install -m 0755 tclConfig.sh ${D}${libdir}
@@ -111,6 +111,7 @@ tcl_package_preprocess() {
-e "s;-L${STAGING_LIBDIR};-L${libdir};g" \
-e "s;${STAGING_INCDIR};${includedir};g" \
-e "s;--sysroot=${RECIPE_SYSROOT};;g" \
+ -e "s;${B};${libdir};g" ${PKGD}${libdir}/tclConfig.sh \
${PKGD}${libdir}/tclConfig.sh
rm -f ${PKGD}${bindir_crossscripts}/tclConfig.sh
--
2.35.6
reply other threads:[~2026-03-09 5:31 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260309053115.54176-1-krkapate@cisco.com \
--to=krkapate@cisco.com \
--cc=openembedded-core@lists.openembedded.org \
--cc=xe-linux-external@cisco.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox