anchor.diff:  	file://${PV}-gcc43.patch;patch=1 \
   	"
   
  -PR = "r1"
  +DEFAULT_PREFERENCE = "-1"
   
  -BJAM_TOOLS   = "--toolset=gcc \
  -		'-sGCC=${CC} '${BJAM_CONF} \
  -		'-sGXX=${CXX} '${BJAM_CONF} \
  -		'-sGCC_INCLUDE_DIRECTORY=${STAGING_INCDIR}' \
  -		'-sGCC_STDLIB_DIRECTORY=${STAGING_LIBDIR}' \
  +S = "${WORKDIR}/${BOOST_P}"
  +
  +BOOST_VER = "${@"_".join(bb.data.getVar("PV",d,1).split("."))}"
  +BOOST_MAJ = "${@"_".join(bb.data.getVar("PV",d,1).split(".")[0:2])}"
  +BOOST_P = "boost_${BOOST_VER}"
  +
  +BJAM_TOOLS = "--toolset=gcc \
   		'-sBUILD=release <optimization>space <inlining>on <debug-symbols>off' \
   		'-sPYTHON_VERSION=${PYTHON_VERSION}' \
   		'-sPYTHON=${STAGING_BINDIR_NATIVE}/python' \
  
positive.code: 		'--layout=system' \
  		"
  
  BJAM_OPTS    = '${BJAM_TOOLS} \
      --builddir=${S}/${TARGET_SYS} \
      ${BJAM_EXTRA}'
  
  do_configure() {
    echo "import toolset : using ;" > tools/build/v2/user-config.jam
  	echo "using gcc : : ${CC} : <cflags>${CFLAGS} <cxxflags>${CXXFLAGS} <linkflags>${LDFLAGS} ;" >> tools/build/v2/user-config.jam
  }
  
  do_install_append() {
  	# Since boost does not provide library files in the form
    # lib<name>.so.<abi> and a symlink pointing to this file
    # we need to do this manually.
  	for F in `find ${D}${libdir} -name "*.so" -maxdepth 1`; do
  		echo renaming $F to $F.${PV}
  		mv $F $F.${PV}
  		ln -sf `basename $F`.${PV} $F
  	done
  }
  
negative.code: #
  # Warning! The build system for boost seems to have changed
  # significantly since 1.33 (again).
  DESCRIPTION = "Free peer-reviewed portable C++ source libraries"
  HOMEPAGE = "http://www.boost.org/"
  SECTION = "libs"
  PRIORITY = "optional"
  LICENSE = "Boost Software License"
  
  DEPENDS = "python boost-jam-native zlib bzip2"
  
  PR = "r2"
  
  SRC_URI = "\
  	${SOURCEFORGE_MIRROR}/boost/${BOOST_P}.tar.bz2 \
  