anchor.diff:  	${BASE_SRC_URI} \
   "
   
  -inherit autotools ptest
  +inherit autotools ptest binconfig
   
   VER = "8.6"
   
  
positive.code: 	sed -i "s:${WORKDIR}:${STAGING_INCDIR}:g" tclConfig.sh
  	sed -i "s:-L${libdir}:-L=${libdir}:g" tclConfig.sh
  	sed -i "s:-I${includedir}:-I=${includedir}:g" tclConfig.sh
  	install -d ${D}${bindir_crossscripts}
  	install -m 0755 tclConfig.sh ${D}${bindir_crossscripts}
  	ln -sf tclsh8.6 ${D}${bindir}/tclsh
  
  	# Follow debian/rules
  
negative.code: 	cp -r ${S}/../tests ${D}${PTEST_PATH}
  }
  
  # Fix some paths that might be used by Tcl extensions
  BINCONFIG_GLOB = "*Config.sh"
  
  # Fix the path in sstate
  SSTATE_SCAN_FILES += "*Config.sh"
  