diff mbox series

[PATCHv2] tcl: fix tclConfig.sh after UNPACKDIR change

Message ID 20250701112415.334132-1-f_l_k@t-online.de
State New
Headers show
Series [PATCHv2] tcl: fix tclConfig.sh after UNPACKDIR change | expand

Commit Message

Markus Volk July 1, 2025, 11:24 a.m. UTC
Add a sed command that edits tclConfig.sh. This is needed so that
tk in meta-oe is capable of reading the required header file

Signed-off-by: Markus Volk <f_l_k@t-online.de>
---
 meta/recipes-devtools/tcltk/tcl_9.0.1.bb | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/meta/recipes-devtools/tcltk/tcl_9.0.1.bb b/meta/recipes-devtools/tcltk/tcl_9.0.1.bb
index 70aa9b606c..15f03b6c9e 100644
--- a/meta/recipes-devtools/tcltk/tcl_9.0.1.bb
+++ b/meta/recipes-devtools/tcltk/tcl_9.0.1.bb
@@ -52,6 +52,7 @@  do_install() {
 	ln -sf tclsh9.0 ${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}