Skip to contentSkip to conversation

tcl: fix tclConfig.sh after UNPACKDIR change

PATCH Superseded Markus Volk 1 participant 1 message Jul 1, 2025

v1 of 4 Superseded Latest is v4 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tcl: fix tclConfig.sh after UNPACKDIR change

Adapt the sed command that edits tclConfig.sh. This is needed so that tk in meta-oe is capable of reading the required header file

---
 meta/recipes-devtools/tcltk/tcl_9.0.1.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-devtools/tcltk/tcl_9.0.1.bb +1 -1
index 70aa9b606c..7627fbca68 100644
@@ -51,7 +51,7 @@ do_install() {
 	ln -sf ./tclsh${VER} ${D}${bindir}/tclsh
 	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}
Signature · 1 line
2.49.0