From a3a463483f1daafcd2cd04673ff1d0376930445b Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Fri, 5 Jul 2019 11:16:14 +0100 Subject: tk: fix for binconfig/tcl changes in oe-core Signed-off-by: Ross Burton --- meta-oe/recipes-devtools/tcltk/tk_8.6.9.bb | 19 ++----------------- 1 file changed, 2 insertions(+), 17 deletions(-) diff --git a/meta-oe/recipes-devtools/tcltk/tk_8.6.9.bb b/meta-oe/recipes-devtools/tcltk/tk_8.6.9.bb index 3d77670749..e9c5396275 100644 --- a/meta-oe/recipes-devtools/tcltk/tk_8.6.9.bb +++ b/meta-oe/recipes-devtools/tcltk/tk_8.6.9.bb @@ -42,7 +42,7 @@ REQUIRED_DISTRO_FEATURES = "x11" EXTRA_OECONF = "\ --enable-threads \ --with-x \ - --with-tcl=${STAGING_BINDIR}/crossscripts \ + --with-tcl=${STAGING_BINDIR_CROSS} \ --libdir=${libdir} \ " export TK_LIBRARY='${libdir}/tk${VER}' @@ -77,20 +77,5 @@ SSTATE_SCAN_FILES += "*Config.sh" inherit binconfig -SYSROOT_DIRS += "${bindir_crossscripts}" - # Fix some paths that might be used by Tcl extensions -BINCONFIG_GLOB = "*Config.sh" - -# Cleanup host path from ${libdir}/tclConfig.sh and remove the -# ${bindir_crossscripts}/tclConfig.sh from target -PACKAGE_PREPROCESS_FUNCS += "tcl_package_preprocess" -tcl_package_preprocess() { - sed -i -e "s;${DEBUG_PREFIX_MAP};;g" \ - -e "s;-L${STAGING_LIBDIR};-L${libdir};g" \ - -e "s;${STAGING_INCDIR};${includedir};g" \ - -e "s;--sysroot=${RECIPE_SYSROOT};;g" \ - ${PKGD}${libdir}/tkConfig.sh - - rm -f ${PKGD}${bindir_crossscripts}/tkConfig.sh -} +BINCONFIG = "${libdir}/*Config.sh" -- cgit 1.2.3-korg