diff options
| -rw-r--r-- | meta/recipes-devtools/tcltk/tcl_8.6.6.bb | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/meta/recipes-devtools/tcltk/tcl_8.6.6.bb b/meta/recipes-devtools/tcltk/tcl_8.6.6.bb index 40cd18fb09..5cecf65fb6 100644 --- a/meta/recipes-devtools/tcltk/tcl_8.6.6.bb +++ b/meta/recipes-devtools/tcltk/tcl_8.6.6.bb | |||
| @@ -35,23 +35,15 @@ VER = "${PV}" | |||
| 35 | 35 | ||
| 36 | inherit autotools ptest binconfig | 36 | inherit autotools ptest binconfig |
| 37 | 37 | ||
| 38 | DEPENDS_class-native = "zlib-native" | ||
| 39 | |||
| 40 | EXTRA_OECONF = "--enable-threads --disable-rpath --libdir=${libdir}" | 38 | EXTRA_OECONF = "--enable-threads --disable-rpath --libdir=${libdir}" |
| 41 | 39 | ||
| 42 | do_configure() { | ||
| 43 | cd ${S} | ||
| 44 | gnu-configize | ||
| 45 | cd ${B} | ||
| 46 | oe_runconf | ||
| 47 | } | ||
| 48 | |||
| 49 | do_compile_prepend() { | 40 | do_compile_prepend() { |
| 50 | echo > ${S}/../compat/fixstrtod.c | 41 | echo > ${S}/../compat/fixstrtod.c |
| 51 | } | 42 | } |
| 52 | 43 | ||
| 53 | do_install() { | 44 | do_install() { |
| 54 | autotools_do_install install-private-headers | 45 | autotools_do_install |
| 46 | oe_runmake 'DESTDIR=${D}' install-private-headers | ||
| 55 | ln -sf ./tclsh${VER} ${D}${bindir}/tclsh | 47 | ln -sf ./tclsh${VER} ${D}${bindir}/tclsh |
| 56 | ln -sf tclsh8.6 ${D}${bindir}/tclsh${VER} | 48 | ln -sf tclsh8.6 ${D}${bindir}/tclsh${VER} |
| 57 | sed -i "s;-L${B};-L${STAGING_LIBDIR};g" tclConfig.sh | 49 | sed -i "s;-L${B};-L${STAGING_LIBDIR};g" tclConfig.sh |
| @@ -59,7 +51,6 @@ do_install() { | |||
| 59 | install -d ${D}${bindir_crossscripts} | 51 | install -d ${D}${bindir_crossscripts} |
| 60 | install -m 0755 tclConfig.sh ${D}${bindir_crossscripts} | 52 | install -m 0755 tclConfig.sh ${D}${bindir_crossscripts} |
| 61 | install -m 0755 tclConfig.sh ${D}${libdir} | 53 | install -m 0755 tclConfig.sh ${D}${libdir} |
| 62 | cd .. | ||
| 63 | for dir in compat generic unix; do | 54 | for dir in compat generic unix; do |
| 64 | install -d ${D}${includedir}/${BPN}${VER}/$dir | 55 | install -d ${D}${includedir}/${BPN}${VER}/$dir |
| 65 | install -m 0644 ${S}/../$dir/*.h ${D}${includedir}/${BPN}${VER}/$dir/ | 56 | install -m 0644 ${S}/../$dir/*.h ${D}${includedir}/${BPN}${VER}/$dir/ |
