tcl: fix tclConfig.sh after UNPACKDIR change
v4: mention what the second sed command does
Quoted 44 lines · Markus Volk via lists.openembedded.org
Adapt the sed command that edits
TCL_SRC_DIRintclConfig.shThis is needed so that tk in meta-oe is capable of reading the required header fileRemove buildpath from
TCL_BUILD_STUB_LIB_PATHintclConfig.shSigned-off-by Markus Volk <[email protected] <mailto:[email protected]>>--- meta/recipes-devtools/tcltk/tcl_9.0.1.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)meta/recipes-devtools/tcltk/tcl_9.0.1.bb +2
-2@@ -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}@@ -105,6 +105,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.49.0
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#219733): <https://lists.openembedded.org/g/openembedded-core/message/219733>
Mute This Topic: <https://lists.openembedded.org/mt/113937966/3618223>
Group Owner: [email protected] <mailto:[email protected]>
Unsubscribe: <https://lists.openembedded.org/g/openembedded-core/unsub> [[email protected] <mailto:[email protected]>]
-=-=-=-=-=-=-=-=-=-=-=-