anchor.diff:  #disable parallel make (make -j), as festival cannot handle that
   PARALLEL_MAKE = ""
   
  -FILES_${PN} += "/usr/lib/audsp"
  -
   do_configure_prepend() { 
       #point to speech-tools in sysroots
       sed -i 's:EST=$(TOP)/../speech_tools:EST=${STAGING_DIR_TARGET}${datadir}/speech-tools:g' ${S}/config/config.in
  
positive.code:     sed -i 's:ALSO_INCLUDE:#ALSO_INCLUDE:g' ${S}/config/config.in
  
      #fix hardcoded library path
      sed -i 's:festival_libdir = FTLIBDIR:festival_libdir = "${datadir}/festival":g' ${S}/src/arch/festival/festival.cc
  }
  
  do_configure_append() { 
  
negative.code:     install -m 0755 ${S}/bin/festival_client ${D}${bindir}
      install -m 0755 ${S}/bin/text2wave ${D}${bindir}
  
      install -m 0755 -d ${D}${libdir}/festival 
      install -m 0755 ${S}/lib/etc/unknown_*/audsp ${D}${libdir}/festival
  
      install -m 0755 -d ${D}${datadir}/festival
      install -m 0644 ${S}/lib/*scm ${D}${datadir}/festival
  