diff options
Diffstat (limited to 'meta/recipes-devtools/tcltk')
-rw-r--r-- | meta/recipes-devtools/tcltk/tcl_9.0.1.bb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/meta/recipes-devtools/tcltk/tcl_9.0.1.bb b/meta/recipes-devtools/tcltk/tcl_9.0.1.bb index 485b293768..765dc64e4d 100644 --- a/meta/recipes-devtools/tcltk/tcl_9.0.1.bb +++ b/meta/recipes-devtools/tcltk/tcl_9.0.1.bb | |||
@@ -28,7 +28,7 @@ SRC_URI[sha256sum] = "488fcb6c875a1762e9e8478319b20fbad9a31de475f056aeed94cc54b4 | |||
28 | UPSTREAM_CHECK_URI = "https://www.tcl.tk/software/tcltk/download.html" | 28 | UPSTREAM_CHECK_URI = "https://www.tcl.tk/software/tcltk/download.html" |
29 | UPSTREAM_CHECK_REGEX = "tcl(?P<pver>\d+(\.\d+)+)-src" | 29 | UPSTREAM_CHECK_REGEX = "tcl(?P<pver>\d+(\.\d+)+)-src" |
30 | 30 | ||
31 | S = "${WORKDIR}/${BPN}${PV}" | 31 | S = "${UNPACKDIR}/${BPN}${PV}" |
32 | 32 | ||
33 | VER = "${PV}" | 33 | VER = "${PV}" |
34 | 34 | ||
@@ -51,7 +51,7 @@ do_install() { | |||
51 | ln -sf ./tclsh${VER} ${D}${bindir}/tclsh | 51 | ln -sf ./tclsh${VER} ${D}${bindir}/tclsh |
52 | ln -sf tclsh9.0 ${D}${bindir}/tclsh${VER} | 52 | ln -sf tclsh9.0 ${D}${bindir}/tclsh${VER} |
53 | sed -i "s;-L${B};-L${STAGING_LIBDIR};g" tclConfig.sh | 53 | sed -i "s;-L${B};-L${STAGING_LIBDIR};g" tclConfig.sh |
54 | sed -i "s;'${WORKDIR};'${STAGING_INCDIR};g" tclConfig.sh | 54 | sed -i "s;'${UNPACKDIR};'${STAGING_INCDIR};g" tclConfig.sh |
55 | install -d ${D}${bindir_crossscripts} | 55 | install -d ${D}${bindir_crossscripts} |
56 | install -m 0755 tclConfig.sh ${D}${bindir_crossscripts} | 56 | install -m 0755 tclConfig.sh ${D}${bindir_crossscripts} |
57 | install -m 0755 tclConfig.sh ${D}${libdir} | 57 | install -m 0755 tclConfig.sh ${D}${libdir} |
@@ -105,6 +105,7 @@ tcl_package_preprocess() { | |||
105 | -e "s;-L${STAGING_LIBDIR};-L${libdir};g" \ | 105 | -e "s;-L${STAGING_LIBDIR};-L${libdir};g" \ |
106 | -e "s;${STAGING_INCDIR};${includedir};g" \ | 106 | -e "s;${STAGING_INCDIR};${includedir};g" \ |
107 | -e "s;--sysroot=${RECIPE_SYSROOT};;g" \ | 107 | -e "s;--sysroot=${RECIPE_SYSROOT};;g" \ |
108 | -e "s;${B};${libdir};g" ${PKGD}${libdir}/tclConfig.sh \ | ||
108 | ${PKGD}${libdir}/tclConfig.sh | 109 | ${PKGD}${libdir}/tclConfig.sh |
109 | 110 | ||
110 | rm -f ${PKGD}${bindir_crossscripts}/tclConfig.sh | 111 | rm -f ${PKGD}${bindir_crossscripts}/tclConfig.sh |