From: Yoann Congal <[email protected]>

During the tcl_8.x removal[0] and its reintegration as tcl8_x[1], BPN
has changed from tcl to tcl8. But, recipes that depends on tcl headers
search the tcl8.6.15 directory where the current recipe generate a
tcl88.6.15 ($BPN+$VERSION) directory.

Fix this by hardcoding the base part of the directory name to "tcl".

Signed-off-by: Yoann Congal <[email protected]>
---
This bug was found while fixing the tk recipe from meta-oe. I've checked
that "expect" from OE-Core still build properly.
---
 meta/recipes-devtools/tcltk8/tcl8_8.6.15.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-devtools/tcltk8/tcl8_8.6.15.bb 
b/meta/recipes-devtools/tcltk8/tcl8_8.6.15.bb
index 3902b3fe76..9d1c724d64 100644
--- a/meta/recipes-devtools/tcltk8/tcl8_8.6.15.bb
+++ b/meta/recipes-devtools/tcltk8/tcl8_8.6.15.bb
@@ -57,8 +57,8 @@ do_install() {
        install -m 0755 tclConfig.sh ${D}${bindir_crossscripts}
        install -m 0755 tclConfig.sh ${D}${libdir}
        for dir in compat generic unix; do
-               install -d ${D}${includedir}/${BPN}${VER}/$dir
-               install -m 0644 ${S}/$dir/*.h 
${D}${includedir}/${BPN}${VER}/$dir/
+               install -d ${D}${includedir}/tcl${VER}/$dir
+               install -m 0644 ${S}/$dir/*.h ${D}${includedir}/tcl${VER}/$dir/
        done
 }
 
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#207399): 
https://lists.openembedded.org/g/openembedded-core/message/207399
Mute This Topic: https://lists.openembedded.org/mt/109669094/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to