]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
tcl8: fix headers path
authorYoann Congal <yoann.congal@smile.fr>
Tue, 19 Nov 2024 17:39:44 +0000 (18:39 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 21 Nov 2024 12:14:20 +0000 (12:14 +0000)
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 <yoann.congal@smile.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/tcltk8/tcl8_8.6.15.bb

index 3902b3fe76dad54f0c7bdd0cba1a1b2a383c359f..9d1c724d64bdd1d4e0f6c316b51e0910548988c9 100644 (file)
@@ -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
 }