anchor.diff:  	scriptdir="${D}${bindir}" \
   	web2cdir="${D}${datadir}" \
   	kpathsea="${D}${libdir}/libkpathsea.la" \
  -	DESTDIR=""
  +	DESTDIR="" \
  +	LIBTOOL="${STAGING_BINDIR}/${HOST_SYS}-libtool"
   	MAKE="make -e" oe_runmake -e install
   }
   
  
positive.code: }
  # NOTE: Make sure it is using _our_ libtool and nothing else :/
  do_compile() {
  	LIBTOOL="${STAGING_BINDIR}/${HOST_SYS}/libtool" oe_runmake MAKE="${MAKE} LIBTOOL=${STAGING_BINDIR}/${HOST_SYS}-libtool"
  }
  
  # NOTE: This is really ugly. Unfortunately the teTeX people seem not to know about PREFIX...
  
negative.code: SECTION = "console/utils"
  DEPENDS = "tetex-native flex gd ncurses libpng t1lib libx11 libxau libxext libxt zlib"
  MAINTAINER = "Michael 'Mickey' Lauer <mickey@Vanille.de>"
  PR = "r5"
  
  SRC_URI = "ftp://dante.ctan.org/tex-archive/systems/unix/teTeX/current/distrib/tetex-src-${PV}.tar.gz \
             file://configure.patch;patch=1"
  