public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] dev/hwoarang:master commit in: dev-util/boost-build/files/, dev-util/boost-build/, dev-libs/boost/files/, ...
@ 2011-03-14 17:44 Markos Chandras
  0 siblings, 0 replies; 3+ messages in thread
From: Markos Chandras @ 2011-03-14 17:44 UTC (permalink / raw
  To: gentoo-commits

commit:     710e1c5c3f8ab7308422c203a6a4a0c7396ee43d
Author:     hwoarang <hwoarang <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 14 17:43:01 2011 +0000
Commit:     Markos Chandras <hwoarang <AT> gentoo <DOT> org>
CommitDate: Mon Mar 14 17:43:01 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=dev/hwoarang.git;a=commit;h=710e1c5c

Initial commit for boost-* 1.46.1 stuff

---
 dev-libs/boost/Manifest                            |   12 +
 dev-libs/boost/boost-1.46.1.ebuild                 |  485 ++++++++++++++++++++
 .../files/1.35-remove-hardlink-creation.patch      |   21 +
 dev-libs/boost/files/CVS/Entries                   |   19 +
 dev-libs/boost/files/CVS/Repository                |    1 +
 dev-libs/boost/files/CVS/Root                      |    1 +
 .../boost/files/boost-1.42.0-gcc45-python.patch    |   15 +
 .../boost-1.42.0-parameter-needs-python.patch      |  106 +++++
 .../files/boost-1.42.0-template_arity-gcc45.patch  |   28 ++
 .../boost/files/boost-1.45.0-lambda_bind.patch     |   42 ++
 dev-libs/boost/files/buildid-fix.patch             |   23 +
 dev-libs/boost/files/random-Jamfile                |   15 +
 dev-libs/boost/files/random-Jamfile-1.45.0         |   15 +
 dev-libs/boost/files/remove-toolset-1.45.0.patch   |   11 +
 .../files/remove_toolset_from_targetname.patch     |   11 +
 dev-util/boost-build/Manifest                      |    6 +
 dev-util/boost-build/boost-build-1.46.1.ebuild     |  111 +++++
 .../files/1.35.0-fix_broken_icu_build.patch        |   33 ++
 dev-util/boost-build/files/CVS/Entries             |    5 +
 dev-util/boost-build/files/CVS/Repository          |    1 +
 dev-util/boost-build/files/CVS/Root                |    1 +
 .../files/boost-1.41-fix-mpich2-detection.patch    |   35 ++
 .../files/boost-1.42-fix-mpich2-detection.patch    |   35 ++
 .../files/boost-build-1.42-env-whitespace.patch    |   25 +
 profiles/package.mask                              |    8 +-
 25 files changed, 1061 insertions(+), 4 deletions(-)

diff --git a/dev-libs/boost/Manifest b/dev-libs/boost/Manifest
new file mode 100644
index 0000000..60441a5
--- /dev/null
+++ b/dev-libs/boost/Manifest
@@ -0,0 +1,12 @@
+AUX 1.35-remove-hardlink-creation.patch 547 RMD160 0c0bae87977869efcd2e25144b910025ab3e6924 SHA1 c3833411ab8e7c84efddc5cfb4ab99abcba1eed5 SHA256 9b0515f343f0c8f7f0ce51e2c6f243edae0f3d5ce5df5b9f77a46b00041a134e
+AUX boost-1.42.0-gcc45-python.patch 628 RMD160 261b0e98f133fd745e29998bd0f0165f0a007ab3 SHA1 80146b1018e96b0958d930e2a8c828310ffec68a SHA256 5ab528cfc9beb940d6cfa94ff1b39b0e29c6adc3c1d1906f31cfabaf94232761
+AUX boost-1.42.0-parameter-needs-python.patch 3037 RMD160 901d7bdda6c9f604d5487b09d247592e8558fcfa SHA1 ee3bf830495506e6d250b2073efbf42de60f9d03 SHA256 0d0e47ef2582da43c40ccf8b5b58435a2d42e2236d29ea7883e1b1ecd1aaa439
+AUX boost-1.42.0-template_arity-gcc45.patch 970 RMD160 0edcdbcaf0165e4e285b041f6406b1f71e798753 SHA1 f0cccc3ba7c2496f092cbc623473d21585bdd304 SHA256 e289a56bed08914704fad58bc4779ce9f327b4acac8ebd6a93bc6dd09f9a6e98
+AUX boost-1.45.0-lambda_bind.patch 1607 RMD160 ea61aaac83cfebfcb10c0e20de72022d4d4c1b27 SHA1 39856bef27d2a55f1ae2e0d7a7005264a8613289 SHA256 0ff6a7bf481d5311ec57be1eeaafdd0c0e9e0c09b896700d40295f67bf77be0b
+AUX buildid-fix.patch 1045 RMD160 ce9dbea25e21ed1ac177b16982ef1850957474f2 SHA1 af1069055e6f8d8fa143fb2ddeccb2fc36ddce9a SHA256 42a2aa4c0f4d8579a501d6133f55852acbd1d7b497598983c50bdebaa17df17f
+AUX random-Jamfile 355 RMD160 478b592e9d33d371b07e5364e63512c8208263bf SHA1 8ca047df78758f62a6c131bd27441173e9079fa6 SHA256 7dc71ab8b862ccd5ea9c21c42557adfe0c711ea7fbe7faa47328a37aa84bc096
+AUX random-Jamfile-1.45.0 358 RMD160 dd8a847d5104923006795c9a19fa9154e49a8894 SHA1 a3d8cc42b95a09a451c2a1c429e019288f3b76aa SHA256 412c26f915db9d2664305d596406f6a75132d8cfe1827b42f17dc083dc632f00
+AUX remove-toolset-1.45.0.patch 465 RMD160 18b160e97e183392a635ebc60f840d10c30a0b1b SHA1 e476d9b06e7e16499ee7659f5178a52564d6831a SHA256 c1cc35cd5e25160e481912dcdd1e45a86d518bb0ac009ad50bd3811b097226b7
+AUX remove_toolset_from_targetname.patch 490 RMD160 e050992fd79005af73410a2ea4037a82177ddf33 SHA1 80d96cca8cb0acb752c428ffcada3ef2964642b1 SHA256 5c5c6fea3c1e20e290d15a68f91b6c084cc5b34daae338e3aa0879a3fd5b9fb5
+DIST boost_1_46_1.tar.bz2 42001335 RMD160 bb43b39f7c4b683b80bafa3042b95e65a242d9c3 SHA1 3ca6e173ec805e5126868d8a03618e587aa26aef SHA256 e1dfbf42b16e5015c46b98e9899c423ca4d04469cbeee05e43ea19236416d883
+EBUILD boost-1.46.1.ebuild 15764 RMD160 7e10ecdd1a2189b282c8cb8cf274956b7eeb5362 SHA1 9d4f8db32dc7008c6172dec279b87fa1029d6e0a SHA256 496470b2c41cddbbf0c22435cad8be859c82b08c801c47472f9c70b96454e91f

diff --git a/dev-libs/boost/boost-1.46.1.ebuild b/dev-libs/boost/boost-1.46.1.ebuild
new file mode 100644
index 0000000..7555494
--- /dev/null
+++ b/dev-libs/boost/boost-1.46.1.ebuild
@@ -0,0 +1,485 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/boost/boost-1.45.0.ebuild,v 1.5 2011/01/21 12:04:30 hwoarang Exp $
+
+EAPI="2"
+
+inherit python flag-o-matic multilib toolchain-funcs versionator check-reqs
+
+MY_P=${PN}_$(replace_all_version_separators _)
+
+DESCRIPTION="Boost Libraries for C++"
+HOMEPAGE="http://www.boost.org/"
+SRC_URI="mirror://sourceforge/boost/${MY_P}.tar.bz2"
+LICENSE="Boost-1.0"
+SLOT="$(get_version_component_range 1-2)"
+IUSE="debug doc +eselect icu mpi python static-libs test tools"
+
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
+
+RDEPEND="icu? ( >=dev-libs/icu-3.3 )
+	mpi? ( || ( sys-cluster/openmpi[cxx] sys-cluster/mpich2[cxx,threads] ) )
+	sys-libs/zlib
+	python? ( virtual/python )
+	!!<=dev-libs/boost-1.35.0-r2
+	>=app-admin/eselect-boost-0.3"
+DEPEND="${RDEPEND}
+	dev-util/boost-build:${SLOT}"
+
+S=${WORKDIR}/${MY_P}
+
+MAJOR_PV=$(replace_all_version_separators _ ${SLOT})
+BJAM="bjam-${MAJOR_PV}"
+
+# Usage:
+# _add_line <line-to-add> <profile>
+# ... to add to specific profile
+# or
+# _add_line <line-to-add>
+# ... to add to all profiles for which the use flag set
+
+_add_line() {
+	if [ -z "$2" ] ; then
+		echo "${1}" >> "${D}/usr/share/boost-eselect/profiles/${SLOT}/default"
+		use debug && echo "${1}" >> "${D}/usr/share/boost-eselect/profiles/${SLOT}/debug"
+	else
+		echo "${1}" >> "${D}/usr/share/boost-eselect/profiles/${SLOT}/${2}"
+	fi
+}
+
+pkg_setup() {
+	# It doesn't compile with USE="python mpi" and python-3 (bug 295705)
+	if use python && use mpi ; then
+		if [[ "$(python_get_version --major)" != "2" ]]; then
+			eerror "The Boost.MPI python bindings do not support any other python version"
+			eerror "than 2.x. Please either use eselect to select a python 2.x version or"
+			eerror "disable the python and/or mpi use flag for =${CATEGORY}/${PF}."
+			die "unsupported python version"
+		fi
+	fi
+
+	if use test ; then
+		CHECKREQS_DISK_BUILD="15360"
+		check_reqs
+
+		ewarn "The tests may take several hours on a recent machine"
+		ewarn "but they will not fail (unless something weird happens ;-)"
+		ewarn "This is because the tests depend on the used compiler/-version"
+		ewarn "and the platform and upstream says that this is normal."
+		ewarn "If you are interested in the results, please take a look at the"
+		ewarn "generated results page:"
+		ewarn "  ${ROOT}usr/share/doc/${PF}/status/cs-$(uname).html"
+		ebeep 5
+
+	fi
+
+	if use debug ; then
+		ewarn "The debug USE-flag means that a second set of the boost libraries"
+		ewarn "will be built containing debug-symbols. You'll be able to select them"
+		ewarn "using the boost-eselect module. But even though the optimization flags"
+		ewarn "you might have set are not stripped, there will be a performance"
+		ewarn "penalty and linking other packages against the debug version"
+		ewarn "of boost is _not_ recommended."
+	fi
+}
+
+src_prepare() {
+	epatch "${FILESDIR}/remove-toolset-1.45.0.patch"
+
+	# This enables building the boost.random library with /dev/urandom support
+	if [[ -e /dev/urandom ]] ; then
+		mkdir -p libs/random/build
+		cp "${FILESDIR}/random-Jamfile-1.45.0" libs/random/build/Jamfile.v2
+	fi
+}
+
+src_configure() {
+	einfo "Writing new user-config.jam"
+
+	local compiler compilerVersion compilerExecutable mpi
+	if [[ ${CHOST} == *-darwin* ]] ; then
+		compiler=darwin
+		compilerVersion=$(gcc-fullversion)
+		compilerExecutable=$(tc-getCXX)
+		# we need to add the prefix, and in two cases this exceeds, so prepare
+		# for the largest possible space allocation
+		append-ldflags -Wl,-headerpad_max_install_names
+	else
+		compiler=gcc
+		compilerVersion=$(gcc-version)
+		compilerExecutable=$(tc-getCXX)
+	fi
+
+	# Using -fno-strict-aliasing to prevent possible creation of invalid code.
+	append-flags -fno-strict-aliasing
+
+	# bug 298489
+	if use ppc || use ppc64 ; then
+		[[ $(gcc-version) > 4.3 ]] && append-flags -mno-altivec
+	fi;
+
+	use mpi && mpi="using mpi ;"
+
+	if use python ; then
+		pystring="using python : $(python_get_version) : /usr :	$(python_get_includedir) : $(python_get_libdir) ;"
+	fi
+
+	cat > "${S}/user-config.jam" << __EOF__
+
+variant gentoorelease : release : <optimization>none <debug-symbols>none ;
+variant gentoodebug : debug : <optimization>none ;
+
+using ${compiler} : ${compilerVersion} : ${compilerExecutable} : <cxxflags>"${CXXFLAGS}" <linkflags>"${LDFLAGS}" ;
+
+${pystring}
+
+${mpi}
+
+__EOF__
+
+	# Maintainer information:
+	# The debug-symbols=none and optimization=none
+	# are not official upstream flags but a Gentoo
+	# specific patch to make sure that all our
+	# CXXFLAGS/LDFLAGS are being respected.
+	# Using optimization=off would for example add
+	# "-O0" and override "-O2" set by the user.
+	# Please take a look at the boost-build ebuild
+	# for more infomration.
+
+	use icu && OPTIONS="-sICU_PATH=/usr"
+	use mpi || OPTIONS="${OPTIONS} --without-mpi"
+	use python || OPTIONS="${OPTIONS} --without-python"
+
+	# https://svn.boost.org/trac/boost/attachment/ticket/2597/add-disable-long-double.patch
+	if use sparc || use mips || use hppa || use arm || use x86-fbsd || use sh; then
+		OPTIONS="${OPTIONS} --disable-long-double"
+	fi
+
+	OPTIONS="${OPTIONS} pch=off --user-config=\"${S}/user-config.jam\" --boost-build=/usr/share/boost-build-${MAJOR_PV} --prefix=\"${D}/usr\" --layout=versioned"
+
+	if use static-libs ; then
+		LINK_OPTS="link=shared,static"
+		LIBRARY_TARGETS="*.a *$(get_libname)"
+	else
+		LINK_OPTS="link=shared"
+		#there is no dynamicly linked version of libboost_test_exec_monitor
+		LIBRARY_TARGETS="libboost_test_exec_monitor*.a *$(get_libname)"
+	fi
+}
+
+src_compile() {
+	jobs=$( echo " ${MAKEOPTS} " | \
+		sed -e 's/ --jobs[= ]/ -j /g' \
+			-e 's/ -j \([1-9][0-9]*\)/ -j\1/g' \
+			-e 's/ -j\>/ -j1/g' | \
+			( while read -d ' ' j ; do if [[ "${j#-j}" = "$j" ]]; then continue; fi; jobs="${j#-j}"; done; echo ${jobs} ) )
+	if [[ "${jobs}" != "" ]]; then NUMJOBS="-j"${jobs}; fi;
+
+	export BOOST_ROOT="${S}"
+
+	einfo "Using the following command to build: "
+	einfo "${BJAM} ${NUMJOBS} -q -d+2 gentoorelease ${OPTIONS} threading=single,multi ${LINK_OPTS} runtime-link=shared"
+
+	${BJAM} ${NUMJOBS} -q -d+2 \
+		gentoorelease \
+		${OPTIONS} \
+		threading=single,multi ${LINK_OPTS} runtime-link=shared \
+		|| die "building boost failed"
+
+	# ... and do the whole thing one more time to get the debug libs
+	if use debug ; then
+		einfo "Using the following command to build: "
+		einfo "${BJAM} ${NUMJOBS} -q -d+2 gentoodebug ${OPTIONS} threading=single,multi ${LINK_OPTS} runtime-link=shared --buildid=debug"
+
+		${BJAM} ${NUMJOBS} -q -d+2 \
+			gentoodebug \
+			${OPTIONS} \
+			threading=single,multi ${LINK_OPTS} runtime-link=shared \
+			--buildid=debug \
+			|| die "building boost failed"
+	fi
+
+	if use tools; then
+		cd "${S}/tools/"
+		einfo "Using the following command to build the tools: "
+		einfo "${BJAM} ${NUMJOBS} -q -d+2 gentoorelease ${OPTIONS}"
+
+		${BJAM} ${NUMJOBS} -q -d+2\
+			gentoorelease \
+			${OPTIONS} \
+			|| die "building tools failed"
+	fi
+
+}
+
+src_install () {
+	export BOOST_ROOT="${S}"
+
+	einfo "Using the following command to install: "
+	einfo "${BJAM} -q -d+2 gentoorelease ${OPTIONS} threading=single,multi ${LINK_OPTS} runtime-link=shared --includedir=\"${D}/usr/include\" --libdir=\"${D}/usr/$(get_libdir)\" install"
+
+	${BJAM} -q -d+2 \
+		gentoorelease \
+		${OPTIONS} \
+		threading=single,multi ${LINK_OPTS} runtime-link=shared \
+		--includedir="${D}/usr/include" \
+		--libdir="${D}/usr/$(get_libdir)" \
+		install || die "install failed for options '${OPTIONS}'"
+
+	if use debug ; then
+		einfo "Using the following command to install: "
+		einfo "${BJAM} -q -d+2 gentoodebug ${OPTIONS} threading=single,multi ${LINK_OPTS} runtime-link=shared --includedir=\"${D}/usr/include\" --libdir=\"${D}/usr/$(get_libdir)\" --buildid=debug"
+
+		${BJAM} -q -d+2 \
+			gentoodebug \
+			${OPTIONS} \
+			threading=single,multi ${LINK_OPTS} runtime-link=shared \
+			--includedir="${D}/usr/include" \
+			--libdir="${D}/usr/$(get_libdir)" \
+			--buildid=debug \
+			install || die "install failed for options '${OPTIONS}'"
+	fi
+
+	use python || rm -rf "${D}/usr/include/boost-${MAJOR_PV}/boost"/python* || die
+
+	dodir /usr/share/boost-eselect/profiles/${SLOT} || die
+	touch "${D}/usr/share/boost-eselect/profiles/${SLOT}/default" || die
+	if use debug ; then
+		 touch "${D}/usr/share/boost-eselect/profiles/${SLOT}/debug" || die
+	fi
+
+	# Move the mpi.so to the right place and make sure it's slotted
+	if use mpi && use python; then
+		mkdir -p "${D}$(python_get_sitedir)/boost_${MAJOR_PV}" || die
+		mv "${D}/usr/$(get_libdir)/mpi.so" "${D}$(python_get_sitedir)/boost_${MAJOR_PV}/" || die
+		touch "${D}$(python_get_sitedir)/boost_${MAJOR_PV}/__init__.py" || die
+		_add_line "python=\"$(python_get_sitedir)/boost_${MAJOR_PV}/mpi.so\""
+	fi
+
+	if use doc ; then
+		find libs/*/* -iname "test" -or -iname "src" | xargs rm -rf
+		dohtml \
+			-A pdf,txt,cpp,hpp \
+			*.{htm,html,png,css} \
+			-r doc || die
+		dohtml \
+			-A pdf,txt \
+			-r tools || die
+		insinto /usr/share/doc/${PF}/html
+		doins -r libs || die
+
+		# To avoid broken links
+		insinto /usr/share/doc/${PF}/html
+		doins LICENSE_1_0.txt || die
+
+		dosym /usr/include/boost-${MAJOR_PV}/boost /usr/share/doc/${PF}/html/boost || die
+	fi
+
+	cd "${D}/usr/$(get_libdir)" || die
+
+	# Remove (unversioned) symlinks
+	# And check for what we remove to catch bugs
+	# got a better idea how to do it? tell me!
+	for f in $(ls -1 ${LIBRARY_TARGETS} | grep -v "${MAJOR_PV}") ; do
+		if [ ! -h "${f}" ] ; then
+			eerror "Ups, tried to remove '${f}' which is a a real file instead of a symlink"
+			die "slotting/naming of the libs broken!"
+		fi
+		rm "${f}" || die
+	done
+
+	# The threading libs obviously always gets the "-mt" (multithreading) tag
+	# some packages seem to have a problem with it. Creating symlinks...
+
+	if use static-libs ; then
+		THREAD_LIBS="libboost_thread-mt-${MAJOR_PV}.a libboost_thread-mt-${MAJOR_PV}$(get_libname)"
+	else
+		THREAD_LIBS="libboost_thread-mt-${MAJOR_PV}$(get_libname)"
+	fi
+	for lib in ${THREAD_LIBS} ; do
+		dosym ${lib} "/usr/$(get_libdir)/$(sed -e 's/-mt//' <<< ${lib})" || die
+	done
+
+	# The same goes for the mpi libs
+	if use mpi ; then
+		if use static-libs ; then
+			MPI_LIBS="libboost_mpi-mt-${MAJOR_PV}.a libboost_mpi-mt-${MAJOR_PV}$(get_libname)"
+	        else
+			MPI_LIBS="libboost_mpi-mt-${MAJOR_PV}$(get_libname)"
+	        fi
+		for lib in ${MPI_LIBS} ; do
+			dosym ${lib} "/usr/$(get_libdir)/$(sed -e 's/-mt//' <<< ${lib})" || die
+		done
+	fi
+
+	if use debug ; then
+		if use static-libs ; then
+			THREAD_DEBUG_LIBS="libboost_thread-mt-${MAJOR_PV}-debug$(get_libname) libboost_thread-mt-${MAJOR_PV}-debug.a"
+	        else
+			THREAD_DEBUG_LIBS="libboost_thread-mt-${MAJOR_PV}-debug$(get_libname)"
+	        fi
+
+		for lib in ${THREAD_DEBUG_LIBS} ; do
+			dosym ${lib} "/usr/$(get_libdir)/$(sed -e 's/-mt//' <<< ${lib})" || die
+		done
+
+		if use mpi ; then
+			if use static-libs ; then
+				MPI_DEBUG_LIBS="libboost_mpi-mt-${MAJOR_PV}-debug.a libboost_mpi-mt-${MAJOR_PV}-debug$(get_libname)"
+	                else
+				MPI_DEBUG_LIBS="libboost_mpi-mt-${MAJOR_PV}-debug$(get_libname)"
+			fi
+
+			for lib in ${MPI_DEBUG_LIBS} ; do
+				dosym ${lib} "/usr/$(get_libdir)/$(sed -e 's/-mt//' <<< ${lib})" || die
+			done
+		fi
+	fi
+
+	# Create a subdirectory with completely unversioned symlinks
+	# and store the names in the profiles-file for eselect
+	dodir /usr/$(get_libdir)/boost-${MAJOR_PV} || die
+
+	_add_line "libs=\"" default
+	for f in $(ls -1 ${LIBRARY_TARGETS} | grep -v debug) ; do
+		dosym ../${f} /usr/$(get_libdir)/boost-${MAJOR_PV}/${f/-${MAJOR_PV}} || die
+		_add_line "/usr/$(get_libdir)/${f}" default
+	done
+	_add_line "\"" default
+
+	if use debug ; then
+		_add_line "libs=\"" debug
+		dodir /usr/$(get_libdir)/boost-${MAJOR_PV}-debug || die
+		for f in $(ls -1 ${LIBRARY_TARGETS} | grep debug) ; do
+			dosym ../${f} /usr/$(get_libdir)/boost-${MAJOR_PV}-debug/${f/-${MAJOR_PV}-debug} || die
+			_add_line "/usr/$(get_libdir)/${f}" debug
+		done
+		_add_line "\"" debug
+
+		_add_line "includes=\"/usr/include/boost-${MAJOR_PV}/boost\"" debug
+		_add_line "suffix=\"-debug\"" debug
+	fi
+
+	_add_line "includes=\"/usr/include/boost-${MAJOR_PV}/boost\"" default
+
+	if use tools; then
+		cd "${S}/dist/bin" || die
+		# Append version postfix to binaries for slotting
+		_add_line "bins=\""
+		for b in * ; do
+			newbin "${b}" "${b}-${MAJOR_PV}" || die
+			_add_line "/usr/bin/${b}-${MAJOR_PV}"
+		done
+		_add_line "\""
+
+		cd "${S}/dist" || die
+		insinto /usr/share || die
+		doins -r share/boostbook || die
+		# Append version postfix for slotting
+		mv "${D}/usr/share/boostbook" "${D}/usr/share/boostbook-${MAJOR_PV}" || die
+		_add_line "dirs=\"/usr/share/boostbook-${MAJOR_PV}\""
+	fi
+
+	cd "${S}/status" || die
+	if [ -f regress.log ] ; then
+		docinto status || die
+		dohtml *.html ../boost.png || die
+		dodoc regress.log || die
+	fi
+
+	use python && python_need_rebuild
+
+	# boost's build system truely sucks for not having a destdir.  Because for
+	# this reason we are forced to build with a prefix that includes the
+	# DESTROOT, dynamic libraries on Darwin end messed up, referencing the
+	# DESTROOT instread of the actual EPREFIX.  There is no way out of here
+	# but to do it the dirty way of manually setting the right install_names.
+	[[ -z ${ED+set} ]] && local ED=${D%/}${EPREFIX}/
+	if [[ ${CHOST} == *-darwin* ]] ; then
+		einfo "Working around completely broken build-system(tm)"
+		for d in "${ED}"usr/lib/*.dylib ; do
+			if [[ -f ${d} ]] ; then
+				# fix the "soname"
+				ebegin "  correcting install_name of ${d#${ED}}"
+				install_name_tool -id "/${d#${D}}" "${d}"
+				eend $?
+				# fix references to other libs
+				refs=$(otool -XL "${d}" | \
+					sed -e '1d' -e 's/^\t//' | \
+					grep "^libboost_" | \
+					cut -f1 -d' ')
+				for r in ${refs} ; do
+					ebegin "    correcting reference to ${r}"
+					install_name_tool -change \
+						"${r}" \
+						"${EPREFIX}/usr/lib/${r}" \
+						"${d}"
+					eend $?
+				done
+			fi
+		done
+	fi
+}
+
+src_test() {
+	export BOOST_ROOT=${S}
+
+	cd "${S}/tools/regression/build" || die
+	einfo "Using the following command to build test helpers: "
+	einfo "${BJAM} -q -d+2 gentoorelease ${OPTIONS} process_jam_log compiler_status"
+
+	${BJAM} -q -d+2 \
+		gentoorelease \
+		${OPTIONS} \
+		process_jam_log compiler_status \
+		|| die "building regression test helpers failed"
+
+	cd "${S}/status" || die
+
+	# Some of the test-checks seem to rely on regexps
+	export LC_ALL="C"
+
+	# The following is largely taken from tools/regression/run_tests.sh,
+	# but adapted to our needs.
+
+	# Run the tests & write them into a file for postprocessing
+	einfo "Using the following command to test: "
+	einfo "${BJAM} ${OPTIONS} --dump-tests"
+
+	${BJAM} \
+		${OPTIONS} \
+		--dump-tests 2>&1 | tee regress.log || die
+
+	# Postprocessing
+	cat regress.log | "${S}/tools/regression/build/bin/gcc-$(gcc-version)/gentoorelease/pch-off/process_jam_log" --v2
+	if test $? != 0 ; then
+		die "Postprocessing the build log failed"
+	fi
+
+	cat > "${S}/status/comment.html" <<- __EOF__
+		<p>Tests are run on a <a href="http://www.gentoo.org">Gentoo</a> system.</p>
+__EOF__
+
+	# Generate the build log html summary page
+	"${S}/tools/regression/build/bin/gcc-$(gcc-version)/gentoorelease/pch-off/compiler_status" --v2 \
+		--comment "${S}/status/comment.html" "${S}" \
+		cs-$(uname).html cs-$(uname)-links.html
+	if test $? != 0 ; then
+		die "Generating the build log html summary page failed"
+	fi
+
+	# And do some cosmetic fixes :)
+	sed -i -e 's|http://www.boost.org/boost.png|boost.png|' *.html || die
+}
+
+pkg_postinst() {
+	if use eselect ; then
+		eselect boost update || ewarn "eselect boost update failed."
+	fi
+
+	if [ ! -h "${ROOT}/etc/eselect/boost/active" ] ; then
+		elog "No active boost version found. Calling eselect to select one..."
+		eselect boost update || ewarn "eselect boost update failed."
+	fi
+}

diff --git a/dev-libs/boost/files/1.35-remove-hardlink-creation.patch b/dev-libs/boost/files/1.35-remove-hardlink-creation.patch
new file mode 100644
index 0000000..4b1c143
--- /dev/null
+++ b/dev-libs/boost/files/1.35-remove-hardlink-creation.patch
@@ -0,0 +1,21 @@
+--- Jamroot.orig	2009-04-03 19:23:02.876426258 +0200
++++ Jamroot	2009-04-03 19:37:05.899697787 +0200
+@@ -444,14 +444,10 @@
+         }
+         return $(result) ;
+     }    
+-            
+-    generate stage-unversioned : stage-proper : 
+-      <generating-rule>@make-unversioned-links ;
+-    explicit stage-unversioned ;
+-    
+-    generate install-unversioned : install-proper : 
+-      <generating-rule>@make-unversioned-links ;
+-    explicit install-unversioned ;
++
++
++    alias stage-unversioned ;
++    alias install-unversioned ;
+ }
+ else
+ {

diff --git a/dev-libs/boost/files/CVS/Entries b/dev-libs/boost/files/CVS/Entries
new file mode 100644
index 0000000..99aca3e
--- /dev/null
+++ b/dev-libs/boost/files/CVS/Entries
@@ -0,0 +1,19 @@
+/1.35-remove-hardlink-creation.patch/1.1/Tue Apr  7 09:43:13 2009//
+/boost-1.37.0-darwin-long-double.patch/1.1/Thu May 28 17:42:50 2009//
+/boost-1.41.0-fix-CRC-on-x64-during-gzip-decompression.patch/1.1/Thu Dec 17 13:21:09 2009//
+/boost-1.41.0-iostreams-missing-include-guard.patch/1.1/Tue Dec  8 14:48:52 2009//
+/boost-1.41.0-mpi_process_group-missing-include.patch/1.1/Wed Dec  2 14:32:19 2009//
+/boost-1.41.0-parameter-needs-python.patch/1.1/Wed Dec  2 14:32:19 2009//
+/boost-1.41.0-spirit-fixed-include-guard-conflict.patch/1.1/Mon Dec 21 10:13:41 2009//
+/boost-1.42.0-gcc45-python.patch/1.1/Sat Aug 14 07:43:30 2010//
+/boost-1.42.0-parameter-needs-python.patch/1.1/Wed Mar  3 13:02:00 2010//
+/boost-1.42.0-template_arity-gcc45.patch/1.1/Sun May 30 06:51:42 2010//
+/boost-1.45.0-lambda_bind.patch/1.1/Fri Jan 21 11:54:27 2011//
+/buildid-fix.patch/1.1/Tue Apr  7 09:43:13 2009//
+/random-Jamfile/1.1/Mon Dec 18 23:17:00 2006//
+/random-Jamfile-1.45.0/1.1/Mon Jan 10 17:40:58 2011//
+/remove-toolset-1.41.0.patch/1.1/Wed Dec  2 14:32:19 2009//
+/remove-toolset-1.42.0.patch/1.1/Wed Mar  3 13:02:00 2010//
+/remove-toolset-1.45.0.patch/1.1/Thu Jan  6 14:11:22 2011//
+/remove_toolset_from_targetname.patch/1.1/Tue Dec 16 16:37:28 2008//
+D

diff --git a/dev-libs/boost/files/CVS/Repository b/dev-libs/boost/files/CVS/Repository
new file mode 100644
index 0000000..21d0cd9
--- /dev/null
+++ b/dev-libs/boost/files/CVS/Repository
@@ -0,0 +1 @@
+gentoo-x86/dev-libs/boost/files

diff --git a/dev-libs/boost/files/CVS/Root b/dev-libs/boost/files/CVS/Root
new file mode 100644
index 0000000..94453ca
--- /dev/null
+++ b/dev-libs/boost/files/CVS/Root
@@ -0,0 +1 @@
+:ext:hwoarang@cvs.gentoo.org:/var/cvsroot

diff --git a/dev-libs/boost/files/boost-1.42.0-gcc45-python.patch b/dev-libs/boost/files/boost-1.42.0-gcc45-python.patch
new file mode 100644
index 0000000..b415289
--- /dev/null
+++ b/dev-libs/boost/files/boost-1.42.0-gcc45-python.patch
@@ -0,0 +1,15 @@
+https://bugs.gentoo.org/317997
+https://svn.boost.org/trac/boost/ticket/4223
+https://svn.boost.org/trac/boost/changeset/62198
+
+--- a/boost/python/exception_translator.hpp
++++ b/boost/python/exception_translator.hpp
+@@ -18,7 +18,7 @@ template <class ExceptionType, class Translate>
+ void register_exception_translator(Translate translate, boost::type<ExceptionType>* = 0)
+ {
+     detail::register_exception_handler(
+-        bind<bool>(detail::translate_exception<ExceptionType,Translate>(), _1, _2, translate)
++        boost::bind<bool>(detail::translate_exception<ExceptionType,Translate>(), _1, _2, translate)
+         );
+ }
+ 

diff --git a/dev-libs/boost/files/boost-1.42.0-parameter-needs-python.patch b/dev-libs/boost/files/boost-1.42.0-parameter-needs-python.patch
new file mode 100644
index 0000000..2002ba3
--- /dev/null
+++ b/dev-libs/boost/files/boost-1.42.0-parameter-needs-python.patch
@@ -0,0 +1,106 @@
+--- boost/parameter/aux_/maybe.hpp	2008-03-22 21:45:55.000000000 +0000
++++ boost/parameter/aux_/maybe.hpp.new	2009-10-22 03:55:24.000000000 +0000
+@@ -2,20 +2,41 @@
+ // subject to the Boost Software License, Version 1.0. (See accompanying
+ // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+ 
+-#ifndef BOOST_PARAMETER_MAYBE_060211_HPP
+-# define BOOST_PARAMETER_MAYBE_060211_HPP
++//
++// 2009.10.21 TDS remove depenency on boost::python::detail::referent_storage
++//
++#ifndef BOOST_PARAMETER_MAYBE_091021_HPP
++# define BOOST_PARAMETER_MAYBE_091021_HPP
+ 
+ # include <boost/mpl/if.hpp>
+ # include <boost/mpl/identity.hpp>
+ # include <boost/type_traits/is_reference.hpp>
+ # include <boost/type_traits/add_reference.hpp>
+ # include <boost/optional.hpp>
+-# include <boost/python/detail/referent_storage.hpp>
++# include <boost/aligned_storage.hpp>
+ # include <boost/type_traits/remove_cv.hpp>
+ # include <boost/type_traits/add_const.hpp>
+ 
+ namespace boost { namespace parameter { namespace aux {
+ 
++template <class T> struct referent_size;
++
++template <class T>
++struct referent_size<T&>
++{
++  BOOST_STATIC_CONSTANT(std::size_t, value = sizeof(T));
++};
++
++// A metafunction returning a POD type which can store U, where T ==
++// U&. If T is not a reference type, returns a POD which can store T.
++template <class T>
++struct referent_storage
++{
++  typedef typename boost::aligned_storage<
++    referent_size<T>::value
++    >::type type;
++};
++
+ struct maybe_base {};
+ 
+ template <class T>
+@@ -33,8 +54,8 @@
+         BOOST_DEDUCED_TYPENAME remove_reference<reference>::type
+     >::type non_cv_value;
+         
+-    explicit maybe(T value)
+-      : value(value)
++    explicit maybe(T value_)
++      : value(value_)
+       , constructed(false)
+     {}
+ 
+@@ -48,28 +69,28 @@
+             this->destroy();
+     }
+ 
+-    reference construct(reference value) const
++    reference construct(reference value_) const
+     {
+-        return value;
++        return value_;
+     }
+ 
+     template <class U>
+-    reference construct2(U const& value) const
++    reference construct2(U const& value_) const
+     {
+-        new (m_storage.bytes) non_cv_value(value);
++        new (m_storage.address()) non_cv_value(value_);
+         constructed = true;
+-        return *(non_cv_value*)m_storage.bytes;
++        return *(non_cv_value*)m_storage.address();
+     }
+ 
+     template <class U>
+-    reference construct(U const& value) const
++    reference construct(U const& value_) const
+     {
+-        return this->construct2(value);
++        return this->construct2(value_);
+     }
+ 
+     void destroy()
+     {
+-        ((non_cv_value*)m_storage.bytes)->~non_cv_value();
++        ((non_cv_value*)m_storage.address())->~non_cv_value();
+     }
+ 
+     typedef reference(maybe<T>::*safe_bool)() const;
+@@ -87,7 +108,9 @@
+ private:
+     boost::optional<T> value;
+     mutable bool constructed;
+-    mutable typename boost::python::detail::referent_storage<
++
++
++    mutable typename referent_storage<
+         reference
+     >::type m_storage;
+ };

diff --git a/dev-libs/boost/files/boost-1.42.0-template_arity-gcc45.patch b/dev-libs/boost/files/boost-1.42.0-template_arity-gcc45.patch
new file mode 100644
index 0000000..4a49879
--- /dev/null
+++ b/dev-libs/boost/files/boost-1.42.0-template_arity-gcc45.patch
@@ -0,0 +1,28 @@
+MPL is broken with GCC 4.5.
+
+https://bugs.gentoo.org/317969
+https://svn.boost.org/trac/boost/ticket/4061
+https://svn.boost.org/trac/boost/changeset/61467
+
+--- a/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp
++++ b/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp
+@@ -83,7 +81,7 @@ template< typename F, int N >
+ struct template_arity_impl
+ {
+     BOOST_STATIC_CONSTANT(int, value =
+-          sizeof(arity_helper(type_wrapper<F>(), arity_tag<N>())) - 1
++          sizeof(::boost::mpl::aux::arity_helper(type_wrapper<F>(), arity_tag<N>())) - 1
+         );
+ };
+ 
+--- a/boost/mpl/aux_/template_arity.hpp
++++ b/boost/mpl/aux_/template_arity.hpp
+@@ -98,7 +98,7 @@ template< typename F, BOOST_MPL_AUX_NTTP_DECL(int, N) >
+ struct template_arity_impl
+ {
+     BOOST_STATIC_CONSTANT(int, value = 
+-          sizeof(arity_helper(type_wrapper<F>(),arity_tag<N>())) - 1
++          sizeof(::boost::mpl::aux::arity_helper(type_wrapper<F>(),arity_tag<N>())) - 1
+         );
+ };
+ 

diff --git a/dev-libs/boost/files/boost-1.45.0-lambda_bind.patch b/dev-libs/boost/files/boost-1.45.0-lambda_bind.patch
new file mode 100644
index 0000000..0b800e9
--- /dev/null
+++ b/dev-libs/boost/files/boost-1.45.0-lambda_bind.patch
@@ -0,0 +1,42 @@
+Index: trunk/boost/lambda/detail/function_adaptors.hpp
+===================================================================
+--- a/trunk/boost/lambda/detail/function_adaptors.hpp
++++ b/trunk/boost/lambda/detail/function_adaptors.hpp
+@@ -17,4 +17,7 @@
+ #include "boost/type_traits/same_traits.hpp"
+ #include "boost/type_traits/remove_reference.hpp"
++#include "boost/type_traits/remove_cv.hpp"
++#include "boost/type_traits/add_const.hpp"
++#include "boost/type_traits/add_volatile.hpp"
+ #include "boost/utility/result_of.hpp"
+ 
+@@ -238,12 +241,14 @@
+   template<class Args> class sig { 
+     typedef typename boost::tuples::element<1, Args>::type argument_type;
+-
+-    typedef typename detail::IF<boost::is_const<argument_type>::value,
++    typedef typename boost::remove_reference<
++      argument_type
++    >::type unref_type;
++
++    typedef typename detail::IF<boost::is_const<unref_type>::value,
+       typename boost::add_const<T>::type,
+       T
+     >::RET properly_consted_return_type;
+ 
+-    typedef typename detail::IF<
+-        boost::is_volatile<properly_consted_return_type>::value,
++    typedef typename detail::IF<boost::is_volatile<unref_type>::value,
+       typename boost::add_volatile<properly_consted_return_type>::type,
+       properly_consted_return_type
+@@ -252,6 +257,8 @@
+ 
+   public:
+-    typedef typename 
+-      boost::add_reference<properly_cvd_return_type>::type type;
++    typedef typename detail::IF<boost::is_reference<argument_type>::value,
++      typename boost::add_reference<properly_cvd_return_type>::type,
++      typename boost::remove_cv<T>::type
++    >::RET type;
+   };
+

diff --git a/dev-libs/boost/files/buildid-fix.patch b/dev-libs/boost/files/buildid-fix.patch
new file mode 100644
index 0000000..2786f7c
--- /dev/null
+++ b/dev-libs/boost/files/buildid-fix.patch
@@ -0,0 +1,23 @@
+--- Jamroot.orig	2009-02-10 17:36:25.000000000 +0100
++++ Jamroot	2009-02-10 17:37:09.000000000 +0100
+@@ -442,15 +442,15 @@
+             local noversion-file ;
+             if $(nt)
+             {
+-                noversion-file = [ MATCH "(.*)-[0-9_]+([.]lib)" : $(name) ] ;
++                noversion-file = [ MATCH "(.*)-[0-9_]+(.*[.]lib)" : $(name) ] ;
+             }
+             else
+             {
+                 noversion-file = 
+-                  [ MATCH "(.*)-[0-9_]+([.]so)[.0-9]*" : $(name) ] 
+-                  [ MATCH "(.*)-[0-9_]+([.]dylib)" : $(name) ] 
+-                  [ MATCH "(.*)-[0-9_]+([.]a)" : $(name) ] 
+-                  [ MATCH "(.*)-[0-9_]+([.]dll[.]a)" : $(name) ] ;
++                  [ MATCH "(.*)-[0-9_]+(.*[.]so)[.0-9]*" : $(name) ] 
++                  [ MATCH "(.*)-[0-9_]+(.*[.]dylib)" : $(name) ] 
++                  [ MATCH "(.*)-[0-9_]+(.*[.]a)" : $(name) ] 
++                  [ MATCH "(.*)-[0-9_]+(.*[.]dll[.]a)" : $(name) ] ;
+             }
+                         
+             local new-name = 

diff --git a/dev-libs/boost/files/random-Jamfile b/dev-libs/boost/files/random-Jamfile
new file mode 100644
index 0000000..5cb6f6b
--- /dev/null
+++ b/dev-libs/boost/files/random-Jamfile
@@ -0,0 +1,15 @@
+# Copyright (c) 2006 Tiziano Mueller
+#
+# Use, modification and distribution of the file is subject to the
+# Boost Software License, Version 1.0.
+# (See at http://www.boost.org/LICENSE_1_0.txt)
+
+
+project boost/random
+	: source-location ../ ;
+
+SOURCES = random_device ;
+
+lib boost_random
+	: $(SOURCES).cpp 
+	: <link>shared:<define>BOOST_RANDOM_DYN_LINK=1 ;

diff --git a/dev-libs/boost/files/random-Jamfile-1.45.0 b/dev-libs/boost/files/random-Jamfile-1.45.0
new file mode 100644
index 0000000..81fb136
--- /dev/null
+++ b/dev-libs/boost/files/random-Jamfile-1.45.0
@@ -0,0 +1,15 @@
+# Copyright (c) 2006 Tiziano Mueller
+#
+# Use, modification and distribution of the file is subject to the
+# Boost Software License, Version 1.0.
+# (See at http://www.boost.org/LICENSE_1_0.txt)
+
+
+project boost/random
+	: source-location ../src ;
+
+SOURCES = random_device ;
+
+lib boost_random
+	: $(SOURCES).cpp 
+	: <link>shared:<define>BOOST_RANDOM_DYN_LINK=1 ;

diff --git a/dev-libs/boost/files/remove-toolset-1.45.0.patch b/dev-libs/boost/files/remove-toolset-1.45.0.patch
new file mode 100644
index 0000000..c80191c
--- /dev/null
+++ b/dev-libs/boost/files/remove-toolset-1.45.0.patch
@@ -0,0 +1,11 @@
+--- Jamroot	2010-11-17 11:51:56.000000000 +0200
++++ Jamroot.gentoo	2011-01-06 15:07:17.893270002 +0200
+@@ -377,7 +377,7 @@
+         if $(layout) = versioned
+         {
+             result = [ common.format-name
+-                <base> <toolset> <threading> <runtime> -$(BOOST_VERSION_TAG)
++                <base> <threading> <runtime> -$(BOOST_VERSION_TAG)
+                 -$(BUILD_ID)
+                 : $(name) : $(type) : $(property-set) ] ;
+         }        

diff --git a/dev-libs/boost/files/remove_toolset_from_targetname.patch b/dev-libs/boost/files/remove_toolset_from_targetname.patch
new file mode 100644
index 0000000..1a0cb1c
--- /dev/null
+++ b/dev-libs/boost/files/remove_toolset_from_targetname.patch
@@ -0,0 +1,11 @@
+--- boost_1_36_0/Jamroot.orig	2008-11-14 16:36:10.000000000 +0100
++++ boost_1_36_0/Jamroot	2008-11-14 16:36:54.000000000 +0100
+@@ -311,7 +311,7 @@
+         if $(layout) = versioned
+         {
+             local result = [ common.format-name
+-                <base> <toolset> <threading> <runtime> -$(BOOST_VERSION_TAG)
++                <base> <threading> <runtime> -$(BOOST_VERSION_TAG)
+                 -$(BUILD_ID)
+                 : $(name) : $(type) : $(property-set) ] ;
+             

diff --git a/dev-util/boost-build/Manifest b/dev-util/boost-build/Manifest
new file mode 100644
index 0000000..1b5c4e3
--- /dev/null
+++ b/dev-util/boost-build/Manifest
@@ -0,0 +1,6 @@
+AUX 1.35.0-fix_broken_icu_build.patch 1752 RMD160 0e7ee05c17d76e29abff915e84181361e4095b89 SHA1 273de1fa957091bf3c0d041f54aec9797810f3cf SHA256 71d858236c47b835947d996d3caf0a1de96ace267140d52dd09594db3a96729d
+AUX boost-1.41-fix-mpich2-detection.patch 1378 RMD160 fd81c6a03dd8bf2d6afdaf3fa4957ee0ff1f6e10 SHA1 bbe5ba6fb554ab89e5fa4649f8a44ad7cd1dfa80 SHA256 8e1adadb1345ff045930bbd1c6d9d6e4b06462de2939021bf9e3a3fe1c9d6100
+AUX boost-1.42-fix-mpich2-detection.patch 1378 RMD160 fd81c6a03dd8bf2d6afdaf3fa4957ee0ff1f6e10 SHA1 bbe5ba6fb554ab89e5fa4649f8a44ad7cd1dfa80 SHA256 8e1adadb1345ff045930bbd1c6d9d6e4b06462de2939021bf9e3a3fe1c9d6100
+AUX boost-build-1.42-env-whitespace.patch 683 RMD160 a96ff55a09a889c5fba0c898cc7d4c2a6d2ef1a5 SHA1 9fd231fc699813df1d3ba78ae95f5f322166ade7 SHA256 52714f45a54cad8c126d5fca8bd5eacc4d746b29df24aaa9d2c55e3694a6f4aa
+DIST boost_1_46_1.tar.bz2 42001335 RMD160 bb43b39f7c4b683b80bafa3042b95e65a242d9c3 SHA1 3ca6e173ec805e5126868d8a03618e587aa26aef SHA256 e1dfbf42b16e5015c46b98e9899c423ca4d04469cbeee05e43ea19236416d883
+EBUILD boost-build-1.46.1.ebuild 3309 RMD160 70f308ca0f6322d6cdd2f95746be7ce0abc610f9 SHA1 511990fc07e64b1941227747c43feedf68d53712 SHA256 889fc96586966fd52db2bfa1cfcf296dda766bf0fc996f0a643f69da07874c06

diff --git a/dev-util/boost-build/boost-build-1.46.1.ebuild b/dev-util/boost-build/boost-build-1.46.1.ebuild
new file mode 100644
index 0000000..6c9c2a4
--- /dev/null
+++ b/dev-util/boost-build/boost-build-1.46.1.ebuild
@@ -0,0 +1,111 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/boost-build/boost-build-1.45.0.ebuild,v 1.1 2011/01/06 14:00:10 dev-zero Exp $
+
+EAPI="2"
+
+inherit eutils flag-o-matic toolchain-funcs versionator
+
+MY_PV=$(replace_all_version_separators _)
+MAJOR_PV="$(replace_all_version_separators _ $(get_version_component_range 1-2))"
+
+DESCRIPTION="A system for large project software construction, which is simple to use and powerful."
+HOMEPAGE="http://www.boost.org/doc/tools/build/index.html"
+SRC_URI="mirror://sourceforge/boost/boost_${MY_PV}.tar.bz2"
+LICENSE="Boost-1.0"
+SLOT="$(get_version_component_range 1-2)"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+IUSE="examples python"
+
+DEPEND="!<dev-libs/boost-1.34.0
+	!<=dev-util/boost-build-1.35.0-r1
+	python? ( dev-lang/python )"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/boost_${MY_PV}/tools/build/v2"
+
+src_unpack() {
+	tar xjpf "${DISTDIR}/${A}" boost_${MY_PV}/tools/build/v2 || die "unpacking tar failed"
+}
+
+src_prepare() {
+	# TODO:
+	#	epatch "${FILESDIR}/boost-1.42-fix-mpich2-detection.patch"
+
+	cd "${S}/engine"
+	epatch "${FILESDIR}/${PN}-1.42-env-whitespace.patch" # 293652
+
+	# Remove stripping option
+	cd "${S}/engine/src"
+	sed -i -e 's|-s\b||' \
+		build.jam || die "sed failed"
+
+	# Force regeneration
+	rm jambase.c
+
+	# This patch allows us to fully control optimization
+	# and stripping flags when bjam is used as build-system
+	# We simply extend the optimization and debug-symbols feature
+	# with empty dummies called 'none'
+	cd "${S}"
+	sed -i \
+		-e 's/\(off speed space\)/\1 none/' \
+		-e 's/\(debug-symbols      : on off\)/\1 none/' \
+		tools/builtin.jam || die "sed failed"
+}
+
+src_compile() {
+	cd engine/src
+	local toolset
+
+	if [[ ${CHOST} == *-darwin* ]] ; then
+		toolset=darwin
+	else
+		# Using boost's generic toolset here, which respects CC and CFLAGS
+		toolset=cc
+	fi
+
+	append-flags -fno-strict-aliasing
+
+	# For slotting
+	sed -i \
+		-e "s|/usr/share/boost-build|/usr/share/boost-build-${MAJOR_PV}|" \
+		Jambase || die "sed failed"
+
+	# The build.jam file for building bjam using a bootstrapped jam0 ignores
+	# the LDFLAGS env var (bug #209794). We have now two options:
+	# a) change the cc-target definition in build.jam to include separate compile
+	#    and link targets to make it use the LDFLAGS var, or
+	# b) a simple dirty workaround by injecting the LDFLAGS in the LIBS env var
+	#    (which should not be set by us).
+	if [[ -z "${LDFLAGS}" ]] ; then
+		CC=$(tc-getCC) ./build.sh ${toolset} $(use_with python) \
+			|| die "building bjam failed"
+	else
+		LDFLAGS=$(echo ${LDFLAGS}) # 293652
+		LIBS=${LDFLAGS} CC=$(tc-getCC) ./build.sh ${toolset} \
+			$(use_with python) || die "building bjam failed"
+	fi
+}
+
+src_install() {
+	newbin engine/src/bin.*/bjam bjam-${MAJOR_PV}
+
+	cd "${S}"
+	insinto /usr/share/boost-build-${MAJOR_PV}
+	doins -r boost-build.jam bootstrap.jam build-system.jam site-config.jam user-config.jam \
+		build kernel options tools util || die
+
+	dodoc changes.txt hacking.txt release_procedure.txt \
+		notes/build_dir_option.txt notes/relative_source_paths.txt
+
+	if use examples ; then
+		insinto /usr/share/doc/${PF}
+		doins -r example
+	fi
+}
+
+src_test() {
+	cd engine/test
+	./test.sh || die "tests failed"
+}

diff --git a/dev-util/boost-build/files/1.35.0-fix_broken_icu_build.patch b/dev-util/boost-build/files/1.35.0-fix_broken_icu_build.patch
new file mode 100644
index 0000000..b461105
--- /dev/null
+++ b/dev-util/boost-build/files/1.35.0-fix_broken_icu_build.patch
@@ -0,0 +1,33 @@
+--- trunk/tools/build/v2/build/targets.jam (revision 45072)
++++ trunk/tools/build/v2/build/targets.jam (revision 45245)
+@@ -1170,5 +1170,5 @@
+             ECHO [ targets.indent ] "Building target '$(fn)'" ;
+             targets.increase-indent ;
+-            ECHO [ targets.indent ] "Build request: " [ $(property-set).raw ] ;
++            ECHO [ targets.indent ] "Build request: " $(property-set) [ $(property-set).raw ] ;
+             local cf = [ build-system.command-line-free-features ] ;
+             ECHO [ targets.indent ] "Command line free features: " [ $(cf).raw ] ;
+@@ -1275,5 +1275,14 @@
+                 # case we don't want any diagnostic. In the former case, we need
+                 # diagnostics. FIXME
+-                self.generated.$(property-set) = $(rproperties) ;
++                
++                # If this target fails to build, add <build>no to properties
++                # to cause any parent target to fail to build.  Except that it
++                # - does not work now, since we check for <build>no only in
++                #   common properties, but not in properties that came from
++                #   dependencies
++                # - it's not clear if that's a good idea anyway.  The alias
++                #   target, for example, should not fail to build if a dependency
++                #   fails.
++                self.generated.$(property-set) = [ property-set.create <build>no ] ;
+             }
+         }
+@@ -1283,4 +1292,7 @@
+             {
+                 ECHO [ targets.indent ] "Already built" ;
++                local ur = $(self.generated.$(property-set)) ;
++                ur = $(ur[0]) ;
++                ECHO [ targets.indent ] "  Usage requirements " [ $(ur).raw ] ;
+             }
+         }

diff --git a/dev-util/boost-build/files/CVS/Entries b/dev-util/boost-build/files/CVS/Entries
new file mode 100644
index 0000000..8edebe8
--- /dev/null
+++ b/dev-util/boost-build/files/CVS/Entries
@@ -0,0 +1,5 @@
+/1.35.0-fix_broken_icu_build.patch/1.1/Thu Jun  5 20:04:08 2008//
+/boost-1.41-fix-mpich2-detection.patch/1.1/Wed Dec  2 15:25:01 2009//
+/boost-1.42-fix-mpich2-detection.patch/1.1/Wed Mar  3 12:32:09 2010//
+/boost-build-1.42-env-whitespace.patch/1.1/Sat Aug 14 06:35:54 2010//
+D

diff --git a/dev-util/boost-build/files/CVS/Repository b/dev-util/boost-build/files/CVS/Repository
new file mode 100644
index 0000000..28efdd8
--- /dev/null
+++ b/dev-util/boost-build/files/CVS/Repository
@@ -0,0 +1 @@
+gentoo-x86/dev-util/boost-build/files

diff --git a/dev-util/boost-build/files/CVS/Root b/dev-util/boost-build/files/CVS/Root
new file mode 100644
index 0000000..94453ca
--- /dev/null
+++ b/dev-util/boost-build/files/CVS/Root
@@ -0,0 +1 @@
+:ext:hwoarang@cvs.gentoo.org:/var/cvsroot

diff --git a/dev-util/boost-build/files/boost-1.41-fix-mpich2-detection.patch b/dev-util/boost-build/files/boost-1.41-fix-mpich2-detection.patch
new file mode 100644
index 0000000..d3bd646
--- /dev/null
+++ b/dev-util/boost-build/files/boost-1.41-fix-mpich2-detection.patch
@@ -0,0 +1,35 @@
+Index: tools/build/v2/tools/mpi.jam
+===================================================================
+--- tools/build/v2/tools/mpi.jam        (revision 57744)
++++ tools/build/v2/tools/mpi.jam        (working copy)
+@@ -156,14 +156,27 @@
+         # into a feature.
+         local match = [ MATCH "^(-.)(.*)" : $(cmdline) ] ;
+         local matched ;
+-        if $(match) && $(match[2]) {
++        if $(match) && $(match[2]) {
+            local prefix = $(match[1]) ;
+            if $(feature_kinds$(prefix)) {
+                local name = $(feature_kinds$(prefix)) ;
+                local add = [ add_feature $(prefix) $(name) $(cmdline) ] ;
+
+                if $(add) {
+-                  result += $(add[1]) ;
++
++                  if $(add[1]) = <find-shared-library>pthread
++                  {
++                      # Uhm. It's not really nice that this MPI implementation
++                      # uses -lpthread as opposed to -pthread. We do want to
++                      # set <threading>multi, instead of -lpthread.
++                      result += "<threading>multi" ;
++                      MPI_EXTRA_REQUIREMENTS += "<threading>multi" ;
++                  }
++                  else
++                  {
++                      result += $(add[1]) ;
++                  }
++
+                   cmdline = $(add[2]) ;
+                   matched = yes ;
+                }
+

diff --git a/dev-util/boost-build/files/boost-1.42-fix-mpich2-detection.patch b/dev-util/boost-build/files/boost-1.42-fix-mpich2-detection.patch
new file mode 100644
index 0000000..d3bd646
--- /dev/null
+++ b/dev-util/boost-build/files/boost-1.42-fix-mpich2-detection.patch
@@ -0,0 +1,35 @@
+Index: tools/build/v2/tools/mpi.jam
+===================================================================
+--- tools/build/v2/tools/mpi.jam        (revision 57744)
++++ tools/build/v2/tools/mpi.jam        (working copy)
+@@ -156,14 +156,27 @@
+         # into a feature.
+         local match = [ MATCH "^(-.)(.*)" : $(cmdline) ] ;
+         local matched ;
+-        if $(match) && $(match[2]) {
++        if $(match) && $(match[2]) {
+            local prefix = $(match[1]) ;
+            if $(feature_kinds$(prefix)) {
+                local name = $(feature_kinds$(prefix)) ;
+                local add = [ add_feature $(prefix) $(name) $(cmdline) ] ;
+
+                if $(add) {
+-                  result += $(add[1]) ;
++
++                  if $(add[1]) = <find-shared-library>pthread
++                  {
++                      # Uhm. It's not really nice that this MPI implementation
++                      # uses -lpthread as opposed to -pthread. We do want to
++                      # set <threading>multi, instead of -lpthread.
++                      result += "<threading>multi" ;
++                      MPI_EXTRA_REQUIREMENTS += "<threading>multi" ;
++                  }
++                  else
++                  {
++                      result += $(add[1]) ;
++                  }
++
+                   cmdline = $(add[2]) ;
+                   matched = yes ;
+                }
+

diff --git a/dev-util/boost-build/files/boost-build-1.42-env-whitespace.patch b/dev-util/boost-build/files/boost-build-1.42-env-whitespace.patch
new file mode 100644
index 0000000..681de7a
--- /dev/null
+++ b/dev-util/boost-build/files/boost-build-1.42-env-whitespace.patch
@@ -0,0 +1,25 @@
+diff --git a/tools/jam/src/build.jam b/tools/jam/src/build.jam
+index e30e854..7b397a3 100644
+--- a/tools/jam/src/build.jam
++++ b/tools/jam/src/build.jam
+@@ -2,6 +2,20 @@
+ #~ Distributed under the Boost Software License, Version 1.0.
+ #~ (See accompanying file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt)
+ 
++# Clean env vars of any "extra" empty values.
++for local v in ARGV CC CFLAGS
++{
++	local values ;
++	for local x in $($(v))
++	{
++		if $(x) != ""
++		{
++			values += $(x) ;
++		}
++	}
++	$(v) = $(values) ;
++}
++
+ # Platform related specifics.
+ if $(NT) { rule .path { return "$(<:J=\\)" ; } ./ = "/" ; }
+ else if $(OS2) { rule .path { return "$(<:J=\\)" ; } ./ = "/" ; }

diff --git a/profiles/package.mask b/profiles/package.mask
index 10cc721..6f4c141 100644
--- a/profiles/package.mask
+++ b/profiles/package.mask
@@ -1,4 +1,4 @@
-# Markos Chandras <hwoarang@gentoo.org> (06 Jan 2011)
-# Totally unusable ebuilds. Progress is tracked on bug #320039
-~dev-libs/boost-1.45.0
-~dev-util/boost-build-1.45.0
+# Markos Chandras <hwoarang@gentoo.org> (14 Mar 2011)
+# Totally unusable ebuilds. Progress is tracked on bug #356479
+~dev-libs/boost-1.46.1
+~dev-util/boost-build-1.46.1



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [gentoo-commits] dev/hwoarang:master commit in: dev-util/boost-build/files/, dev-util/boost-build/, dev-libs/boost/files/, ...
@ 2011-03-22  9:51 Markos Chandras
  0 siblings, 0 replies; 3+ messages in thread
From: Markos Chandras @ 2011-03-22  9:51 UTC (permalink / raw
  To: gentoo-commits

commit:     63cee0c727990a64e65bf241cdb5c5bdb01e0855
Author:     Markos Chandras <hwoarang <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 22 09:50:48 2011 +0000
Commit:     Markos Chandras <hwoarang <AT> gentoo <DOT> org>
CommitDate: Tue Mar 22 09:50:48 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=dev/hwoarang.git;a=commit;h=63cee0c7

Remove boost. Moved to tree

---
 dev-libs/boost/Manifest                            |   15 -
 dev-libs/boost/boost-1.46.1.ebuild                 |  490 --------------------
 .../files/1.35-remove-hardlink-creation.patch      |   21 -
 dev-libs/boost/files/CVS/Entries                   |   19 -
 dev-libs/boost/files/CVS/Repository                |    1 -
 dev-libs/boost/files/CVS/Root                      |    1 -
 .../boost/files/boost-1.42.0-gcc45-python.patch    |   15 -
 .../boost-1.42.0-parameter-needs-python.patch      |  106 -----
 .../files/boost-1.42.0-template_arity-gcc45.patch  |   28 --
 .../boost/files/boost-1.45.0-lambda_bind.patch     |   42 --
 dev-libs/boost/files/buildid-fix.patch             |   23 -
 .../boost/files/point_release_naming_fix.patch     |   14 -
 dev-libs/boost/files/random-Jamfile                |   15 -
 dev-libs/boost/files/random-Jamfile-1.45.0         |   15 -
 dev-libs/boost/files/random-Jamfile-1.46.1         |   15 -
 dev-libs/boost/files/remove-toolset-1.45.0.patch   |   11 -
 dev-libs/boost/files/remove-toolset-1.46.1.patch   |   11 -
 .../files/remove_toolset_from_targetname.patch     |   11 -
 dev-util/boost-build/Manifest                      |    6 -
 dev-util/boost-build/boost-build-1.46.1.ebuild     |  111 -----
 .../files/1.35.0-fix_broken_icu_build.patch        |   33 --
 dev-util/boost-build/files/CVS/Entries             |    5 -
 dev-util/boost-build/files/CVS/Repository          |    1 -
 dev-util/boost-build/files/CVS/Root                |    1 -
 .../files/boost-1.41-fix-mpich2-detection.patch    |   35 --
 .../files/boost-1.42-fix-mpich2-detection.patch    |   35 --
 .../files/boost-build-1.42-env-whitespace.patch    |   25 -
 27 files changed, 0 insertions(+), 1105 deletions(-)

diff --git a/dev-libs/boost/Manifest b/dev-libs/boost/Manifest
deleted file mode 100644
index 09fa934..0000000
--- a/dev-libs/boost/Manifest
+++ /dev/null
@@ -1,15 +0,0 @@
-AUX 1.35-remove-hardlink-creation.patch 547 RMD160 0c0bae87977869efcd2e25144b910025ab3e6924 SHA1 c3833411ab8e7c84efddc5cfb4ab99abcba1eed5 SHA256 9b0515f343f0c8f7f0ce51e2c6f243edae0f3d5ce5df5b9f77a46b00041a134e
-AUX boost-1.42.0-gcc45-python.patch 628 RMD160 261b0e98f133fd745e29998bd0f0165f0a007ab3 SHA1 80146b1018e96b0958d930e2a8c828310ffec68a SHA256 5ab528cfc9beb940d6cfa94ff1b39b0e29c6adc3c1d1906f31cfabaf94232761
-AUX boost-1.42.0-parameter-needs-python.patch 3037 RMD160 901d7bdda6c9f604d5487b09d247592e8558fcfa SHA1 ee3bf830495506e6d250b2073efbf42de60f9d03 SHA256 0d0e47ef2582da43c40ccf8b5b58435a2d42e2236d29ea7883e1b1ecd1aaa439
-AUX boost-1.42.0-template_arity-gcc45.patch 970 RMD160 0edcdbcaf0165e4e285b041f6406b1f71e798753 SHA1 f0cccc3ba7c2496f092cbc623473d21585bdd304 SHA256 e289a56bed08914704fad58bc4779ce9f327b4acac8ebd6a93bc6dd09f9a6e98
-AUX boost-1.45.0-lambda_bind.patch 1607 RMD160 ea61aaac83cfebfcb10c0e20de72022d4d4c1b27 SHA1 39856bef27d2a55f1ae2e0d7a7005264a8613289 SHA256 0ff6a7bf481d5311ec57be1eeaafdd0c0e9e0c09b896700d40295f67bf77be0b
-AUX buildid-fix.patch 1045 RMD160 ce9dbea25e21ed1ac177b16982ef1850957474f2 SHA1 af1069055e6f8d8fa143fb2ddeccb2fc36ddce9a SHA256 42a2aa4c0f4d8579a501d6133f55852acbd1d7b497598983c50bdebaa17df17f
-AUX point_release_naming_fix.patch 379 RMD160 5b6aa6b70d761cf4a847063843c03cb2683e844a SHA1 663c41d641e4908f1e4b565a2eaa3f4a6b330c54 SHA256 9369cf6effe61948c3ec6536172c97474b37a84311171a23189189b6c03b86d8
-AUX random-Jamfile 355 RMD160 478b592e9d33d371b07e5364e63512c8208263bf SHA1 8ca047df78758f62a6c131bd27441173e9079fa6 SHA256 7dc71ab8b862ccd5ea9c21c42557adfe0c711ea7fbe7faa47328a37aa84bc096
-AUX random-Jamfile-1.45.0 358 RMD160 dd8a847d5104923006795c9a19fa9154e49a8894 SHA1 a3d8cc42b95a09a451c2a1c429e019288f3b76aa SHA256 412c26f915db9d2664305d596406f6a75132d8cfe1827b42f17dc083dc632f00
-AUX random-Jamfile-1.46.1 358 RMD160 dd8a847d5104923006795c9a19fa9154e49a8894 SHA1 a3d8cc42b95a09a451c2a1c429e019288f3b76aa SHA256 412c26f915db9d2664305d596406f6a75132d8cfe1827b42f17dc083dc632f00
-AUX remove-toolset-1.45.0.patch 465 RMD160 18b160e97e183392a635ebc60f840d10c30a0b1b SHA1 e476d9b06e7e16499ee7659f5178a52564d6831a SHA256 c1cc35cd5e25160e481912dcdd1e45a86d518bb0ac009ad50bd3811b097226b7
-AUX remove-toolset-1.46.1.patch 465 RMD160 18b160e97e183392a635ebc60f840d10c30a0b1b SHA1 e476d9b06e7e16499ee7659f5178a52564d6831a SHA256 c1cc35cd5e25160e481912dcdd1e45a86d518bb0ac009ad50bd3811b097226b7
-AUX remove_toolset_from_targetname.patch 490 RMD160 e050992fd79005af73410a2ea4037a82177ddf33 SHA1 80d96cca8cb0acb752c428ffcada3ef2964642b1 SHA256 5c5c6fea3c1e20e290d15a68f91b6c084cc5b34daae338e3aa0879a3fd5b9fb5
-DIST boost_1_46_1.tar.bz2 42001335 RMD160 bb43b39f7c4b683b80bafa3042b95e65a242d9c3 SHA1 3ca6e173ec805e5126868d8a03618e587aa26aef SHA256 e1dfbf42b16e5015c46b98e9899c423ca4d04469cbeee05e43ea19236416d883
-EBUILD boost-1.46.1.ebuild 16071 RMD160 f2934591443f9c47ff74fdfee87177aa2f694897 SHA1 10144ca07bd5b516530e8d1e6b8819b366fb5721 SHA256 dbd8c028c10a252f6f9172edb5771f2349a9e266df1b2eec5f2be18bbd51da33

diff --git a/dev-libs/boost/boost-1.46.1.ebuild b/dev-libs/boost/boost-1.46.1.ebuild
deleted file mode 100644
index 93a922e..0000000
--- a/dev-libs/boost/boost-1.46.1.ebuild
+++ /dev/null
@@ -1,490 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/boost/boost-1.45.0.ebuild,v 1.5 2011/01/21 12:04:30 hwoarang Exp $
-
-EAPI="2"
-
-inherit python flag-o-matic multilib toolchain-funcs versionator check-reqs
-
-MY_P=${PN}_$(replace_all_version_separators _)
-
-DESCRIPTION="Boost Libraries for C++"
-HOMEPAGE="http://www.boost.org/"
-SRC_URI="mirror://sourceforge/boost/${MY_P}.tar.bz2"
-LICENSE="Boost-1.0"
-SLOT="$(get_version_component_range 1-2)"
-IUSE="debug doc +eselect icu mpi python static-libs test tools"
-
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
-
-RDEPEND="icu? ( >=dev-libs/icu-3.3 )
-	mpi? ( || ( sys-cluster/openmpi[cxx] sys-cluster/mpich2[cxx,threads] ) )
-	sys-libs/zlib
-	python? ( virtual/python )
-	!!<=dev-libs/boost-1.35.0-r2
-	>=app-admin/eselect-boost-0.3"
-DEPEND="${RDEPEND}
-	dev-util/boost-build:${SLOT}"
-
-S=${WORKDIR}/${MY_P}
-
-MAJOR_PV=$(replace_all_version_separators _ ${SLOT})
-BJAM="bjam-${MAJOR_PV}"
-
-# Usage:
-# _add_line <line-to-add> <profile>
-# ... to add to specific profile
-# or
-# _add_line <line-to-add>
-# ... to add to all profiles for which the use flag set
-
-_add_line() {
-	if [ -z "$2" ] ; then
-		echo "${1}" >> "${D}/usr/share/boost-eselect/profiles/${SLOT}/default"
-		use debug && echo "${1}" >> "${D}/usr/share/boost-eselect/profiles/${SLOT}/debug"
-	else
-		echo "${1}" >> "${D}/usr/share/boost-eselect/profiles/${SLOT}/${2}"
-	fi
-}
-
-pkg_setup() {
-	# It doesn't compile with USE="python mpi" and python-3 (bug 295705)
-	if use python && use mpi ; then
-		if [[ "$(python_get_version --major)" != "2" ]]; then
-			eerror "The Boost.MPI python bindings do not support any other python version"
-			eerror "than 2.x. Please either use eselect to select a python 2.x version or"
-			eerror "disable the python and/or mpi use flag for =${CATEGORY}/${PF}."
-			die "unsupported python version"
-		fi
-	fi
-
-	if use test ; then
-		CHECKREQS_DISK_BUILD="15360"
-		check_reqs
-
-		ewarn "The tests may take several hours on a recent machine"
-		ewarn "but they will not fail (unless something weird happens ;-)"
-		ewarn "This is because the tests depend on the used compiler/-version"
-		ewarn "and the platform and upstream says that this is normal."
-		ewarn "If you are interested in the results, please take a look at the"
-		ewarn "generated results page:"
-		ewarn "  ${ROOT}usr/share/doc/${PF}/status/cs-$(uname).html"
-		ebeep 5
-
-	fi
-
-	if use debug ; then
-		ewarn "The debug USE-flag means that a second set of the boost libraries"
-		ewarn "will be built containing debug-symbols. You'll be able to select them"
-		ewarn "using the boost-eselect module. But even though the optimization flags"
-		ewarn "you might have set are not stripped, there will be a performance"
-		ewarn "penalty and linking other packages against the debug version"
-		ewarn "of boost is _not_ recommended."
-	fi
-}
-
-src_prepare() {
-	epatch "${FILESDIR}/remove-toolset-${PV}.patch"
-
-	# This enables building the boost.random library with /dev/urandom support
-	if [[ -e /dev/urandom ]] ; then
-		mkdir -p libs/random/build || die
-		cp "${FILESDIR}/random-Jamfile-${PV}" libs/random/build/Jamfile.v2 || die
-	fi
-
-	# Ensure that the include dir and the libraries always have X_Y in their name if the boost version is X.Y.Z.
-	# By default the build system changes this to X_Y_Z if Z > 0, which breaks eselect-boost and some ebuilds.
-	epatch "${FILESDIR}/point_release_naming_fix.patch"
-}
-
-src_configure() {
-	einfo "Writing new user-config.jam"
-
-	local compiler compilerVersion compilerExecutable mpi
-	if [[ ${CHOST} == *-darwin* ]] ; then
-		compiler=darwin
-		compilerVersion=$(gcc-fullversion)
-		compilerExecutable=$(tc-getCXX)
-		# we need to add the prefix, and in two cases this exceeds, so prepare
-		# for the largest possible space allocation
-		append-ldflags -Wl,-headerpad_max_install_names
-	else
-		compiler=gcc
-		compilerVersion=$(gcc-version)
-		compilerExecutable=$(tc-getCXX)
-	fi
-
-	# Using -fno-strict-aliasing to prevent possible creation of invalid code.
-	append-flags -fno-strict-aliasing
-
-	# bug 298489
-	if use ppc || use ppc64 ; then
-		[[ $(gcc-version) > 4.3 ]] && append-flags -mno-altivec
-	fi;
-
-	use mpi && mpi="using mpi ;"
-
-	if use python ; then
-		pystring="using python : $(python_get_version) : /usr :	$(python_get_includedir) : $(python_get_libdir) ;"
-	fi
-
-	cat > "${S}/user-config.jam" << __EOF__
-
-variant gentoorelease : release : <optimization>none <debug-symbols>none ;
-variant gentoodebug : debug : <optimization>none ;
-
-using ${compiler} : ${compilerVersion} : ${compilerExecutable} : <cxxflags>"${CXXFLAGS}" <linkflags>"${LDFLAGS}" ;
-
-${pystring}
-
-${mpi}
-
-__EOF__
-
-	# Maintainer information:
-	# The debug-symbols=none and optimization=none
-	# are not official upstream flags but a Gentoo
-	# specific patch to make sure that all our
-	# CXXFLAGS/LDFLAGS are being respected.
-	# Using optimization=off would for example add
-	# "-O0" and override "-O2" set by the user.
-	# Please take a look at the boost-build ebuild
-	# for more infomration.
-
-	use icu && OPTIONS="-sICU_PATH=/usr"
-	use mpi || OPTIONS="${OPTIONS} --without-mpi"
-	use python || OPTIONS="${OPTIONS} --without-python"
-
-	# https://svn.boost.org/trac/boost/attachment/ticket/2597/add-disable-long-double.patch
-	if use sparc || use mips || use hppa || use arm || use x86-fbsd || use sh; then
-		OPTIONS="${OPTIONS} --disable-long-double"
-	fi
-
-	OPTIONS="${OPTIONS} pch=off --user-config=\"${S}/user-config.jam\" --boost-build=/usr/share/boost-build-${MAJOR_PV} --prefix=\"${D}/usr\" --layout=versioned"
-
-	if use static-libs ; then
-		LINK_OPTS="link=shared,static"
-		LIBRARY_TARGETS="*.a *$(get_libname)"
-	else
-		LINK_OPTS="link=shared"
-		#there is no dynamicly linked version of libboost_test_exec_monitor
-		LIBRARY_TARGETS="libboost_test_exec_monitor*.a *$(get_libname)"
-	fi
-}
-
-src_compile() {
-	jobs=$( echo " ${MAKEOPTS} " | \
-		sed -e 's/ --jobs[= ]/ -j /g' \
-			-e 's/ -j \([1-9][0-9]*\)/ -j\1/g' \
-			-e 's/ -j\>/ -j1/g' | \
-			( while read -d ' ' j ; do if [[ "${j#-j}" = "$j" ]]; then continue; fi; jobs="${j#-j}"; done; echo ${jobs} ) )
-	if [[ "${jobs}" != "" ]]; then NUMJOBS="-j"${jobs}; fi;
-
-	export BOOST_ROOT="${S}"
-
-	einfo "Using the following command to build: "
-	einfo "${BJAM} ${NUMJOBS} -q -d+2 gentoorelease ${OPTIONS} threading=single,multi ${LINK_OPTS} runtime-link=shared"
-
-	${BJAM} ${NUMJOBS} -q -d+2 \
-		gentoorelease \
-		${OPTIONS} \
-		threading=single,multi ${LINK_OPTS} runtime-link=shared \
-		|| die "building boost failed"
-
-	# ... and do the whole thing one more time to get the debug libs
-	if use debug ; then
-		einfo "Using the following command to build: "
-		einfo "${BJAM} ${NUMJOBS} -q -d+2 gentoodebug ${OPTIONS} threading=single,multi ${LINK_OPTS} runtime-link=shared --buildid=debug"
-
-		${BJAM} ${NUMJOBS} -q -d+2 \
-			gentoodebug \
-			${OPTIONS} \
-			threading=single,multi ${LINK_OPTS} runtime-link=shared \
-			--buildid=debug \
-			|| die "building boost failed"
-	fi
-
-	if use tools; then
-		cd "${S}/tools/"
-		einfo "Using the following command to build the tools: "
-		einfo "${BJAM} ${NUMJOBS} -q -d+2 gentoorelease ${OPTIONS}"
-
-		${BJAM} ${NUMJOBS} -q -d+2\
-			gentoorelease \
-			${OPTIONS} \
-			|| die "building tools failed"
-	fi
-
-}
-
-src_install () {
-	export BOOST_ROOT="${S}"
-
-	einfo "Using the following command to install: "
-	einfo "${BJAM} -q -d+2 gentoorelease ${OPTIONS} threading=single,multi ${LINK_OPTS} runtime-link=shared --includedir=\"${D}/usr/include\" --libdir=\"${D}/usr/$(get_libdir)\" install"
-
-	${BJAM} -q -d+2 \
-		gentoorelease \
-		${OPTIONS} \
-		threading=single,multi ${LINK_OPTS} runtime-link=shared \
-		--includedir="${D}/usr/include" \
-		--libdir="${D}/usr/$(get_libdir)" \
-		install || die "install failed for options '${OPTIONS}'"
-
-	if use debug ; then
-		einfo "Using the following command to install: "
-		einfo "${BJAM} -q -d+2 gentoodebug ${OPTIONS} threading=single,multi ${LINK_OPTS} runtime-link=shared --includedir=\"${D}/usr/include\" --libdir=\"${D}/usr/$(get_libdir)\" --buildid=debug"
-
-		${BJAM} -q -d+2 \
-			gentoodebug \
-			${OPTIONS} \
-			threading=single,multi ${LINK_OPTS} runtime-link=shared \
-			--includedir="${D}/usr/include" \
-			--libdir="${D}/usr/$(get_libdir)" \
-			--buildid=debug \
-			install || die "install failed for options '${OPTIONS}'"
-	fi
-
-	use python || rm -rf "${D}/usr/include/boost-${MAJOR_PV}/boost"/python* || die
-
-	dodir /usr/share/boost-eselect/profiles/${SLOT} || die
-	touch "${D}/usr/share/boost-eselect/profiles/${SLOT}/default" || die
-	if use debug ; then
-		 touch "${D}/usr/share/boost-eselect/profiles/${SLOT}/debug" || die
-	fi
-
-	# Move the mpi.so to the right place and make sure it's slotted
-	if use mpi && use python; then
-		mkdir -p "${D}$(python_get_sitedir)/boost_${MAJOR_PV}" || die
-		mv "${D}/usr/$(get_libdir)/mpi.so" "${D}$(python_get_sitedir)/boost_${MAJOR_PV}/" || die
-		touch "${D}$(python_get_sitedir)/boost_${MAJOR_PV}/__init__.py" || die
-		_add_line "python=\"$(python_get_sitedir)/boost_${MAJOR_PV}/mpi.so\""
-	fi
-
-	if use doc ; then
-		find libs/*/* -iname "test" -or -iname "src" | xargs rm -rf
-		dohtml \
-			-A pdf,txt,cpp,hpp \
-			*.{htm,html,png,css} \
-			-r doc || die
-		dohtml \
-			-A pdf,txt \
-			-r tools || die
-		insinto /usr/share/doc/${PF}/html
-		doins -r libs || die
-		doins -r more || die
-
-		# To avoid broken links
-		insinto /usr/share/doc/${PF}/html
-		doins LICENSE_1_0.txt || die
-
-		dosym /usr/include/boost-${MAJOR_PV}/boost /usr/share/doc/${PF}/html/boost || die
-	fi
-
-	cd "${D}/usr/$(get_libdir)" || die
-
-	# Remove (unversioned) symlinks
-	# And check for what we remove to catch bugs
-	# got a better idea how to do it? tell me!
-	for f in $(ls -1 ${LIBRARY_TARGETS} | grep -v "${MAJOR_PV}") ; do
-		if [ ! -h "${f}" ] ; then
-			eerror "Ups, tried to remove '${f}' which is a a real file instead of a symlink"
-			die "slotting/naming of the libs broken!"
-		fi
-		rm "${f}" || die
-	done
-
-	# The threading libs obviously always gets the "-mt" (multithreading) tag
-	# some packages seem to have a problem with it. Creating symlinks...
-
-	if use static-libs ; then
-		THREAD_LIBS="libboost_thread-mt-${MAJOR_PV}.a libboost_thread-mt-${MAJOR_PV}$(get_libname)"
-	else
-		THREAD_LIBS="libboost_thread-mt-${MAJOR_PV}$(get_libname)"
-	fi
-	for lib in ${THREAD_LIBS} ; do
-		dosym ${lib} "/usr/$(get_libdir)/$(sed -e 's/-mt//' <<< ${lib})" || die
-	done
-
-	# The same goes for the mpi libs
-	if use mpi ; then
-		if use static-libs ; then
-			MPI_LIBS="libboost_mpi-mt-${MAJOR_PV}.a libboost_mpi-mt-${MAJOR_PV}$(get_libname)"
-	        else
-			MPI_LIBS="libboost_mpi-mt-${MAJOR_PV}$(get_libname)"
-	        fi
-		for lib in ${MPI_LIBS} ; do
-			dosym ${lib} "/usr/$(get_libdir)/$(sed -e 's/-mt//' <<< ${lib})" || die
-		done
-	fi
-
-	if use debug ; then
-		if use static-libs ; then
-			THREAD_DEBUG_LIBS="libboost_thread-mt-${MAJOR_PV}-debug$(get_libname) libboost_thread-mt-${MAJOR_PV}-debug.a"
-	        else
-			THREAD_DEBUG_LIBS="libboost_thread-mt-${MAJOR_PV}-debug$(get_libname)"
-	        fi
-
-		for lib in ${THREAD_DEBUG_LIBS} ; do
-			dosym ${lib} "/usr/$(get_libdir)/$(sed -e 's/-mt//' <<< ${lib})" || die
-		done
-
-		if use mpi ; then
-			if use static-libs ; then
-				MPI_DEBUG_LIBS="libboost_mpi-mt-${MAJOR_PV}-debug.a libboost_mpi-mt-${MAJOR_PV}-debug$(get_libname)"
-	                else
-				MPI_DEBUG_LIBS="libboost_mpi-mt-${MAJOR_PV}-debug$(get_libname)"
-			fi
-
-			for lib in ${MPI_DEBUG_LIBS} ; do
-				dosym ${lib} "/usr/$(get_libdir)/$(sed -e 's/-mt//' <<< ${lib})" || die
-			done
-		fi
-	fi
-
-	# Create a subdirectory with completely unversioned symlinks
-	# and store the names in the profiles-file for eselect
-	dodir /usr/$(get_libdir)/boost-${MAJOR_PV} || die
-
-	_add_line "libs=\"" default
-	for f in $(ls -1 ${LIBRARY_TARGETS} | grep -v debug) ; do
-		dosym ../${f} /usr/$(get_libdir)/boost-${MAJOR_PV}/${f/-${MAJOR_PV}} || die
-		_add_line "/usr/$(get_libdir)/${f}" default
-	done
-	_add_line "\"" default
-
-	if use debug ; then
-		_add_line "libs=\"" debug
-		dodir /usr/$(get_libdir)/boost-${MAJOR_PV}-debug || die
-		for f in $(ls -1 ${LIBRARY_TARGETS} | grep debug) ; do
-			dosym ../${f} /usr/$(get_libdir)/boost-${MAJOR_PV}-debug/${f/-${MAJOR_PV}-debug} || die
-			_add_line "/usr/$(get_libdir)/${f}" debug
-		done
-		_add_line "\"" debug
-
-		_add_line "includes=\"/usr/include/boost-${MAJOR_PV}/boost\"" debug
-		_add_line "suffix=\"-debug\"" debug
-	fi
-
-	_add_line "includes=\"/usr/include/boost-${MAJOR_PV}/boost\"" default
-
-	if use tools; then
-		cd "${S}/dist/bin" || die
-		# Append version postfix to binaries for slotting
-		_add_line "bins=\""
-		for b in * ; do
-			newbin "${b}" "${b}-${MAJOR_PV}" || die
-			_add_line "/usr/bin/${b}-${MAJOR_PV}"
-		done
-		_add_line "\""
-
-		cd "${S}/dist" || die
-		insinto /usr/share || die
-		doins -r share/boostbook || die
-		# Append version postfix for slotting
-		mv "${D}/usr/share/boostbook" "${D}/usr/share/boostbook-${MAJOR_PV}" || die
-		_add_line "dirs=\"/usr/share/boostbook-${MAJOR_PV}\""
-	fi
-
-	cd "${S}/status" || die
-	if [ -f regress.log ] ; then
-		docinto status || die
-		dohtml *.html ../boost.png || die
-		dodoc regress.log || die
-	fi
-
-	use python && python_need_rebuild
-
-	# boost's build system truely sucks for not having a destdir.  Because for
-	# this reason we are forced to build with a prefix that includes the
-	# DESTROOT, dynamic libraries on Darwin end messed up, referencing the
-	# DESTROOT instread of the actual EPREFIX.  There is no way out of here
-	# but to do it the dirty way of manually setting the right install_names.
-	[[ -z ${ED+set} ]] && local ED=${D%/}${EPREFIX}/
-	if [[ ${CHOST} == *-darwin* ]] ; then
-		einfo "Working around completely broken build-system(tm)"
-		for d in "${ED}"usr/lib/*.dylib ; do
-			if [[ -f ${d} ]] ; then
-				# fix the "soname"
-				ebegin "  correcting install_name of ${d#${ED}}"
-				install_name_tool -id "/${d#${D}}" "${d}"
-				eend $?
-				# fix references to other libs
-				refs=$(otool -XL "${d}" | \
-					sed -e '1d' -e 's/^\t//' | \
-					grep "^libboost_" | \
-					cut -f1 -d' ')
-				for r in ${refs} ; do
-					ebegin "    correcting reference to ${r}"
-					install_name_tool -change \
-						"${r}" \
-						"${EPREFIX}/usr/lib/${r}" \
-						"${d}"
-					eend $?
-				done
-			fi
-		done
-	fi
-}
-
-src_test() {
-	export BOOST_ROOT=${S}
-
-	cd "${S}/tools/regression/build" || die
-	einfo "Using the following command to build test helpers: "
-	einfo "${BJAM} -q -d+2 gentoorelease ${OPTIONS} process_jam_log compiler_status"
-
-	${BJAM} -q -d+2 \
-		gentoorelease \
-		${OPTIONS} \
-		process_jam_log compiler_status \
-		|| die "building regression test helpers failed"
-
-	cd "${S}/status" || die
-
-	# Some of the test-checks seem to rely on regexps
-	export LC_ALL="C"
-
-	# The following is largely taken from tools/regression/run_tests.sh,
-	# but adapted to our needs.
-
-	# Run the tests & write them into a file for postprocessing
-	einfo "Using the following command to test: "
-	einfo "${BJAM} ${OPTIONS} --dump-tests"
-
-	${BJAM} \
-		${OPTIONS} \
-		--dump-tests 2>&1 | tee regress.log || die
-
-	# Postprocessing
-	cat regress.log | "${S}/tools/regression/build/bin/gcc-$(gcc-version)/gentoorelease/pch-off/process_jam_log" --v2
-	if test $? != 0 ; then
-		die "Postprocessing the build log failed"
-	fi
-
-	cat > "${S}/status/comment.html" <<- __EOF__
-		<p>Tests are run on a <a href="http://www.gentoo.org">Gentoo</a> system.</p>
-__EOF__
-
-	# Generate the build log html summary page
-	"${S}/tools/regression/build/bin/gcc-$(gcc-version)/gentoorelease/pch-off/compiler_status" --v2 \
-		--comment "${S}/status/comment.html" "${S}" \
-		cs-$(uname).html cs-$(uname)-links.html
-	if test $? != 0 ; then
-		die "Generating the build log html summary page failed"
-	fi
-
-	# And do some cosmetic fixes :)
-	sed -i -e 's|http://www.boost.org/boost.png|boost.png|' *.html || die
-}
-
-pkg_postinst() {
-	if use eselect ; then
-		eselect boost update || ewarn "eselect boost update failed."
-	fi
-
-	if [ ! -h "${ROOT}/etc/eselect/boost/active" ] ; then
-		elog "No active boost version found. Calling eselect to select one..."
-		eselect boost update || ewarn "eselect boost update failed."
-	fi
-}

diff --git a/dev-libs/boost/files/1.35-remove-hardlink-creation.patch b/dev-libs/boost/files/1.35-remove-hardlink-creation.patch
deleted file mode 100644
index 4b1c143..0000000
--- a/dev-libs/boost/files/1.35-remove-hardlink-creation.patch
+++ /dev/null
@@ -1,21 +0,0 @@
---- Jamroot.orig	2009-04-03 19:23:02.876426258 +0200
-+++ Jamroot	2009-04-03 19:37:05.899697787 +0200
-@@ -444,14 +444,10 @@
-         }
-         return $(result) ;
-     }    
--            
--    generate stage-unversioned : stage-proper : 
--      <generating-rule>@make-unversioned-links ;
--    explicit stage-unversioned ;
--    
--    generate install-unversioned : install-proper : 
--      <generating-rule>@make-unversioned-links ;
--    explicit install-unversioned ;
-+
-+
-+    alias stage-unversioned ;
-+    alias install-unversioned ;
- }
- else
- {

diff --git a/dev-libs/boost/files/CVS/Entries b/dev-libs/boost/files/CVS/Entries
deleted file mode 100644
index 99aca3e..0000000
--- a/dev-libs/boost/files/CVS/Entries
+++ /dev/null
@@ -1,19 +0,0 @@
-/1.35-remove-hardlink-creation.patch/1.1/Tue Apr  7 09:43:13 2009//
-/boost-1.37.0-darwin-long-double.patch/1.1/Thu May 28 17:42:50 2009//
-/boost-1.41.0-fix-CRC-on-x64-during-gzip-decompression.patch/1.1/Thu Dec 17 13:21:09 2009//
-/boost-1.41.0-iostreams-missing-include-guard.patch/1.1/Tue Dec  8 14:48:52 2009//
-/boost-1.41.0-mpi_process_group-missing-include.patch/1.1/Wed Dec  2 14:32:19 2009//
-/boost-1.41.0-parameter-needs-python.patch/1.1/Wed Dec  2 14:32:19 2009//
-/boost-1.41.0-spirit-fixed-include-guard-conflict.patch/1.1/Mon Dec 21 10:13:41 2009//
-/boost-1.42.0-gcc45-python.patch/1.1/Sat Aug 14 07:43:30 2010//
-/boost-1.42.0-parameter-needs-python.patch/1.1/Wed Mar  3 13:02:00 2010//
-/boost-1.42.0-template_arity-gcc45.patch/1.1/Sun May 30 06:51:42 2010//
-/boost-1.45.0-lambda_bind.patch/1.1/Fri Jan 21 11:54:27 2011//
-/buildid-fix.patch/1.1/Tue Apr  7 09:43:13 2009//
-/random-Jamfile/1.1/Mon Dec 18 23:17:00 2006//
-/random-Jamfile-1.45.0/1.1/Mon Jan 10 17:40:58 2011//
-/remove-toolset-1.41.0.patch/1.1/Wed Dec  2 14:32:19 2009//
-/remove-toolset-1.42.0.patch/1.1/Wed Mar  3 13:02:00 2010//
-/remove-toolset-1.45.0.patch/1.1/Thu Jan  6 14:11:22 2011//
-/remove_toolset_from_targetname.patch/1.1/Tue Dec 16 16:37:28 2008//
-D

diff --git a/dev-libs/boost/files/CVS/Repository b/dev-libs/boost/files/CVS/Repository
deleted file mode 100644
index 21d0cd9..0000000
--- a/dev-libs/boost/files/CVS/Repository
+++ /dev/null
@@ -1 +0,0 @@
-gentoo-x86/dev-libs/boost/files

diff --git a/dev-libs/boost/files/CVS/Root b/dev-libs/boost/files/CVS/Root
deleted file mode 100644
index 94453ca..0000000
--- a/dev-libs/boost/files/CVS/Root
+++ /dev/null
@@ -1 +0,0 @@
-:ext:hwoarang@cvs.gentoo.org:/var/cvsroot

diff --git a/dev-libs/boost/files/boost-1.42.0-gcc45-python.patch b/dev-libs/boost/files/boost-1.42.0-gcc45-python.patch
deleted file mode 100644
index b415289..0000000
--- a/dev-libs/boost/files/boost-1.42.0-gcc45-python.patch
+++ /dev/null
@@ -1,15 +0,0 @@
-https://bugs.gentoo.org/317997
-https://svn.boost.org/trac/boost/ticket/4223
-https://svn.boost.org/trac/boost/changeset/62198
-
---- a/boost/python/exception_translator.hpp
-+++ b/boost/python/exception_translator.hpp
-@@ -18,7 +18,7 @@ template <class ExceptionType, class Translate>
- void register_exception_translator(Translate translate, boost::type<ExceptionType>* = 0)
- {
-     detail::register_exception_handler(
--        bind<bool>(detail::translate_exception<ExceptionType,Translate>(), _1, _2, translate)
-+        boost::bind<bool>(detail::translate_exception<ExceptionType,Translate>(), _1, _2, translate)
-         );
- }
- 

diff --git a/dev-libs/boost/files/boost-1.42.0-parameter-needs-python.patch b/dev-libs/boost/files/boost-1.42.0-parameter-needs-python.patch
deleted file mode 100644
index 2002ba3..0000000
--- a/dev-libs/boost/files/boost-1.42.0-parameter-needs-python.patch
+++ /dev/null
@@ -1,106 +0,0 @@
---- boost/parameter/aux_/maybe.hpp	2008-03-22 21:45:55.000000000 +0000
-+++ boost/parameter/aux_/maybe.hpp.new	2009-10-22 03:55:24.000000000 +0000
-@@ -2,20 +2,41 @@
- // subject to the Boost Software License, Version 1.0. (See accompanying
- // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
- 
--#ifndef BOOST_PARAMETER_MAYBE_060211_HPP
--# define BOOST_PARAMETER_MAYBE_060211_HPP
-+//
-+// 2009.10.21 TDS remove depenency on boost::python::detail::referent_storage
-+//
-+#ifndef BOOST_PARAMETER_MAYBE_091021_HPP
-+# define BOOST_PARAMETER_MAYBE_091021_HPP
- 
- # include <boost/mpl/if.hpp>
- # include <boost/mpl/identity.hpp>
- # include <boost/type_traits/is_reference.hpp>
- # include <boost/type_traits/add_reference.hpp>
- # include <boost/optional.hpp>
--# include <boost/python/detail/referent_storage.hpp>
-+# include <boost/aligned_storage.hpp>
- # include <boost/type_traits/remove_cv.hpp>
- # include <boost/type_traits/add_const.hpp>
- 
- namespace boost { namespace parameter { namespace aux {
- 
-+template <class T> struct referent_size;
-+
-+template <class T>
-+struct referent_size<T&>
-+{
-+  BOOST_STATIC_CONSTANT(std::size_t, value = sizeof(T));
-+};
-+
-+// A metafunction returning a POD type which can store U, where T ==
-+// U&. If T is not a reference type, returns a POD which can store T.
-+template <class T>
-+struct referent_storage
-+{
-+  typedef typename boost::aligned_storage<
-+    referent_size<T>::value
-+    >::type type;
-+};
-+
- struct maybe_base {};
- 
- template <class T>
-@@ -33,8 +54,8 @@
-         BOOST_DEDUCED_TYPENAME remove_reference<reference>::type
-     >::type non_cv_value;
-         
--    explicit maybe(T value)
--      : value(value)
-+    explicit maybe(T value_)
-+      : value(value_)
-       , constructed(false)
-     {}
- 
-@@ -48,28 +69,28 @@
-             this->destroy();
-     }
- 
--    reference construct(reference value) const
-+    reference construct(reference value_) const
-     {
--        return value;
-+        return value_;
-     }
- 
-     template <class U>
--    reference construct2(U const& value) const
-+    reference construct2(U const& value_) const
-     {
--        new (m_storage.bytes) non_cv_value(value);
-+        new (m_storage.address()) non_cv_value(value_);
-         constructed = true;
--        return *(non_cv_value*)m_storage.bytes;
-+        return *(non_cv_value*)m_storage.address();
-     }
- 
-     template <class U>
--    reference construct(U const& value) const
-+    reference construct(U const& value_) const
-     {
--        return this->construct2(value);
-+        return this->construct2(value_);
-     }
- 
-     void destroy()
-     {
--        ((non_cv_value*)m_storage.bytes)->~non_cv_value();
-+        ((non_cv_value*)m_storage.address())->~non_cv_value();
-     }
- 
-     typedef reference(maybe<T>::*safe_bool)() const;
-@@ -87,7 +108,9 @@
- private:
-     boost::optional<T> value;
-     mutable bool constructed;
--    mutable typename boost::python::detail::referent_storage<
-+
-+
-+    mutable typename referent_storage<
-         reference
-     >::type m_storage;
- };

diff --git a/dev-libs/boost/files/boost-1.42.0-template_arity-gcc45.patch b/dev-libs/boost/files/boost-1.42.0-template_arity-gcc45.patch
deleted file mode 100644
index 4a49879..0000000
--- a/dev-libs/boost/files/boost-1.42.0-template_arity-gcc45.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-MPL is broken with GCC 4.5.
-
-https://bugs.gentoo.org/317969
-https://svn.boost.org/trac/boost/ticket/4061
-https://svn.boost.org/trac/boost/changeset/61467
-
---- a/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp
-+++ b/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp
-@@ -83,7 +81,7 @@ template< typename F, int N >
- struct template_arity_impl
- {
-     BOOST_STATIC_CONSTANT(int, value =
--          sizeof(arity_helper(type_wrapper<F>(), arity_tag<N>())) - 1
-+          sizeof(::boost::mpl::aux::arity_helper(type_wrapper<F>(), arity_tag<N>())) - 1
-         );
- };
- 
---- a/boost/mpl/aux_/template_arity.hpp
-+++ b/boost/mpl/aux_/template_arity.hpp
-@@ -98,7 +98,7 @@ template< typename F, BOOST_MPL_AUX_NTTP_DECL(int, N) >
- struct template_arity_impl
- {
-     BOOST_STATIC_CONSTANT(int, value = 
--          sizeof(arity_helper(type_wrapper<F>(),arity_tag<N>())) - 1
-+          sizeof(::boost::mpl::aux::arity_helper(type_wrapper<F>(),arity_tag<N>())) - 1
-         );
- };
- 

diff --git a/dev-libs/boost/files/boost-1.45.0-lambda_bind.patch b/dev-libs/boost/files/boost-1.45.0-lambda_bind.patch
deleted file mode 100644
index 0b800e9..0000000
--- a/dev-libs/boost/files/boost-1.45.0-lambda_bind.patch
+++ /dev/null
@@ -1,42 +0,0 @@
-Index: trunk/boost/lambda/detail/function_adaptors.hpp
-===================================================================
---- a/trunk/boost/lambda/detail/function_adaptors.hpp
-+++ b/trunk/boost/lambda/detail/function_adaptors.hpp
-@@ -17,4 +17,7 @@
- #include "boost/type_traits/same_traits.hpp"
- #include "boost/type_traits/remove_reference.hpp"
-+#include "boost/type_traits/remove_cv.hpp"
-+#include "boost/type_traits/add_const.hpp"
-+#include "boost/type_traits/add_volatile.hpp"
- #include "boost/utility/result_of.hpp"
- 
-@@ -238,12 +241,14 @@
-   template<class Args> class sig { 
-     typedef typename boost::tuples::element<1, Args>::type argument_type;
--
--    typedef typename detail::IF<boost::is_const<argument_type>::value,
-+    typedef typename boost::remove_reference<
-+      argument_type
-+    >::type unref_type;
-+
-+    typedef typename detail::IF<boost::is_const<unref_type>::value,
-       typename boost::add_const<T>::type,
-       T
-     >::RET properly_consted_return_type;
- 
--    typedef typename detail::IF<
--        boost::is_volatile<properly_consted_return_type>::value,
-+    typedef typename detail::IF<boost::is_volatile<unref_type>::value,
-       typename boost::add_volatile<properly_consted_return_type>::type,
-       properly_consted_return_type
-@@ -252,6 +257,8 @@
- 
-   public:
--    typedef typename 
--      boost::add_reference<properly_cvd_return_type>::type type;
-+    typedef typename detail::IF<boost::is_reference<argument_type>::value,
-+      typename boost::add_reference<properly_cvd_return_type>::type,
-+      typename boost::remove_cv<T>::type
-+    >::RET type;
-   };
-

diff --git a/dev-libs/boost/files/buildid-fix.patch b/dev-libs/boost/files/buildid-fix.patch
deleted file mode 100644
index 2786f7c..0000000
--- a/dev-libs/boost/files/buildid-fix.patch
+++ /dev/null
@@ -1,23 +0,0 @@
---- Jamroot.orig	2009-02-10 17:36:25.000000000 +0100
-+++ Jamroot	2009-02-10 17:37:09.000000000 +0100
-@@ -442,15 +442,15 @@
-             local noversion-file ;
-             if $(nt)
-             {
--                noversion-file = [ MATCH "(.*)-[0-9_]+([.]lib)" : $(name) ] ;
-+                noversion-file = [ MATCH "(.*)-[0-9_]+(.*[.]lib)" : $(name) ] ;
-             }
-             else
-             {
-                 noversion-file = 
--                  [ MATCH "(.*)-[0-9_]+([.]so)[.0-9]*" : $(name) ] 
--                  [ MATCH "(.*)-[0-9_]+([.]dylib)" : $(name) ] 
--                  [ MATCH "(.*)-[0-9_]+([.]a)" : $(name) ] 
--                  [ MATCH "(.*)-[0-9_]+([.]dll[.]a)" : $(name) ] ;
-+                  [ MATCH "(.*)-[0-9_]+(.*[.]so)[.0-9]*" : $(name) ] 
-+                  [ MATCH "(.*)-[0-9_]+(.*[.]dylib)" : $(name) ] 
-+                  [ MATCH "(.*)-[0-9_]+(.*[.]a)" : $(name) ] 
-+                  [ MATCH "(.*)-[0-9_]+(.*[.]dll[.]a)" : $(name) ] ;
-             }
-                         
-             local new-name = 

diff --git a/dev-libs/boost/files/point_release_naming_fix.patch b/dev-libs/boost/files/point_release_naming_fix.patch
deleted file mode 100644
index 8da5efa..0000000
--- a/dev-libs/boost/files/point_release_naming_fix.patch
+++ /dev/null
@@ -1,14 +0,0 @@
---- Jamroot.orig	2011-03-15 12:49:05.000000000 +0000
-+++ Jamroot	2011-03-15 12:49:20.000000000 +0000
-@@ -150,10 +150,7 @@
- 
- local version-tag = [ MATCH "^([^.]+)[.]([^.]+)[.]([^.]+)" : $(BOOST_VERSION) ]
-     ;
--if $(version-tag[3]) = 0
--{
--    version-tag = $(version-tag[1-2]) ;
--}
-+version-tag = $(version-tag[1-2]) ;
- 
- constant BOOST_VERSION_TAG : $(version-tag:J="_") ;
- 

diff --git a/dev-libs/boost/files/random-Jamfile b/dev-libs/boost/files/random-Jamfile
deleted file mode 100644
index 5cb6f6b..0000000
--- a/dev-libs/boost/files/random-Jamfile
+++ /dev/null
@@ -1,15 +0,0 @@
-# Copyright (c) 2006 Tiziano Mueller
-#
-# Use, modification and distribution of the file is subject to the
-# Boost Software License, Version 1.0.
-# (See at http://www.boost.org/LICENSE_1_0.txt)
-
-
-project boost/random
-	: source-location ../ ;
-
-SOURCES = random_device ;
-
-lib boost_random
-	: $(SOURCES).cpp 
-	: <link>shared:<define>BOOST_RANDOM_DYN_LINK=1 ;

diff --git a/dev-libs/boost/files/random-Jamfile-1.45.0 b/dev-libs/boost/files/random-Jamfile-1.45.0
deleted file mode 100644
index 81fb136..0000000
--- a/dev-libs/boost/files/random-Jamfile-1.45.0
+++ /dev/null
@@ -1,15 +0,0 @@
-# Copyright (c) 2006 Tiziano Mueller
-#
-# Use, modification and distribution of the file is subject to the
-# Boost Software License, Version 1.0.
-# (See at http://www.boost.org/LICENSE_1_0.txt)
-
-
-project boost/random
-	: source-location ../src ;
-
-SOURCES = random_device ;
-
-lib boost_random
-	: $(SOURCES).cpp 
-	: <link>shared:<define>BOOST_RANDOM_DYN_LINK=1 ;

diff --git a/dev-libs/boost/files/random-Jamfile-1.46.1 b/dev-libs/boost/files/random-Jamfile-1.46.1
deleted file mode 100644
index 81fb136..0000000
--- a/dev-libs/boost/files/random-Jamfile-1.46.1
+++ /dev/null
@@ -1,15 +0,0 @@
-# Copyright (c) 2006 Tiziano Mueller
-#
-# Use, modification and distribution of the file is subject to the
-# Boost Software License, Version 1.0.
-# (See at http://www.boost.org/LICENSE_1_0.txt)
-
-
-project boost/random
-	: source-location ../src ;
-
-SOURCES = random_device ;
-
-lib boost_random
-	: $(SOURCES).cpp 
-	: <link>shared:<define>BOOST_RANDOM_DYN_LINK=1 ;

diff --git a/dev-libs/boost/files/remove-toolset-1.45.0.patch b/dev-libs/boost/files/remove-toolset-1.45.0.patch
deleted file mode 100644
index c80191c..0000000
--- a/dev-libs/boost/files/remove-toolset-1.45.0.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- Jamroot	2010-11-17 11:51:56.000000000 +0200
-+++ Jamroot.gentoo	2011-01-06 15:07:17.893270002 +0200
-@@ -377,7 +377,7 @@
-         if $(layout) = versioned
-         {
-             result = [ common.format-name
--                <base> <toolset> <threading> <runtime> -$(BOOST_VERSION_TAG)
-+                <base> <threading> <runtime> -$(BOOST_VERSION_TAG)
-                 -$(BUILD_ID)
-                 : $(name) : $(type) : $(property-set) ] ;
-         }        

diff --git a/dev-libs/boost/files/remove-toolset-1.46.1.patch b/dev-libs/boost/files/remove-toolset-1.46.1.patch
deleted file mode 100644
index c80191c..0000000
--- a/dev-libs/boost/files/remove-toolset-1.46.1.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- Jamroot	2010-11-17 11:51:56.000000000 +0200
-+++ Jamroot.gentoo	2011-01-06 15:07:17.893270002 +0200
-@@ -377,7 +377,7 @@
-         if $(layout) = versioned
-         {
-             result = [ common.format-name
--                <base> <toolset> <threading> <runtime> -$(BOOST_VERSION_TAG)
-+                <base> <threading> <runtime> -$(BOOST_VERSION_TAG)
-                 -$(BUILD_ID)
-                 : $(name) : $(type) : $(property-set) ] ;
-         }        

diff --git a/dev-libs/boost/files/remove_toolset_from_targetname.patch b/dev-libs/boost/files/remove_toolset_from_targetname.patch
deleted file mode 100644
index 1a0cb1c..0000000
--- a/dev-libs/boost/files/remove_toolset_from_targetname.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- boost_1_36_0/Jamroot.orig	2008-11-14 16:36:10.000000000 +0100
-+++ boost_1_36_0/Jamroot	2008-11-14 16:36:54.000000000 +0100
-@@ -311,7 +311,7 @@
-         if $(layout) = versioned
-         {
-             local result = [ common.format-name
--                <base> <toolset> <threading> <runtime> -$(BOOST_VERSION_TAG)
-+                <base> <threading> <runtime> -$(BOOST_VERSION_TAG)
-                 -$(BUILD_ID)
-                 : $(name) : $(type) : $(property-set) ] ;
-             

diff --git a/dev-util/boost-build/Manifest b/dev-util/boost-build/Manifest
deleted file mode 100644
index 1b5c4e3..0000000
--- a/dev-util/boost-build/Manifest
+++ /dev/null
@@ -1,6 +0,0 @@
-AUX 1.35.0-fix_broken_icu_build.patch 1752 RMD160 0e7ee05c17d76e29abff915e84181361e4095b89 SHA1 273de1fa957091bf3c0d041f54aec9797810f3cf SHA256 71d858236c47b835947d996d3caf0a1de96ace267140d52dd09594db3a96729d
-AUX boost-1.41-fix-mpich2-detection.patch 1378 RMD160 fd81c6a03dd8bf2d6afdaf3fa4957ee0ff1f6e10 SHA1 bbe5ba6fb554ab89e5fa4649f8a44ad7cd1dfa80 SHA256 8e1adadb1345ff045930bbd1c6d9d6e4b06462de2939021bf9e3a3fe1c9d6100
-AUX boost-1.42-fix-mpich2-detection.patch 1378 RMD160 fd81c6a03dd8bf2d6afdaf3fa4957ee0ff1f6e10 SHA1 bbe5ba6fb554ab89e5fa4649f8a44ad7cd1dfa80 SHA256 8e1adadb1345ff045930bbd1c6d9d6e4b06462de2939021bf9e3a3fe1c9d6100
-AUX boost-build-1.42-env-whitespace.patch 683 RMD160 a96ff55a09a889c5fba0c898cc7d4c2a6d2ef1a5 SHA1 9fd231fc699813df1d3ba78ae95f5f322166ade7 SHA256 52714f45a54cad8c126d5fca8bd5eacc4d746b29df24aaa9d2c55e3694a6f4aa
-DIST boost_1_46_1.tar.bz2 42001335 RMD160 bb43b39f7c4b683b80bafa3042b95e65a242d9c3 SHA1 3ca6e173ec805e5126868d8a03618e587aa26aef SHA256 e1dfbf42b16e5015c46b98e9899c423ca4d04469cbeee05e43ea19236416d883
-EBUILD boost-build-1.46.1.ebuild 3309 RMD160 70f308ca0f6322d6cdd2f95746be7ce0abc610f9 SHA1 511990fc07e64b1941227747c43feedf68d53712 SHA256 889fc96586966fd52db2bfa1cfcf296dda766bf0fc996f0a643f69da07874c06

diff --git a/dev-util/boost-build/boost-build-1.46.1.ebuild b/dev-util/boost-build/boost-build-1.46.1.ebuild
deleted file mode 100644
index 6c9c2a4..0000000
--- a/dev-util/boost-build/boost-build-1.46.1.ebuild
+++ /dev/null
@@ -1,111 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/boost-build/boost-build-1.45.0.ebuild,v 1.1 2011/01/06 14:00:10 dev-zero Exp $
-
-EAPI="2"
-
-inherit eutils flag-o-matic toolchain-funcs versionator
-
-MY_PV=$(replace_all_version_separators _)
-MAJOR_PV="$(replace_all_version_separators _ $(get_version_component_range 1-2))"
-
-DESCRIPTION="A system for large project software construction, which is simple to use and powerful."
-HOMEPAGE="http://www.boost.org/doc/tools/build/index.html"
-SRC_URI="mirror://sourceforge/boost/boost_${MY_PV}.tar.bz2"
-LICENSE="Boost-1.0"
-SLOT="$(get_version_component_range 1-2)"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
-IUSE="examples python"
-
-DEPEND="!<dev-libs/boost-1.34.0
-	!<=dev-util/boost-build-1.35.0-r1
-	python? ( dev-lang/python )"
-RDEPEND="${DEPEND}"
-
-S="${WORKDIR}/boost_${MY_PV}/tools/build/v2"
-
-src_unpack() {
-	tar xjpf "${DISTDIR}/${A}" boost_${MY_PV}/tools/build/v2 || die "unpacking tar failed"
-}
-
-src_prepare() {
-	# TODO:
-	#	epatch "${FILESDIR}/boost-1.42-fix-mpich2-detection.patch"
-
-	cd "${S}/engine"
-	epatch "${FILESDIR}/${PN}-1.42-env-whitespace.patch" # 293652
-
-	# Remove stripping option
-	cd "${S}/engine/src"
-	sed -i -e 's|-s\b||' \
-		build.jam || die "sed failed"
-
-	# Force regeneration
-	rm jambase.c
-
-	# This patch allows us to fully control optimization
-	# and stripping flags when bjam is used as build-system
-	# We simply extend the optimization and debug-symbols feature
-	# with empty dummies called 'none'
-	cd "${S}"
-	sed -i \
-		-e 's/\(off speed space\)/\1 none/' \
-		-e 's/\(debug-symbols      : on off\)/\1 none/' \
-		tools/builtin.jam || die "sed failed"
-}
-
-src_compile() {
-	cd engine/src
-	local toolset
-
-	if [[ ${CHOST} == *-darwin* ]] ; then
-		toolset=darwin
-	else
-		# Using boost's generic toolset here, which respects CC and CFLAGS
-		toolset=cc
-	fi
-
-	append-flags -fno-strict-aliasing
-
-	# For slotting
-	sed -i \
-		-e "s|/usr/share/boost-build|/usr/share/boost-build-${MAJOR_PV}|" \
-		Jambase || die "sed failed"
-
-	# The build.jam file for building bjam using a bootstrapped jam0 ignores
-	# the LDFLAGS env var (bug #209794). We have now two options:
-	# a) change the cc-target definition in build.jam to include separate compile
-	#    and link targets to make it use the LDFLAGS var, or
-	# b) a simple dirty workaround by injecting the LDFLAGS in the LIBS env var
-	#    (which should not be set by us).
-	if [[ -z "${LDFLAGS}" ]] ; then
-		CC=$(tc-getCC) ./build.sh ${toolset} $(use_with python) \
-			|| die "building bjam failed"
-	else
-		LDFLAGS=$(echo ${LDFLAGS}) # 293652
-		LIBS=${LDFLAGS} CC=$(tc-getCC) ./build.sh ${toolset} \
-			$(use_with python) || die "building bjam failed"
-	fi
-}
-
-src_install() {
-	newbin engine/src/bin.*/bjam bjam-${MAJOR_PV}
-
-	cd "${S}"
-	insinto /usr/share/boost-build-${MAJOR_PV}
-	doins -r boost-build.jam bootstrap.jam build-system.jam site-config.jam user-config.jam \
-		build kernel options tools util || die
-
-	dodoc changes.txt hacking.txt release_procedure.txt \
-		notes/build_dir_option.txt notes/relative_source_paths.txt
-
-	if use examples ; then
-		insinto /usr/share/doc/${PF}
-		doins -r example
-	fi
-}
-
-src_test() {
-	cd engine/test
-	./test.sh || die "tests failed"
-}

diff --git a/dev-util/boost-build/files/1.35.0-fix_broken_icu_build.patch b/dev-util/boost-build/files/1.35.0-fix_broken_icu_build.patch
deleted file mode 100644
index b461105..0000000
--- a/dev-util/boost-build/files/1.35.0-fix_broken_icu_build.patch
+++ /dev/null
@@ -1,33 +0,0 @@
---- trunk/tools/build/v2/build/targets.jam (revision 45072)
-+++ trunk/tools/build/v2/build/targets.jam (revision 45245)
-@@ -1170,5 +1170,5 @@
-             ECHO [ targets.indent ] "Building target '$(fn)'" ;
-             targets.increase-indent ;
--            ECHO [ targets.indent ] "Build request: " [ $(property-set).raw ] ;
-+            ECHO [ targets.indent ] "Build request: " $(property-set) [ $(property-set).raw ] ;
-             local cf = [ build-system.command-line-free-features ] ;
-             ECHO [ targets.indent ] "Command line free features: " [ $(cf).raw ] ;
-@@ -1275,5 +1275,14 @@
-                 # case we don't want any diagnostic. In the former case, we need
-                 # diagnostics. FIXME
--                self.generated.$(property-set) = $(rproperties) ;
-+                
-+                # If this target fails to build, add <build>no to properties
-+                # to cause any parent target to fail to build.  Except that it
-+                # - does not work now, since we check for <build>no only in
-+                #   common properties, but not in properties that came from
-+                #   dependencies
-+                # - it's not clear if that's a good idea anyway.  The alias
-+                #   target, for example, should not fail to build if a dependency
-+                #   fails.
-+                self.generated.$(property-set) = [ property-set.create <build>no ] ;
-             }
-         }
-@@ -1283,4 +1292,7 @@
-             {
-                 ECHO [ targets.indent ] "Already built" ;
-+                local ur = $(self.generated.$(property-set)) ;
-+                ur = $(ur[0]) ;
-+                ECHO [ targets.indent ] "  Usage requirements " [ $(ur).raw ] ;
-             }
-         }

diff --git a/dev-util/boost-build/files/CVS/Entries b/dev-util/boost-build/files/CVS/Entries
deleted file mode 100644
index 8edebe8..0000000
--- a/dev-util/boost-build/files/CVS/Entries
+++ /dev/null
@@ -1,5 +0,0 @@
-/1.35.0-fix_broken_icu_build.patch/1.1/Thu Jun  5 20:04:08 2008//
-/boost-1.41-fix-mpich2-detection.patch/1.1/Wed Dec  2 15:25:01 2009//
-/boost-1.42-fix-mpich2-detection.patch/1.1/Wed Mar  3 12:32:09 2010//
-/boost-build-1.42-env-whitespace.patch/1.1/Sat Aug 14 06:35:54 2010//
-D

diff --git a/dev-util/boost-build/files/CVS/Repository b/dev-util/boost-build/files/CVS/Repository
deleted file mode 100644
index 28efdd8..0000000
--- a/dev-util/boost-build/files/CVS/Repository
+++ /dev/null
@@ -1 +0,0 @@
-gentoo-x86/dev-util/boost-build/files

diff --git a/dev-util/boost-build/files/CVS/Root b/dev-util/boost-build/files/CVS/Root
deleted file mode 100644
index 94453ca..0000000
--- a/dev-util/boost-build/files/CVS/Root
+++ /dev/null
@@ -1 +0,0 @@
-:ext:hwoarang@cvs.gentoo.org:/var/cvsroot

diff --git a/dev-util/boost-build/files/boost-1.41-fix-mpich2-detection.patch b/dev-util/boost-build/files/boost-1.41-fix-mpich2-detection.patch
deleted file mode 100644
index d3bd646..0000000
--- a/dev-util/boost-build/files/boost-1.41-fix-mpich2-detection.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-Index: tools/build/v2/tools/mpi.jam
-===================================================================
---- tools/build/v2/tools/mpi.jam        (revision 57744)
-+++ tools/build/v2/tools/mpi.jam        (working copy)
-@@ -156,14 +156,27 @@
-         # into a feature.
-         local match = [ MATCH "^(-.)(.*)" : $(cmdline) ] ;
-         local matched ;
--        if $(match) && $(match[2]) {
-+        if $(match) && $(match[2]) {
-            local prefix = $(match[1]) ;
-            if $(feature_kinds$(prefix)) {
-                local name = $(feature_kinds$(prefix)) ;
-                local add = [ add_feature $(prefix) $(name) $(cmdline) ] ;
-
-                if $(add) {
--                  result += $(add[1]) ;
-+
-+                  if $(add[1]) = <find-shared-library>pthread
-+                  {
-+                      # Uhm. It's not really nice that this MPI implementation
-+                      # uses -lpthread as opposed to -pthread. We do want to
-+                      # set <threading>multi, instead of -lpthread.
-+                      result += "<threading>multi" ;
-+                      MPI_EXTRA_REQUIREMENTS += "<threading>multi" ;
-+                  }
-+                  else
-+                  {
-+                      result += $(add[1]) ;
-+                  }
-+
-                   cmdline = $(add[2]) ;
-                   matched = yes ;
-                }
-

diff --git a/dev-util/boost-build/files/boost-1.42-fix-mpich2-detection.patch b/dev-util/boost-build/files/boost-1.42-fix-mpich2-detection.patch
deleted file mode 100644
index d3bd646..0000000
--- a/dev-util/boost-build/files/boost-1.42-fix-mpich2-detection.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-Index: tools/build/v2/tools/mpi.jam
-===================================================================
---- tools/build/v2/tools/mpi.jam        (revision 57744)
-+++ tools/build/v2/tools/mpi.jam        (working copy)
-@@ -156,14 +156,27 @@
-         # into a feature.
-         local match = [ MATCH "^(-.)(.*)" : $(cmdline) ] ;
-         local matched ;
--        if $(match) && $(match[2]) {
-+        if $(match) && $(match[2]) {
-            local prefix = $(match[1]) ;
-            if $(feature_kinds$(prefix)) {
-                local name = $(feature_kinds$(prefix)) ;
-                local add = [ add_feature $(prefix) $(name) $(cmdline) ] ;
-
-                if $(add) {
--                  result += $(add[1]) ;
-+
-+                  if $(add[1]) = <find-shared-library>pthread
-+                  {
-+                      # Uhm. It's not really nice that this MPI implementation
-+                      # uses -lpthread as opposed to -pthread. We do want to
-+                      # set <threading>multi, instead of -lpthread.
-+                      result += "<threading>multi" ;
-+                      MPI_EXTRA_REQUIREMENTS += "<threading>multi" ;
-+                  }
-+                  else
-+                  {
-+                      result += $(add[1]) ;
-+                  }
-+
-                   cmdline = $(add[2]) ;
-                   matched = yes ;
-                }
-

diff --git a/dev-util/boost-build/files/boost-build-1.42-env-whitespace.patch b/dev-util/boost-build/files/boost-build-1.42-env-whitespace.patch
deleted file mode 100644
index 681de7a..0000000
--- a/dev-util/boost-build/files/boost-build-1.42-env-whitespace.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-diff --git a/tools/jam/src/build.jam b/tools/jam/src/build.jam
-index e30e854..7b397a3 100644
---- a/tools/jam/src/build.jam
-+++ b/tools/jam/src/build.jam
-@@ -2,6 +2,20 @@
- #~ Distributed under the Boost Software License, Version 1.0.
- #~ (See accompanying file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt)
- 
-+# Clean env vars of any "extra" empty values.
-+for local v in ARGV CC CFLAGS
-+{
-+	local values ;
-+	for local x in $($(v))
-+	{
-+		if $(x) != ""
-+		{
-+			values += $(x) ;
-+		}
-+	}
-+	$(v) = $(values) ;
-+}
-+
- # Platform related specifics.
- if $(NT) { rule .path { return "$(<:J=\\)" ; } ./ = "/" ; }
- else if $(OS2) { rule .path { return "$(<:J=\\)" ; } ./ = "/" ; }



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [gentoo-commits] dev/hwoarang:master commit in: dev-util/boost-build/files/, dev-util/boost-build/, dev-libs/boost/files/, ...
@ 2011-08-01 17:44 Markos Chandras
  0 siblings, 0 replies; 3+ messages in thread
From: Markos Chandras @ 2011-08-01 17:44 UTC (permalink / raw
  To: gentoo-commits

commit:     93b80cd2322a4098f7a5fca59030b8120722f37c
Author:     Markos Chandras <hwoarang <AT> gentoo <DOT> org>
AuthorDate: Mon Aug  1 17:43:49 2011 +0000
Commit:     Markos Chandras <hwoarang <AT> gentoo <DOT> org>
CommitDate: Mon Aug  1 17:43:49 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=dev/hwoarang.git;a=commit;h=93b80cd2

Add boost-1.47.0 files

---
 dev-libs/boost/ChangeLog                           |  884 ++++++++++++++++++++
 dev-libs/boost/Manifest                            |   28 +
 dev-libs/boost/boost-1.47.0.ebuild                 |  486 +++++++++++
 .../files/1.35-remove-hardlink-creation.patch      |   21 +
 .../files/boost-1.37.0-darwin-long-double.patch    |   14 +
 ...-fix-CRC-on-x64-during-gzip-decompression.patch |   24 +
 ...st-1.41.0-iostreams-missing-include-guard.patch |   20 +
 ...-1.41.0-mpi_process_group-missing-include.patch |   12 +
 .../boost-1.41.0-parameter-needs-python.patch      |  106 +++
 ....41.0-spirit-fixed-include-guard-conflict.patch |   13 +
 .../boost/files/boost-1.42.0-gcc45-python.patch    |   15 +
 .../boost-1.42.0-parameter-needs-python.patch      |  106 +++
 .../files/boost-1.42.0-template_arity-gcc45.patch  |   28 +
 .../boost/files/boost-1.45.0-lambda_bind.patch     |   42 +
 dev-libs/boost/files/boost-1.46.1-python32.patch   |   16 +
 dev-libs/boost/files/buildid-fix.patch             |   23 +
 .../boost/files/point_release_naming_fix.patch     |   14 +
 dev-libs/boost/files/random-Jamfile                |   15 +
 dev-libs/boost/files/random-Jamfile-1.45.0         |   15 +
 dev-libs/boost/files/random-Jamfile-1.46.1         |   15 +
 dev-libs/boost/files/random-Jamfile-1.47.0         |   15 +
 dev-libs/boost/files/remove-toolset-1.41.0.patch   |   11 +
 dev-libs/boost/files/remove-toolset-1.42.0.patch   |   11 +
 dev-libs/boost/files/remove-toolset-1.45.0.patch   |   11 +
 dev-libs/boost/files/remove-toolset-1.46.1.patch   |   11 +
 dev-libs/boost/files/remove-toolset-1.47.0.patch   |   11 +
 .../files/remove_toolset_from_targetname.patch     |   11 +
 dev-libs/boost/metadata.xml                        |   26 +
 dev-util/boost-build/ChangeLog                     |  285 +++++++
 dev-util/boost-build/Manifest                      |   27 +
 dev-util/boost-build/boost-build-1.34.1.ebuild     |   80 ++
 dev-util/boost-build/boost-build-1.35.0-r1.ebuild  |   95 +++
 dev-util/boost-build/boost-build-1.35.0-r2.ebuild  |  106 +++
 dev-util/boost-build/boost-build-1.37.0.ebuild     |  105 +++
 dev-util/boost-build/boost-build-1.39.0.ebuild     |  107 +++
 dev-util/boost-build/boost-build-1.40.0.ebuild     |  107 +++
 dev-util/boost-build/boost-build-1.41.0.ebuild     |  108 +++
 dev-util/boost-build/boost-build-1.42.0.ebuild     |  108 +++
 dev-util/boost-build/boost-build-1.45.0.ebuild     |  111 +++
 dev-util/boost-build/boost-build-1.46.1.ebuild     |  111 +++
 dev-util/boost-build/boost-build-1.47.0.ebuild     |  114 +++
 .../files/1.35.0-fix_broken_icu_build.patch        |   33 +
 .../files/boost-1.41-fix-mpich2-detection.patch    |   35 +
 .../files/boost-1.42-fix-mpich2-detection.patch    |   35 +
 .../files/boost-build-1.42-env-whitespace.patch    |   25 +
 dev-util/boost-build/metadata.xml                  |   17 +
 profiles/package.mask                              |    5 +
 47 files changed, 3618 insertions(+), 0 deletions(-)

diff --git a/dev-libs/boost/ChangeLog b/dev-libs/boost/ChangeLog
new file mode 100644
index 0000000..b5536a2
--- /dev/null
+++ b/dev-libs/boost/ChangeLog
@@ -0,0 +1,884 @@
+# ChangeLog for dev-libs/boost
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/boost/ChangeLog,v 1.220 2011/05/15 11:03:33 hwoarang Exp $
+
+  15 May 2011; Markos Chandras <hwoarang@gentoo.org> boost-1.46.1.ebuild,
+  +files/boost-1.46.1-python32.patch:
+  Add patch to build against python 3.2. Bug #367245
+
+  16 Apr 2011; Raúl Porcel <armin76@gentoo.org> boost-1.42.0-r2.ebuild:
+  ia64/s390/sh stable wrt #344677
+
+  05 Apr 2011; Ulrich Mueller <ulm@gentoo.org> boost-1.35.0-r2.ebuild,
+  boost-1.35.0-r5.ebuild, boost-1.37.0-r1.ebuild, boost-1.39.0.ebuild,
+  boost-1.41.0-r3.ebuild, boost-1.42.0.ebuild, boost-1.42.0-r1.ebuild,
+  boost-1.42.0-r2.ebuild, boost-1.45.0.ebuild, boost-1.46.1.ebuild:
+  Depend on dev-lang/python because virtual/python will go away, bug 358849.
+
+  22 Mar 2011; Markos Chandras <hwoarang@gentoo.org> boost-1.46.1.ebuild:
+  Add lambda patch back
+
+*boost-1.46.1 (22 Mar 2011)
+
+  22 Mar 2011; Markos Chandras <hwoarang@gentoo.org>
+  +files/random-Jamfile-1.46.1, +boost-1.46.1.ebuild,
+  +files/remove-toolset-1.46.1.patch, +files/point_release_naming_fix.patch:
+  Version bump. Bug #356479
+
+  13 Mar 2011; Markus Meier <maekke@gentoo.org> boost-1.42.0-r2.ebuild:
+  arm stable, bug #344677
+
+  08 Mar 2011; Tobias Klausmann <klausman@gentoo.org> boost-1.42.0-r2.ebuild:
+  Stable on alpha, bug #344677
+
+  06 Mar 2011; Kacper Kowalik <xarthisius@gentoo.org> boost-1.42.0-r2.ebuild:
+  ppc64 stable wrt #344677
+
+  21 Feb 2011; Michael Weber <xmw@gentoo.org> boost-1.42.0-r2.ebuild:
+  sparc stable, bug 344677
+
+  21 Jan 2011; Markos Chandras <hwoarang@gentoo.org> boost-1.45.0.ebuild:
+  In fact, more than 15GB are needed for test suite to complete successfully
+
+  21 Jan 2011; Markos Chandras <hwoarang@gentoo.org> boost-1.45.0.ebuild,
+  +files/boost-1.45.0-lambda_bind.patch:
+  Apply lambda-bind patch. Bug #351998. Upstream:
+  https://svn.boost.org/trac/boost/ticket/4566. Thanks to Sebastian Luther
+  (few) <SebastianLuther@gmx.de>
+
+  10 Jan 2011; Markos Chandras <hwoarang@gentoo.org>
+  +files/random-Jamfile-1.45.0, boost-1.45.0.ebuild:
+  Sync with boost-1.42.0-r2 ebuild. New random-Jamfile patch.
+
+  10 Jan 2011; Markos Chandras <hwoarang@gentoo.org> boost-1.45.0.ebuild:
+  Tests require more than 5GB free space on /var/tmp/portage
+
+  10 Jan 2011; Markos Chandras <hwoarang@gentoo.org> boost-1.42.0-r2.ebuild:
+  Stable on amd64 wrt bug 344677
+
+  08 Jan 2011; Brent Baude <ranger@gentoo.org> boost-1.42.0-r2.ebuild:
+  Marking boost-1.42.0-r2 ppc for bug 344677
+
+*boost-1.45.0 (06 Jan 2011)
+
+  06 Jan 2011; Markos Chandras <hwoarang@gentoo.org> +boost-1.45.0.ebuild,
+  +files/remove-toolset-1.45.0.patch:
+  Version bump. Thanks to Duncan Exon Smith, Simone Scanzoni and Sebastian
+  Luther for the ebuild. Bug #320039
+
+  01 Jan 2011; Thomas Kahle <tomka@gentoo.org> boost-1.42.0-r2.ebuild:
+  x86 stable per bug 344677
+
+  12 Dec 2010; Markos Chandras <hwoarang@gentoo.org> metadata.xml:
+  add myself on metadata
+
+  09 Dec 2010; Dirkjan Ochtman <djc@gentoo.org> metadata.xml:
+  Remove myself as a maintainer.
+
+  24 Nov 2010; Jeroen Roovers <jer@gentoo.org> boost-1.42.0-r2.ebuild:
+  Stable for HPPA (bug #344677).
+
+  19 Sep 2010; Raúl Porcel <armin76@gentoo.org> boost-1.41.0-r3.ebuild:
+  s390 stable wrt #306335
+
+*boost-1.42.0-r2 (14 Aug 2010)
+
+  14 Aug 2010; Ryan Hill <dirtyepic@gentoo.org> +boost-1.42.0-r2.ebuild,
+  +files/boost-1.42.0-gcc45-python.patch:
+  Revision bump to fix python headers w/ gcc-4.5. Fixes paludis
+  python-bindings (bug #317997 by uzytkownik).
+
+  17 Jun 2010; Justin Bronder <jsbronder@gentoo.org> boost-1.35.0-r5.ebuild,
+  boost-1.37.0-r1.ebuild, boost-1.39.0.ebuild, boost-1.41.0-r3.ebuild,
+  boost-1.42.0.ebuild, boost-1.42.0-r1.ebuild:
+  Cleanup mpi deps. Remove sys-cluster/lam-mpi (#324415). Remove special
+  sys-cluster/openmpi use flag handling (<1.2.9 is no longer in the tree.)
+
+*boost-1.42.0-r1 (30 May 2010)
+
+  30 May 2010; Ryan Hill <dirtyepic@gentoo.org> +boost-1.42.0-r1.ebuild,
+  +files/boost-1.42.0-template_arity-gcc45.patch:
+  Add patch from upstream to fix broken MPL library when built with
+  GCC 4.5. Revision bumped due to this being a runtime error.
+
+  25 Apr 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+  boost-1.35.0-r2.ebuild, boost-1.35.0-r5.ebuild, boost-1.37.0-r1.ebuild,
+  boost-1.39.0.ebuild, boost-1.41.0-r3.ebuild, boost-1.42.0.ebuild:
+  Delete calls to deprecated python_version().
+
+  22 Apr 2010; Samuli Suominen <ssuominen@gentoo.org>
+  -boost-1.36.0-r1.ebuild:
+  Remove boost-1.36.0 for gcc-porting wrt #287638.
+
+  17 Apr 2010; Joseph Jezak <josejx@gentoo.org> boost-1.41.0-r3.ebuild:
+  Marked ppc stable for bug #305195.
+
+  31 Mar 2010; Raúl Porcel <armin76@gentoo.org> boost-1.41.0-r3.ebuild:
+  alpha/arm/ia64/sh/sparc stable wrt #306335
+
+  28 Mar 2010; Raúl Porcel <armin76@gentoo.org> boost-1.41.0-r2.ebuild,
+  boost-1.41.0-r3.ebuild, boost-1.42.0.ebuild:
+  sh also needs --disable-long-double
+
+  27 Mar 2010; Pacho Ramos <pacho@gentoo.org> boost-1.41.0-r3.ebuild:
+  amd64 stable, security bug 305195
+
+  21 Mar 2010; Brent Baude <ranger@gentoo.org> boost-1.41.0-r3.ebuild:
+  Marking boost-1.41.0-r3 ppc64 for bug 306335
+
+  04 Mar 2010; Jeroen Roovers <jer@gentoo.org> boost-1.41.0-r3.ebuild:
+  Stable for HPPA (bug #306333).
+
+*boost-1.42.0 (03 Mar 2010)
+
+  03 Mar 2010; Dirkjan Ochtman <djc@gentoo.org> +boost-1.42.0.ebuild,
+  +files/boost-1.42.0-parameter-needs-python.patch,
+  +files/remove-toolset-1.42.0.patch:
+  Version bump to 1.42.0.
+
+  03 Mar 2010; Dirkjan Ochtman <djc@gentoo.org> boost-1.41.0-r3.ebuild:
+  Fix bug 298489 in boost-1.41.0-r3.
+
+  03 Mar 2010; Christian Faulhammer <fauli@gentoo.org>
+  boost-1.41.0-r3.ebuild:
+  stable x86, security bug 305195
+
+  27 Dec 2009; Raúl Porcel <armin76@gentoo.org> boost-1.35.0-r5.ebuild:
+  alpha/arm/ia64/s390/sh/sparc stable
+
+*boost-1.41.0-r3 (21 Dec 2009)
+
+  21 Dec 2009; Dirkjan Ochtman <djc@gentoo.org> +boost-1.41.0-r3.ebuild,
+  +files/boost-1.41.0-spirit-fixed-include-guard-conflict.patch:
+  Add 1.41.0-r3 for bug 297500.
+
+*boost-1.41.0-r2 (17 Dec 2009)
+
+  17 Dec 2009; Dirkjan Ochtman <djc@gentoo.org> +boost-1.41.0-r2.ebuild,
+  +files/boost-1.41.0-fix-CRC-on-x64-during-gzip-decompression.patch:
+  Fix problems with gzip & iostreams on amd64, patch from upstream
+  (#297163).
+
+  11 Dec 2009; Dirkjan Ochtman <djc@gentoo.org> -boost-1.33.1-r1.ebuild,
+  -files/boost-1.33.1-gcc41_visit_each.patch,
+  -files/boost-alpha-threads.patch, metadata.xml:
+  Remove dev-libs/boost-1.33.1-r1 and related files (#271712).
+
+  11 Dec 2009; Dirkjan Ochtman <djc@gentoo.org> -boost-1.40.0.ebuild,
+  -files/remove-toolset-1.40.0.patch, -boost-1.41.0.ebuild:
+  Remove masked 1.40.0 and old 1.41.0 (superseded by -r1).
+
+  10 Dec 2009; Alexis Ballier <aballier@gentoo.org> boost-1.41.0-r1.ebuild:
+  keyword ~x86-fbsd
+
+  09 Dec 2009; Dirkjan Ochtman <djc@gentoo.org> boost-1.41.0-r1.ebuild:
+  Require threads use flag when depending on mpich2.
+
+*boost-1.41.0-r1 (08 Dec 2009)
+
+  08 Dec 2009; Dirkjan Ochtman <djc@gentoo.org> +boost-1.41.0-r1.ebuild,
+  +files/boost-1.41.0-iostreams-missing-include-guard.patch:
+  Bump 1.41.0 to r1 to fix bug with mapnik, also fix #241684.
+
+*boost-1.41.0 (02 Dec 2009)
+
+  02 Dec 2009; Dirkjan Ochtman <djc@gentoo.org> +boost-1.41.0.ebuild,
+  +files/boost-1.41.0-mpi_process_group-missing-include.patch,
+  +files/boost-1.41.0-parameter-needs-python.patch,
+  +files/remove-toolset-1.41.0.patch, metadata.xml:
+  Version bump to 1.41.0. Add maintainer-by-proxy.
+
+  25 Nov 2009; Jeroen Roovers <jer@gentoo.org> boost-1.36.0-r1.ebuild,
+  boost-1.37.0-r1.ebuild, boost-1.39.0.ebuild, boost-1.40.0.ebuild:
+  Remove ~hppa where the endian patch has not been applied (bug #290243).
+
+  09 Nov 2009; Mark Loeser <halcy0n@gentoo.org> boost-1.35.0-r5.ebuild,
+  boost-1.36.0-r1.ebuild, boost-1.37.0-r1.ebuild, boost-1.39.0.ebuild,
+  boost-1.40.0.ebuild:
+  Add blocker to fix bug #290691, and fix dependency on openmpi for bug
+  #269926
+
+  25 Oct 2009; Markus Meier <maekke@gentoo.org> boost-1.35.0-r5.ebuild:
+  amd64/x86 stable, bug #284686
+
+  24 Oct 2009; nixnut <nixnut@gentoo.org> boost-1.35.0-r5.ebuild:
+  ppc stable #284686
+
+  23 Oct 2009; Jeroen Roovers <jer@gentoo.org> boost-1.35.0-r5.ebuild:
+  Stable for HPPA (bug #288723).
+
+  21 Oct 2009; Dirkjan Ochtman <djc@gentoo.org> boost-1.33.1-r1.ebuild,
+  boost-1.34.1-r2.ebuild, boost-1.35.0-r1.ebuild, boost-1.35.0-r2.ebuild,
+  boost-1.35.0-r3.ebuild, boost-1.35.0-r5.ebuild, boost-1.36.0-r1.ebuild,
+  boost-1.37.0-r1.ebuild, boost-1.39.0.ebuild, boost-1.40.0.ebuild:
+  Add test to IUSE after previous change.
+
+  21 Oct 2009; Dirkjan Ochtman <djc@gentoo.org> boost-1.33.1-r1.ebuild,
+  boost-1.34.1-r2.ebuild, boost-1.35.0-r1.ebuild, boost-1.35.0-r2.ebuild,
+  boost-1.35.0-r3.ebuild, boost-1.35.0-r5.ebuild, boost-1.36.0-r1.ebuild,
+  boost-1.37.0-r1.ebuild, boost-1.39.0.ebuild, boost-1.40.0.ebuild:
+  Use test use flag instead of checking FEATURES, #278753.
+
+  21 Oct 2009; Dirkjan Ochtman <djc@gentoo.org> boost-1.33.1-r1.ebuild,
+  boost-1.34.1-r2.ebuild, boost-1.35.0-r1.ebuild, boost-1.35.0-r2.ebuild,
+  boost-1.35.0-r3.ebuild, boost-1.35.0-r5.ebuild, boost-1.36.0-r1.ebuild,
+  boost-1.37.0-r1.ebuild, boost-1.39.0.ebuild, boost-1.40.0.ebuild:
+  Reset license to Boost-1.0, #215129 (compliant with the Boost site).
+
+  21 Oct 2009; Dirkjan Ochtman <djc@gentoo.org> boost-1.40.0.ebuild:
+  Re-add dropped keywords (1.39 -> 1.40), sorry about that.
+
+*boost-1.40.0 (21 Oct 2009)
+
+  21 Oct 2009; Dirkjan Ochtman <djc@gentoo.org> +boost-1.40.0.ebuild,
+  +files/remove-toolset-1.40.0.patch, metadata.xml:
+  Add pmasked boost-1.40 for some testing (add myself to maintainers).
+
+  07 Aug 2009; Tiziano Müller <dev-zero@gentoo.org> boost-1.35.0-r5.ebuild,
+  boost-1.39.0.ebuild:
+  Readded -Wno-strict-aliasing to fix gcc-4.4 compilation issues since
+  boost-1.40.0 is underway and backporting changes too cumbersome (bug
+  #278109). Fixed boost-build dep for boost-1.35.0-r5 (bug #276107).
+
+  29 Jul 2009; Jeremy Olexa <darkside@gentoo.org> boost-1.33.1-r1.ebuild:
+  Remove keywords from boost-1.33.1-r1.ebuild except ~x86-fbsd because it is
+  vulnerable, bug 271712
+
+*boost-1.39.0 (16 Jul 2009)
+
+  16 Jul 2009; Tiziano Müller <dev-zero@gentoo.org> +boost-1.39.0.ebuild:
+  Version bump (bug #261400, thanks to Markus Peloquin and Duncan Smith).
+
+  02 Jul 2009; Ryan Hill <dirtyepic@gentoo.org> boost-1.35.0-r5.ebuild,
+  boost-1.36.0-r1.ebuild, boost-1.37.0-r1.ebuild:
+  Replace -fno-strict-aliasing workaround with -Wno-strict-aliasing, which
+  does the job and avoids the performance hit. Also apply to 1.35 and 1.36.
+
+  15 Jun 2009; Diego E. Pettenò <flameeyes@gentoo.org>
+  boost-1.37.0-r1.ebuild:
+  When compiling with gcc 4.4, append -fno-strict-aliasing to allow build,
+  see bug #252287. WARNING! This is just a workaround and not a fix, this
+  _will_ cause reduced optimisation of the library. A proper fix _is_
+  needed.
+
+  28 May 2009; Fabian Groffen <grobian@gentoo.org>
+  +files/boost-1.37.0-darwin-long-double.patch, boost-1.37.0-r1.ebuild:
+  Merged in Darwin support (backport from Prefix), required get_libname here
+  and there
+
+  24 May 2009; Tiziano Müller <dev-zero@gentoo.org> boost-1.36.0-r1.ebuild,
+  boost-1.37.0-r1.ebuild:
+  Using hard-blocks for blocking <=dev-libs/boost-1.35.0-r2 (bug #269517,
+  thanks to Łukasz Michalik).
+
+  15 May 2009; Raúl Porcel <armin76@gentoo.org> boost-1.35.0-r2.ebuild:
+  arm/s390/sh stable wrt #245192
+
+  15 May 2009; Tiziano Müller <dev-zero@gentoo.org> boost-1.35.0-r5.ebuild,
+  boost-1.36.0-r1.ebuild, boost-1.37.0-r1.ebuild:
+  Changed openmpi dep again to allow stable versions of openmpi satisfying
+  it (since they have nocxx instead of cxx USE flag, bug #269926).
+
+  13 May 2009; Tiziano Müller <dev-zero@gentoo.org> boost-1.35.0-r5.ebuild,
+  boost-1.36.0-r1.ebuild, boost-1.37.0-r1.ebuild:
+  Changed openmpi dep again to openmpi[cxx]. Changed eselect use flag to
+  +eselect (bug #269517). Changed elog to einfo (bug #269509).
+
+  11 May 2009; Tiziano Müller <dev-zero@gentoo.org>
+  -boost-1.35.0-r4.ebuild, boost-1.35.0-r5.ebuild, -boost-1.36.0.ebuild,
+  boost-1.36.0-r1.ebuild, -boost-1.37.0.ebuild, boost-1.37.0-r1.ebuild:
+  Changed mpi dependency to openmpi only (bug #267818, thanks to Łukasz
+  Michalik for the analysis). Dropped old revisions.
+
+  14 Apr 2009; Brent Baude <ranger@gentoo.org> boost-1.35.0-r2.ebuild:
+  Marking boost-1.35.0-r2 ppc64 for bug 245192
+
+  14 Apr 2009; Tiziano Müller <dev-zero@gentoo.org> boost-1.37.0-r1.ebuild:
+  Correct non-mt symlink creation for debug libs (bug #256697)
+
+*boost-1.37.0-r1 (07 Apr 2009)
+*boost-1.36.0-r1 (07 Apr 2009)
+*boost-1.35.0-r5 (07 Apr 2009)
+
+  07 Apr 2009; Tiziano Müller <dev-zero@gentoo.org>
+  +files/1.35-remove-hardlink-creation.patch, +files/buildid-fix.patch,
+  +boost-1.35.0-r5.ebuild, +boost-1.36.0-r1.ebuild, +boost-1.37.0-r1.ebuild:
+  Slotting revisited: using profile files now. Solved bugs #259167, #258926.
+
+  04 Apr 2009; Raúl Porcel <armin76@gentoo.org> boost-1.35.0-r2.ebuild:
+  alpha/ia64 stable wrt #245192
+
+  04 Apr 2009; Markus Meier <maekke@gentoo.org> boost-1.35.0-r2.ebuild:
+  x86 stable, bug #245192
+
+  02 Apr 2009; Friedrich Oslage <bluebird@gentoo.org>
+  boost-1.35.0-r2.ebuild:
+  Stable on sparc, bug #245192
+
+  01 Apr 2009; Joseph Jezak <josejx@gentoo.org> boost-1.35.0-r2.ebuild:
+  Marked ppc stable for bug #245192.
+
+  25 Mar 2009; Ryan Hill <dirtyepic@gentoo.org> boost-1.35.0-r2.ebuild:
+  Fix testsuite processing for paludis users.
+
+  24 Mar 2009; Ryan Hill <dirtyepic@gentoo.org> boost-1.35.0-r3.ebuild,
+  boost-1.35.0-r4.ebuild:
+  1.35.0-r{3,4} need boost-build-1.35.0-r2 to build.
+
+  24 Mar 2009; Ryan Hill <dirtyepic@gentoo.org> boost-1.35.0-r2.ebuild:
+  Because versions of boost-build greater than 1.35.0-r1 are slotted and
+  won't work with this ebuild, lock the dependency to 1.35.0-r1.
+
+  23 Mar 2009; Ryan Hill <dirtyepic@gentoo.org> boost-1.35.0-r2.ebuild:
+  Fix testsuite postprocessing for bug #245192.
+
+  07 Feb 2009; Tobias Klausmann <klausman@gentoo.org>
+  boost-1.35.0-r1.ebuild:
+  Stable on alpha, bug #245192
+
+*boost-1.35.0-r4 (06 Jan 2009)
+
+  06 Jan 2009; Tiziano Müller <dev-zero@gentoo.org>
+  +boost-1.35.0-r4.ebuild:
+  Added patches from bug #252287 to fix compilation with gcc-4.4 (thanks to
+  Daniel J.)
+
+  05 Jan 2009; Markus Meier <maekke@gentoo.org> metadata.xml:
+  drop local icu USE-flag description, as it's global now
+
+*boost-1.37.0 (16 Dec 2008)
+*boost-1.36.0 (16 Dec 2008)
+*boost-1.35.0-r3 (16 Dec 2008)
+
+  16 Dec 2008; Tiziano Müller <dev-zero@gentoo.org>
+  +files/remove_toolset_from_targetname.patch, +boost-1.35.0-r3.ebuild,
+  +boost-1.36.0.ebuild, +boost-1.37.0.ebuild:
+  Version bump (bugs #234902 and #245617, thanks to Christoph Gysin, Lucas
+  and Łukasz Michalik). Also fixes #246820 (thanks to Lucas), #244747
+  (thanks to Ali Polatel), #244834 (thanks to Jeroen Roovers), #241684
+  (thanks to cJ), #240470 (thanks to E. Scaglione).
+
+*boost-1.35.0-r2 (01 Sep 2008)
+
+  01 Sep 2008; Tiziano Müller <dev-zero@gentoo.org>
+  +boost-1.35.0-r2.ebuild:
+  Added patch to fix compilation errors for other packages on arm, hppa and
+  sparc (bug #230529).
+
+  06 Aug 2008; Ulrich Mueller <ulm@gentoo.org> metadata.xml:
+  Add USE flag description to metadata wrt GLEP 56.
+
+  16 Jun 2008; Jeroen Roovers <jer@gentoo.org> boost-1.35.0-r1.ebuild:
+  Marked ~hppa again (bug #225045).
+
+  14 Jun 2008; Tiziano Müller <dev-zero@gentoo.org> ChangeLog:
+  Added <debug-symbols>none to avoid auto-strip (bug #226011)
+
+  07 Jun 2008; Tiziano Müller <dev-zero@gentoo.org> -boost-1.33.1.ebuild,
+  -boost-1.34.1-r1.ebuild:
+  Dropped old versions (drops stable mips keyword).
+
+*boost-1.35.0-r1 (05 Jun 2008)
+
+  05 Jun 2008; Tiziano Müller <dev-zero@gentoo.org> -boost-1.35.0.ebuild,
+  +boost-1.35.0-r1.ebuild:
+  Removed pyste and added expat, mpi USE-flags. Reworked the way we call the
+  build system. Updated patchset to work around expat and mpi build
+  problems.
+
+*boost-1.35.0 (24 Apr 2008)
+
+  24 Apr 2008; Tiziano Müller <dev-zero@gentoo.org> +boost-1.35.0.ebuild:
+  Version bump (but not finished yet).
+
+  05 Feb 2008; Samuli Suominen <drac@gentoo.org> boost-1.34.1-r2.ebuild:
+  amd64 stable wrt security #205955
+
+  04 Feb 2008; Fabian Groffen <grobian@gentoo.org> boost-1.33.1.ebuild,
+  boost-1.33.1-r1.ebuild:
+  Drop ppc-macos conditionals
+
+  26 Jan 2008; Tobias Scherbaum <dertobi123@gentoo.org>
+  boost-1.34.1-r2.ebuild:
+  ppc stable, bug #205955
+
+  26 Jan 2008; Jeroen Roovers <jer@gentoo.org> boost-1.34.1-r2.ebuild:
+  Stable for HPPA (bug #205955).
+
+  25 Jan 2008; Markus Rothe <corsair@gentoo.org> boost-1.34.1-r2.ebuild:
+  Stable on ppc64; bug #205955
+
+  25 Jan 2008; Raúl Porcel <armin76@gentoo.org> boost-1.34.1-r2.ebuild:
+  alpha/ia64/sparc stable wrt security #205955
+
+  24 Jan 2008; Christian Faulhammer <opfer@gentoo.org>
+  boost-1.34.1-r2.ebuild:
+  stable x86, security bug 205955
+
+  24 Jan 2008; Tiziano Müller <dev-zero@gentoo.org> boost-1.34.1-r2.ebuild:
+  Changed for updated tarball (one patch had DOS line endings).
+
+*boost-1.34.1-r2 (24 Jan 2008)
+
+  24 Jan 2008; Tiziano Müller <dev-zero@gentoo.org>
+  +boost-1.34.1-r2.ebuild:
+  Fixed bug #205955.
+
+*boost-1.34.1-r1 (24 Dec 2007)
+
+  24 Dec 2007; Tiziano Müller <dev-zero@gentoo.org>
+  -files/boost-1.34.0-gcc42-atomicity.h.patch, -boost-1.34.0-r1.ebuild,
+  -boost-1.34.1.ebuild, +boost-1.34.1-r1.ebuild:
+  Added patch to fix a critical bug in Boost.Function and another one to fix a
+  missing include showing up with gcc-4.3 (both bug #202964). Dropped old
+  version and old revisions.
+
+  18 Nov 2007; Tiziano Müller <dev-zero@gentoo.org> boost-1.34.1.ebuild:
+  Fixed broken links in documentation (bug #194789) and added '-q' to the bjam
+  call to make boost-build fail on first error (bug #197465)
+
+  06 Oct 2007; Fabian Groffen <grobian@gentoo.org> boost-1.34.1.ebuild:
+  Revert my changes made to this ebuild per a pending conflict with its
+  maintainer. Prefix keeps these changes.
+
+  31 Aug 2007; Fabian Groffen <grobian@gentoo.org> boost-1.34.1.ebuild:
+  change CHOST check from !=darwin to ==linux, see
+  http://article.gmane.org/gmane.linux.gentoo.alt/2907
+
+*boost-1.34.1 (29 Jul 2007)
+
+  29 Jul 2007; Tiziano Müller <dev-zero@gentoo.org> +boost-1.34.1.ebuild:
+  Version bump (bug #186811)
+
+*boost-1.34.0-r1 (15 Jul 2007)
+
+  15 Jul 2007; Tiziano Müller <dev-zero@gentoo.org>
+  +files/boost-1.34.0-gcc42-atomicity.h.patch, -boost-1.34.0.ebuild,
+  +boost-1.34.0-r1.ebuild:
+  Added creation of symlinks when built with debug (bug #181972)
+  Added patch for gcc-4.2
+
+  15 Jul 2007; Tiziano Müller <dev-zero@gentoo.org> boost-1.34.0.ebuild:
+  Corrected dohtml usage (thanks to kolmodin)
+
+  23 Jun 2007; Joshua Kinard <kumba@gentoo.org> boost-1.34.0.ebuild:
+  Marked unstable on mips, per #182196.
+
+  20 Jun 2007; Joseph Jezak <josejx@gentoo.org> boost-1.34.0.ebuild:
+  Marked ~ppc for bug #182196.
+
+  18 Jun 2007; Jeroen Roovers <jer@gentoo.org> boost-1.34.0.ebuild:
+  Marked ~hppa (bug #182196).
+
+  18 Jun 2007; Raúl Porcel <armin76@gentoo.org> boost-1.34.0.ebuild:
+  Add ~alpha/~ia64 wrt #182196
+
+  18 Jun 2007; Markus Rothe <corsair@gentoo.org> boost-1.34.0.ebuild:
+  Added ~ppc64; bug #182196
+
+  17 Jun 2007; Ferris McCormick <fmccor@gentoo.org> boost-1.34.0.ebuild:
+  Add ~sparc keyword --- Bug #182196 --- after further investigation, seems
+  good.
+
+  16 Jun 2007; Tiziano Müller <dev-zero@gentoo.org> boost-1.34.0.ebuild:
+  Added LC_ALL=C to src_test to make sure that tests don't fail because of
+  unmatched regexps
+
+*boost-1.34.0 (06 Jun 2007)
+
+  06 Jun 2007; Tiziano Müller <dev-zero@gentoo.org>
+  -boost-1.34_pre20061214.ebuild, +boost-1.34.0.ebuild:
+  Version bump.
+
+  20 Feb 2007; Tiziano Müller <dev-zero@gentoo.org> boost-1.33.1-r1.ebuild:
+  Using check-reqs to check for enough free diskspace for building tests
+  (thanks to Ciaran for the hint)
+
+  20 Feb 2007; Tiziano Müller <dev-zero@gentoo.org> boost-1.33.1-r1.ebuild,
+  boost-1.34_pre20061214.ebuild:
+  Removed ${ROOT} where not appropriate (bug #167271). Added src_test for
+  1.33.1-r1.
+
+  18 Feb 2007; Alexander H. Færøy <eroyf@gentoo.org>
+  boost-1.33.1-r1.ebuild:
+  Stable on IA64; bug #158770
+
+  10 Feb 2007; Tiziano Müller <dev-zero@gentoo.org>
+  boost-1.34_pre20061214.ebuild:
+  Fixed python_version typo. Removed the check for ucs2 for python.
+
+  06 Feb 2007; Tiziano Müller <dev-zero@gentoo.org>
+  -boost-1.34_pre20060930.ebuild, boost-1.34_pre20061214.ebuild:
+  Dropped old version. Fixed some darwin-related bugs.
+
+  30 Dec 2006; Bryan Østergaard <kloeri@gentoo.org> boost-1.33.1-r1.ebuild:
+  Stable on Alpha, bug 158770.
+
+  30 Dec 2006; Andrej Kacian <ticho@gentoo.org> boost-1.33.1-r1.ebuild:
+  Stable on x86, bug #158770.
+
+  28 Dec 2006; Jeroen Roovers <jer@gentoo.org> boost-1.33.1-r1.ebuild:
+  Stable for HPPA (bug #158770).
+
+  26 Dec 2006; Gustavo Zacarias <gustavoz@gentoo.org>
+  boost-1.33.1-r1.ebuild:
+  Stable on sparc wrt #158770
+
+  23 Dec 2006; Peter Weller <welp@gentoo.org> boost-1.33.1-r1.ebuild:
+  Stable on amd64 wrt bug #158770
+
+  22 Dec 2006; Tobias Scherbaum <dertobi123@gentoo.org>
+  boost-1.33.1-r1.ebuild:
+  Stable on ppc wrt bug #158770.
+
+  22 Dec 2006; Markus Rothe <corsair@gentoo.org> boost-1.33.1-r1.ebuild:
+  Stable on ppc64; bug #158770
+
+*boost-1.34_pre20061214 (18 Dec 2006)
+
+  18 Dec 2006; Tiziano Müller <dev-zero@gentoo.org> +files/random-Jamfile,
+  +boost-1.34_pre20061214.ebuild:
+  New snapshot added: All boost-tools are now available via the tools USE-flag.
+
+  27 Nov 2006; Tiziano Müller <dev-zero@gentoo.org> boost-1.33.1-r1.ebuild:
+  Added icu USE-flag and dependency, bug #141170
+
+  05 Nov 2006; Tiziano Müller <dev-zero@gentoo.org> boost-1.33.1-r1.ebuild:
+  Added python version override to fix bug 149250
+
+  29 Oct 2006; Tiziano Müller <dev-zero@gentoo.org> boost-1.33.1.ebuild,
+  boost-1.33.1-r1.ebuild, boost-1.34_pre20060930.ebuild:
+  Removed blocking dev-util/boost-jam dependency since package has been
+  removed.
+
+  23 Oct 2006; Tiziano Müller <dev-zero@gentoo.org> ChangeLog:
+  'static' USE-flag removed (was broken). Patch added for bug #146112. Fixing
+  bug #137638. Adding symlink from *thread-mt.so -> *thread.so which solves
+  problems with other packages.
+
+  04 Oct 2006; Diego Pettenò <flameeyes@gentoo.org> boost-1.33.1.ebuild:
+  Add ~x86-fbsd keyword.
+
+  01 Oct 2006; Tiziano Müller <dev-zero@gentoo.org> ChangeLog:
+  Adding src_test to boost-1.34 for regression tests. Minor cleanups.
+
+  30 Sep 2006; Tiziano Müller <dev-zero@gentoo.org> ChangeLog:
+  Snapshot for 1.34 added for testing
+
+  20 Jul 2006; <psi29a@gentoo.org> boost-1.33.1.ebuild:
+  stable on mips
+
+  27 Apr 2006; Marien Zwart <marienz@gentoo.org> Manifest:
+  Fixing SHA256 digest, pass four
+
+  15 Apr 2006; Daniel Goller <morfic@gentoo.org> boost-1.33.1.ebuild:
+  Add a blocker for boost-jam since they can not coexist, boost-jam is old too,
+  maybe it should just die
+
+  06 Mar 2006; Daniel Goller <morfic@gentoo.org> -boost-1.31.0.ebuild,
+  -boost-1.33.0.ebuild, -boost-1.33.0-r1.ebuild:
+  Remove old ebuilds
+
+  12 Feb 2006; Daniel Goller <morfic@gentoo.org> boost-1.33.1.ebuild:
+  Fix installation of documentation
+
+  06 Feb 2006; Markus Rothe <corsair@gentoo.org> boost-1.33.1.ebuild:
+  Stable on ppc64: bug #120840
+
+  03 Feb 2006; Mark Loeser <halcy0n@gentoo.org> boost-1.33.1.ebuild:
+  Stable on x86; bug #120840
+
+  02 Feb 2006; Gustavo Zacarias <gustavoz@gentoo.org> boost-1.33.1.ebuild:
+  Stable on sparc wrt #120840
+
+  01 Feb 2006; Aron Griffis <agriffis@gentoo.org> boost-1.33.1.ebuild:
+  Mark 1.33.1 stable on alpha/ia64 #120840
+
+  29 Jan 2006; Daniel Goller <morfic@gentoo.org> boost-1.33.1.ebuild:
+  Stable on ppc and amd64
+
+  10 Dec 2005; Bryan Østergaard <kloeri@gentoo.org boost-1.33.0-r1.ebuild:
+  Stable on alpha, bug 112842.
+
+  06 Dec 2005; Daniel Goller <morfic@gentoo.org> boost-1.33.1.ebuild:
+  adding gentoo mirror
+
+*boost-1.33.1 (06 Dec 2005)
+
+  06 Dec 2005; Daniel Goller <morfic@gentoo.org> +boost-1.33.1.ebuild:
+  bumping to new version
+
+  27 Nov 2005; Guy Martin <gmsoft@gentoo.org> boost-1.33.0-r1.ebuild:
+  Stable on hppa.
+
+  25 Nov 2005; Daniel Goller <morfic@gentoo.org> +boost-1.31.0.ebuild:
+  readding bad ebuild thanks to luabind depending on boost internals instead
+  of the interface
+
+  24 Nov 2005; Daniel Goller <morfic@gentoo.org> -boost-1.29.0.ebuild,
+  -boost-1.30.0.ebuild, -boost-1.30.2.ebuild, -boost-1.31.0.ebuild,
+  -boost-1.32.0.ebuild, -boost-1.32.0-r1.ebuild, -boost-1.32.0-r2.ebuild,
+  -boost-1.32.0-r3.ebuild, -boost-1.32.0-r4.ebuild:
+  Removing OLD versions
+
+  24 Nov 2005; Markus Rothe <corsair@gentoo.org> boost-1.33.0-r1.ebuild:
+  Stable on ppc64
+
+  21 Nov 2005; Daniel Goller <morfic@gentoo.org> boost-1.31.0.ebuild,
+  boost-1.32.0.ebuild, boost-1.32.0-r1.ebuild, boost-1.32.0-r2.ebuild,
+  boost-1.33.0-r1.ebuild:
+  changed cp -a to cp -pPR in compliance with bug 103487
+
+  09 Nov 2005; Gustavo Zacarias <gustavoz@gentoo.org>
+  boost-1.33.0-r1.ebuild:
+  Stable on sparc wrt #91936
+
+  01 Nov 2005; <soulse@gentoo.org> boost-1.33.0-r1.ebuild:
+  Stable on x86 wrt bug #111080
+
+  01 Nov 2005; Daniel Goller <morfic@gentoo.org> boost-1.33.0-r1.ebuild:
+  Fix quoting of variables
+
+  01 Nov 2005; Daniel Goller <morfic@gentoo.org> boost-1.33.0-r1.ebuild:
+  Stable on ppc and amd64
+
+  29 Oct 2005; Daniel Goller <morfic@gentoo.org> boost-1.33.0-r1.ebuild:
+  Fix bjam directory, thanks to Phil Richards for reporting, Bug #110687
+
+  26 Oct 2005; Daniel Goller <morfic@gentoo.org> boost-1.33.0-r1.ebuild:
+  Deprecating icc at last
+
+  25 Oct 2005; Daniel Goller <morfic@gentoo.org> boost-1.33.0-r1.ebuild:
+  Adding bcp, bjam, changing to /usr/share/boost-build
+
+  12 Oct 2005; Daniel Goller <morfic@gentoo.org>
+  +files/boost-alpha-threads.patch, boost-1.33.0.ebuild:
+  Fixing USE=threads on alpha and stopping to have icc path be hardcoded,
+  credits for users in the ebuild
+
+  19 Sep 2005; Mark Loeser <halcy0n@gentoo.org> metadata.xml:
+  Adding to cpp herd
+
+  12 Aug 2005; Daniel Goller <morfic@gentoo.org> ChangeLog:
+  Someone have a suggestion how to get manifest signed remotely so i can stop
+  doing this?
+
+*boost-1.33.0 (12 Aug 2005)
+
+  12 Aug 2005; Daniel Goller <morfic@gentoo.org> +boost-1.33.0.ebuild:
+  Adding 1.33.0 to tree
+
+  06 Aug 2005; Aaron Walker <ka0ttic@gentoo.org> boost-1.31.0.ebuild,
+  boost-1.32.0-r4.ebuild:
+  Added ~mips to 1.31.0 and 1.32.0-r4.
+
+  02 Jul 2005; <morfic@gentoo.org> ChangeLog:
+  signing manifest, which failed 
+
+  02 Jul 2005; <morfic@gentoo.org> boost-1.32.0-r4.ebuild:
+  Fixed quotation, closing bug #97292
+
+  29 May 2005; Fernando J. Pereda <ferdy@gentoo.org> boost-1.32.0-r4.ebuild:
+  marked ~alpha, wrt #91936
+
+  12 May 2005; Aron Griffis <agriffis@gentoo.org> boost-1.32.0-r4.ebuild:
+  add ~ia64
+
+*boost-1.32.0-r4 (04 May 2005)
+
+  04 May 2005; Daniel Goller <morfic@gentoo.org> +boost-1.32.0-r4.ebuild:
+  added USE=doc and fixed creation of -toolset- links
+
+  24 Apr 2005; Daniel Goller <morfic@gentoo.org> :
+  adding pyste support, adding bsd compatability and preliminary OSX
+  compatability bug 79517 and bug 84642
+
+  20 Apr 2005; Daniel Goller <morfic@gentoo.org> boost-1.32.0-r2.ebuild:
+  fix ! order
+
+*boost-1.32.0-r2 (16 Apr 2005)
+
+  16 Apr 2005; Daniel Goller <morfic@gentoo.org> +boost-1.32.0-r2.ebuild:
+  1.32.0-r2 allows fine grained install of boost, shorter compile times and
+  smaller space requirement are now possible
+
+  22 Mar 2005; Daniel Goller <morfic@gentoo.org> boost-1.32.0-r1.ebuild:
+  Fixed html doc install path, closing bug 85938, thanks Benoit Boissinot
+
+  20 Mar 2005; Daniel Goller <morfic@gentoo.org> boost-1.32.0-r1.ebuild:
+  fixed parallel building for distcc and SMP users
+
+  18 Mar 2005; Daniel Goller <morfic@gentoo.org> boost-1.32.0-r1.ebuild:
+  depend on icc 8 as 7 is no longer supported by intel
+
+  09 Mar 2005; Daniel Goller <morfic@gentoo.org> boost-1.32.0-r1.ebuild:
+  set paths for icc to properly build all boost targets
+  special thanks to steveb
+
+  08 Mar 2005; Daniel Goller <morfic@gentoo.org> boost-1.32.0-r1.ebuild:
+  adding -sINTEL_PATH="/opt/intel/compiler80/" for them icc users
+
+  08 Mar 2005; Daniel Goller <morfic@gentoo.org> boost-1.32.0-r1.ebuild:
+  Fix stray \
+
+  08 Mar 2005; Daniel Goller <morfic@gentoo.org> boost-1.32.0-r1.ebuild:
+  adjust icc version
+
+  06 Mar 2005; Jeremy Huddleston <eradicator@gentoo.org>
+  boost-1.32.0-r1.ebuild:
+  Multilib fix.
+
+  06 Mar 2005; Daniel Goller <morfic@gentoo.org> boost-1.32.0-r1.ebuild:
+  fixed issue with links ending up in / if the target does not exist
+
+  05 Mar 2005; Daniel Goller <morfic@gentoo.org> boost-1.32.0-r1.ebuild:
+  making the symlinks work for gcc and icc by inserting a variable not a
+  harcoded -gcc into the libname
+
+*boost-1.32.0-r1 (04 Mar 2005)
+
+  04 Mar 2005; Daniel Goller <morfic@gentoo.org> +boost-1.32.0-r1.ebuild:
+  Compiled with --layout=system for the short libnames, linked the long ones
+  Everyone and everything should now be happy Serialization linking issues are
+  with binutils, as long as we only have the .a we will need 2.15.90.0.* for
+  this lib Time permitting we might have to port what is in cvs, as that
+  builds a shared lib for us which would link with any stable binutils
+
+  01 Mar 2005; Daniel Goller <morfic@gentoo.org> metadata.xml,
+  boost-1.32.0.ebuild:
+  Cleaned up ebuild, no longer using makeopts, apparently bjam could dislike them
+
+  31 Dec 2004; Daniel Goller <morfic@gentoo.org> boost-1.32.0.ebuild:
+  Fix whitespace
+
+  31 Dec 2004; Daniel Goller <morfic@gentoo.org> boost-1.32.0.ebuild:
+  Changing to --layout=system
+
+  23 Dec 2004; Daniel Goller <morfic@gentoo.org> boost-1.32.0.ebuild:
+  Minor cleanup
+
+  23 Dec 2004; Daniel Goller <morfic@gentoo.org> boost-1.32.0.ebuild:
+  Install build tools too
+
+  14 Dec 2004; Daniel Goller <morfic@gentoo.org> boost-1.32.0.ebuild:
+  Add symlink for version independent location
+
+  13 Dec 2004; Daniel Goller <morfic@gentoo.org> boost-1.32.0.ebuild:
+  Readding icc support, restoring -toolset- libnames, using python.eclass to
+  avoid using sed
+
+  12 Dec 2004; Daniel Goller <morfic@gentoo.org> boost-1.32.0.ebuild:
+  Fix bjam path
+  Thanks to dholth@fastmail.fm and mayo@clara.co.uk for noticing + suggestions
+
+  11 Dec 2004; Daniel Goller <morfic@gentoo.org> boost-1.32.0.ebuild:
+  Cleanup + maintenance
+
+  11 Dec 2004; Daniel Goller <morfic@gentoo.org> boost-1.32.0.ebuild:
+  Removed trailing space
+
+  11 Dec 2004; Daniel Goller <morfic@gentoo.org> boost-1.32.0.ebuild:
+  Remove | die where it doesn't belong
+
+  11 Dec 2004; Daniel Goller <morfic@gentoo.org> boost-1.32.0.ebuild:
+  fixed up ${arch} to cover amd64 as not being recognized
+
+  11 Dec 2004; Daniel Goller <morfic@gentoo.org> boost-1.32.0.ebuild:
+  Added ${arch} to bjam path
+
+  10 Dec 2004; Daniel Goller <morfic@gentoo.org> boost-1.31.0.ebuild:
+  Stable on ppc
+
+*boost-1.32.0 (10 Dec 2004)
+
+  10 Dec 2004; Daniel Goller <morfic@gentoo.org> +metadata.xml,
+  +boost-1.32.0.ebuild:
+  Version Bump + added metadata.xml
+  Thanks to all on Bug #71808
+
+  01 Jul 2004; Jeremy Huddleston <eradicator@gentoo.org> boost-1.30.0.ebuild,
+  boost-1.30.2.ebuild, boost-1.31.0.ebuild:
+  virtual/glibc -> virtual/libc
+
+  01 Jul 2004; Jeremy Huddleston <eradicator@gentoo.org> boost-1.31.0.ebuild:
+  Stable amd64
+
+  27 Jun 2004; Tom Gall <tgall@gentoo.org> boot-1.31.0.ebuild:
+  stable on ppc64 bug # 53532
+
+  03 Jun 2004; Aron Griffis <agriffis@gentoo.org> boost-1.30.0.ebuild,
+  boost-1.30.2.ebuild, boost-1.31.0.ebuild:
+  Fix use invocation
+
+  16 Apr 2004; Jason Wever <weeve@gentoo.org> boost-1.31.0.ebuild:
+  Stable on sparc.
+
+  24 Mar 2004; Jason Wever <weeve@gentoo.org> boost-1.31.0.ebuild:
+  Added ~sparc keyword.
+
+  16 Mar 2004; George Shapovalov <george@gentoo.org> boost-1.31.0_alpha*.ebuild :
+  removed alphas from portage, as the release is out for a while and is already marked stable
+
+*boost-1.31.0 (25 Feb 2004)
+
+  25 Feb 2004; George Shapovalov <george@gentoo.org> boost-1.31.0.ebuild :
+  release is finally out. Added the ebuild, will keep alphas for a little while.
+
+  24 Feb 2004; Sven Blumenstein <bazik@gentoo.org> boost-1.30.2.ebuild:
+  Stable on sparc, DEPEND of media-sound/zinf
+
+  13 Feb 2004; George Shapovalov <george@gentoo.org> boost-1.31.0_alpha2-r1.ebuild :
+  improved symlinks, now the whole set is created instead of just a few out-of-place
+  as was provided by build script
+
+*boost-1.31.0_alpha2-r1 (03 Feb 2004)
+
+  03 Feb 2004; George Shapovalov <george@gentoo.org> boost-1.31.0_alpha2-r1.ebuild :
+  installing symlinks created during build in this revision
+
+*boost-1.31.0_alpha2 (02 Feb 2004)
+
+  02 Feb 2004; George Shapovalov <george@gentoo.org> boost-1.31.0_alpha2.ebuild :
+  new cvs snapshot, fixed the install procedure following the #37850,
+  thanks to Karl-Johan Karlsson <creideiki+gentoo-bugzilla@lisator.liu.se> for suggestions
+
+*boost-1.31.0_alpha1 (18 Dec 2003)
+
+  18 Dec 2003; George Shapovalov <george@gentoo.org> boost-1.31.0_alpha1.ebuild :
+  SInce 1.30 stopped working with python 2.3 (see #35268) and 1.31 is not yet out 
+  I am adding this cvs snapshot. Note: !!!do not just copy this one over!!! 
+  Adjust a few vars inside if you do update it!
+  This one also incorporates build tools installation from #35718 (thanks to 
+  Chris Mayo <mayo@clara.co.uk> for suggestion).
+
+*boost-1.30.2 (24 Aug 2003)
+
+  24 Aug 2003; George Shapovalov <george@gentoo.org> boost-1.30.2.ebuild :
+  looks like I got stuck with this ebuild :),
+  anyway, new version (#27053) that contains a bug fix,
+  update submitted by B. K. Oxley (binkley) <binkley@alumni.rice.edu>
+  and cleaned-up by Chris Bainbridge chrb@dcs.ed.ac.uk
+
+*boost-1.30.0 (16 May 2003)
+
+  16 May 2003; George Shapovalov <george@gentoo.org> boost-1.30.0.ebuild :
+  new version. (#18183)
+  now supports building with icc
+  Thanks to Jeremy Maitin-Shepard <jbms@ittbi.com> and  Garen <garen@garen.net>
+  for submitting and polishing the ebuild
+
+*boost-1.29.0 (21 Oct 2002)
+
+  26 Jan 2003; Jon Nall <nall@gentoo.org> boost-1.29.0.ebuild :
+  added ~ppc and fixed to be non-x86 specific
+
+  21 Oct 2002; Maik Schreiber <blizzy@gentoo.org> : New version, closes bug
+  #9461.
+
+*boost-1.28 (19 Oct 2002)
+
+123456789-123456789-123456789-123456789-123456789-123456789-123456789-123456789-
+  19 Oct 2002; Karl Trygve Kalleberg <markus-krainer@chello.at>
+  boost-1.28.0.ebuild, files/digest-boost-1.28: Initial import. All code
+  submitted by Markus Krainer <markus-krainer@chello.at>. Fixes #2851.
+

diff --git a/dev-libs/boost/Manifest b/dev-libs/boost/Manifest
new file mode 100644
index 0000000..7a08426
--- /dev/null
+++ b/dev-libs/boost/Manifest
@@ -0,0 +1,28 @@
+AUX 1.35-remove-hardlink-creation.patch 547 RMD160 0c0bae87977869efcd2e25144b910025ab3e6924 SHA1 c3833411ab8e7c84efddc5cfb4ab99abcba1eed5 SHA256 9b0515f343f0c8f7f0ce51e2c6f243edae0f3d5ce5df5b9f77a46b00041a134e
+AUX boost-1.37.0-darwin-long-double.patch 556 RMD160 54b1111e9dbc51131f01f50071f1c4f337b35d2f SHA1 827dcef39cf884948c3720ae1d94d1b5b5279578 SHA256 0beb2bf9ae43ad86c307873ab19b049152ef7798ba17523638cdb78017642c31
+AUX boost-1.41.0-fix-CRC-on-x64-during-gzip-decompression.patch 1030 RMD160 8cf63aa1179ed4d8e3a79fb3f00b6c8f3db816f0 SHA1 028d0d2611392a68b35403f089486963d7d4e549 SHA256 4b935fe0b3c9f3a2b1fcedda048b0ebc518531aa143f95cdd1b7fa51de1133d4
+AUX boost-1.41.0-iostreams-missing-include-guard.patch 813 RMD160 3a8e5e7f1635d784da3680c30c8f7c692bc26be0 SHA1 7f701c2d7c186d1cf72f9a9adf36409650ca964a SHA256 5b495a10b9cfca17c5d5f5de6e9f10527e67e999145d115349cc87721f2f3613
+AUX boost-1.41.0-mpi_process_group-missing-include.patch 448 RMD160 415f9e7d9195b8d3796524285e090230831466a1 SHA1 7cca39a7847f9d6c4fe0d30f5c677774576db5d3 SHA256 0d5a09e3dc170afd4756fbb296f1a0c30438cc7fb4a771dc7b91763c88e8f88d
+AUX boost-1.41.0-parameter-needs-python.patch 3037 RMD160 901d7bdda6c9f604d5487b09d247592e8558fcfa SHA1 ee3bf830495506e6d250b2073efbf42de60f9d03 SHA256 0d0e47ef2582da43c40ccf8b5b58435a2d42e2236d29ea7883e1b1ecd1aaa439
+AUX boost-1.41.0-spirit-fixed-include-guard-conflict.patch 613 RMD160 434235581f62a4fa569cb6425b7718f866a52ed4 SHA1 39738e64e9e935914a132f899cab8310fe3bb273 SHA256 83c7b2b00225433f82a78c86e3959e56e8529443d769ba35ebef02b4c2c26888
+AUX boost-1.42.0-gcc45-python.patch 628 RMD160 261b0e98f133fd745e29998bd0f0165f0a007ab3 SHA1 80146b1018e96b0958d930e2a8c828310ffec68a SHA256 5ab528cfc9beb940d6cfa94ff1b39b0e29c6adc3c1d1906f31cfabaf94232761
+AUX boost-1.42.0-parameter-needs-python.patch 3037 RMD160 901d7bdda6c9f604d5487b09d247592e8558fcfa SHA1 ee3bf830495506e6d250b2073efbf42de60f9d03 SHA256 0d0e47ef2582da43c40ccf8b5b58435a2d42e2236d29ea7883e1b1ecd1aaa439
+AUX boost-1.42.0-template_arity-gcc45.patch 970 RMD160 0edcdbcaf0165e4e285b041f6406b1f71e798753 SHA1 f0cccc3ba7c2496f092cbc623473d21585bdd304 SHA256 e289a56bed08914704fad58bc4779ce9f327b4acac8ebd6a93bc6dd09f9a6e98
+AUX boost-1.45.0-lambda_bind.patch 1607 RMD160 ea61aaac83cfebfcb10c0e20de72022d4d4c1b27 SHA1 39856bef27d2a55f1ae2e0d7a7005264a8613289 SHA256 0ff6a7bf481d5311ec57be1eeaafdd0c0e9e0c09b896700d40295f67bf77be0b
+AUX boost-1.46.1-python32.patch 579 RMD160 bf659da8646379b73ce255d2432467724c33c4be SHA1 0d3f2896ca46179cf2138fa4571fb48f5f496a2d SHA256 6227eb2692777b70896fe63a6726b630239b07845f4ae1ae57d2e83a062dc57e
+AUX buildid-fix.patch 1045 RMD160 ce9dbea25e21ed1ac177b16982ef1850957474f2 SHA1 af1069055e6f8d8fa143fb2ddeccb2fc36ddce9a SHA256 42a2aa4c0f4d8579a501d6133f55852acbd1d7b497598983c50bdebaa17df17f
+AUX point_release_naming_fix.patch 389 RMD160 a58388a1e52ce1a05a3259295fccbc8399a95f67 SHA1 7c1b5b0c75fb134599cc2a167e5e5a2799b273c5 SHA256 c26a9582d85bbbfde2ecdb36562fdddafc30389205f105508350b4720aa5b576
+AUX random-Jamfile 355 RMD160 478b592e9d33d371b07e5364e63512c8208263bf SHA1 8ca047df78758f62a6c131bd27441173e9079fa6 SHA256 7dc71ab8b862ccd5ea9c21c42557adfe0c711ea7fbe7faa47328a37aa84bc096
+AUX random-Jamfile-1.45.0 358 RMD160 dd8a847d5104923006795c9a19fa9154e49a8894 SHA1 a3d8cc42b95a09a451c2a1c429e019288f3b76aa SHA256 412c26f915db9d2664305d596406f6a75132d8cfe1827b42f17dc083dc632f00
+AUX random-Jamfile-1.46.1 358 RMD160 dd8a847d5104923006795c9a19fa9154e49a8894 SHA1 a3d8cc42b95a09a451c2a1c429e019288f3b76aa SHA256 412c26f915db9d2664305d596406f6a75132d8cfe1827b42f17dc083dc632f00
+AUX random-Jamfile-1.47.0 358 RMD160 dd8a847d5104923006795c9a19fa9154e49a8894 SHA1 a3d8cc42b95a09a451c2a1c429e019288f3b76aa SHA256 412c26f915db9d2664305d596406f6a75132d8cfe1827b42f17dc083dc632f00
+AUX remove-toolset-1.41.0.patch 465 RMD160 5d93141f9cf98fc558e15c273d4ede298a96d535 SHA1 0533de67dd64cf96c992a05161fc8dc6cff3453e SHA256 e1b3c77d5116722df5c5a48973f95307fd46fea675d53d268d60548b7ac4bd2b
+AUX remove-toolset-1.42.0.patch 465 RMD160 5d93141f9cf98fc558e15c273d4ede298a96d535 SHA1 0533de67dd64cf96c992a05161fc8dc6cff3453e SHA256 e1b3c77d5116722df5c5a48973f95307fd46fea675d53d268d60548b7ac4bd2b
+AUX remove-toolset-1.45.0.patch 465 RMD160 18b160e97e183392a635ebc60f840d10c30a0b1b SHA1 e476d9b06e7e16499ee7659f5178a52564d6831a SHA256 c1cc35cd5e25160e481912dcdd1e45a86d518bb0ac009ad50bd3811b097226b7
+AUX remove-toolset-1.46.1.patch 465 RMD160 18b160e97e183392a635ebc60f840d10c30a0b1b SHA1 e476d9b06e7e16499ee7659f5178a52564d6831a SHA256 c1cc35cd5e25160e481912dcdd1e45a86d518bb0ac009ad50bd3811b097226b7
+AUX remove-toolset-1.47.0.patch 475 RMD160 affc424b21d5f72f164549a924530fc97ed161f3 SHA1 a16fbb8e43b1fdb650eac0440f3e2d0bc359c55b SHA256 c16838de102445b12c6fc3818d1b1c82adddeb639f05fb3493c15a25ce8b48fa
+AUX remove_toolset_from_targetname.patch 490 RMD160 e050992fd79005af73410a2ea4037a82177ddf33 SHA1 80d96cca8cb0acb752c428ffcada3ef2964642b1 SHA256 5c5c6fea3c1e20e290d15a68f91b6c084cc5b34daae338e3aa0879a3fd5b9fb5
+DIST boost_1_47_0.tar.bz2 45952657 RMD160 511144eb5ade340115971c372a3c849bd55181f1 SHA1 6e3eb548b9d955c0bc6f71c51042b713b678136a SHA256 815a5d9faac4dbd523fbcf3fe1065e443c0bbf43427c44aa423422c6ec4c2e31
+EBUILD boost-1.47.0.ebuild 15802 RMD160 0be3d75a71ca69896e79340d4ed66b0c44834704 SHA1 e2b385d97ad067e91a8374000ccc7d09c29b1c11 SHA256 5afd5c7eb38d0028722ea2721715295564a87bbd9541776fa8a0911a4047578d
+MISC ChangeLog 34329 RMD160 0306158a378f23758596a5da4be57fffe177009d SHA1 7a0ccd8b5ec8b83e236658d056a70246a2de3d9a SHA256 b9d2b41afe5044f4daf1d1a8a29dcdc2f5e7ff12d48efe1e8b5414679ec41eba
+MISC metadata.xml 773 RMD160 3f4c57fa2861bb416fc5d92d839c41acb2b9861a SHA1 6c90f699901853658c41fbfdb3661eb617682040 SHA256 6563b78be463b4ae931f3dc07d5cd280281bf168c07ecea59fe5dc946f2d0ecf

diff --git a/dev-libs/boost/boost-1.47.0.ebuild b/dev-libs/boost/boost-1.47.0.ebuild
new file mode 100644
index 0000000..9c1bcb0
--- /dev/null
+++ b/dev-libs/boost/boost-1.47.0.ebuild
@@ -0,0 +1,486 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/boost/boost-1.46.1.ebuild,v 1.5 2011/05/15 19:59:21 mr_bones_ Exp $
+
+EAPI="2"
+
+inherit python flag-o-matic multilib toolchain-funcs versionator check-reqs
+
+MY_P=${PN}_$(replace_all_version_separators _)
+
+DESCRIPTION="Boost Libraries for C++"
+HOMEPAGE="http://www.boost.org/"
+SRC_URI="mirror://sourceforge/boost/${MY_P}.tar.bz2"
+LICENSE="Boost-1.0"
+SLOT="$(get_version_component_range 1-2)"
+IUSE="debug doc +eselect icu mpi python static-libs test tools"
+
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
+
+RDEPEND="icu? ( >=dev-libs/icu-3.3 )
+	mpi? ( || ( sys-cluster/openmpi[cxx] sys-cluster/mpich2[cxx,threads] ) )
+	sys-libs/zlib
+	python? ( dev-lang/python )
+	!!<=dev-libs/boost-1.35.0-r2
+	>=app-admin/eselect-boost-0.3"
+DEPEND="${RDEPEND}
+	dev-util/boost-build:${SLOT}"
+
+S=${WORKDIR}/${MY_P}
+
+MAJOR_PV=$(replace_all_version_separators _ ${SLOT})
+BJAM="b2-${MAJOR_PV}"
+
+# Usage:
+# _add_line <line-to-add> <profile>
+# ... to add to specific profile
+# or
+# _add_line <line-to-add>
+# ... to add to all profiles for which the use flag set
+
+_add_line() {
+	if [ -z "$2" ] ; then
+		echo "${1}" >> "${D}/usr/share/boost-eselect/profiles/${SLOT}/default"
+		use debug && echo "${1}" >> "${D}/usr/share/boost-eselect/profiles/${SLOT}/debug"
+	else
+		echo "${1}" >> "${D}/usr/share/boost-eselect/profiles/${SLOT}/${2}"
+	fi
+}
+
+pkg_setup() {
+	# It doesn't compile with USE="python mpi" and python-3 (bug 295705)
+	if use python && use mpi ; then
+		if [[ "$(python_get_version --major)" != "2" ]]; then
+			eerror "The Boost.MPI python bindings do not support any other python version"
+			eerror "than 2.x. Please either use eselect to select a python 2.x version or"
+			eerror "disable the python and/or mpi use flag for =${CATEGORY}/${PF}."
+			die "unsupported python version"
+		fi
+	fi
+
+	if use test ; then
+		CHECKREQS_DISK_BUILD="15360"
+		check_reqs
+
+		ewarn "The tests may take several hours on a recent machine"
+		ewarn "but they will not fail (unless something weird happens ;-)"
+		ewarn "This is because the tests depend on the used compiler/-version"
+		ewarn "and the platform and upstream says that this is normal."
+		ewarn "If you are interested in the results, please take a look at the"
+		ewarn "generated results page:"
+		ewarn "  ${ROOT}usr/share/doc/${PF}/status/cs-$(uname).html"
+		ebeep 5
+
+	fi
+
+	if use debug ; then
+		ewarn "The debug USE-flag means that a second set of the boost libraries"
+		ewarn "will be built containing debug-symbols. You'll be able to select them"
+		ewarn "using the boost-eselect module. But even though the optimization flags"
+		ewarn "you might have set are not stripped, there will be a performance"
+		ewarn "penalty and linking other packages against the debug version"
+		ewarn "of boost is _not_ recommended."
+	fi
+}
+
+src_prepare() {
+	epatch "${FILESDIR}/remove-toolset-${PV}.patch"
+
+	# This enables building the boost.random library with /dev/urandom support
+	if [[ -e /dev/urandom ]] ; then
+		mkdir -p libs/random/build || die
+		cp "${FILESDIR}/random-Jamfile-${PV}" libs/random/build/Jamfile.v2 || die
+	fi
+}
+
+src_configure() {
+	einfo "Writing new user-config.jam"
+
+	local compiler compilerVersion compilerExecutable mpi
+	if [[ ${CHOST} == *-darwin* ]] ; then
+		compiler=darwin
+		compilerVersion=$(gcc-fullversion)
+		compilerExecutable=$(tc-getCXX)
+		# we need to add the prefix, and in two cases this exceeds, so prepare
+		# for the largest possible space allocation
+		append-ldflags -Wl,-headerpad_max_install_names
+	else
+		compiler=gcc
+		compilerVersion=$(gcc-version)
+		compilerExecutable=$(tc-getCXX)
+	fi
+
+	# Using -fno-strict-aliasing to prevent possible creation of invalid code.
+	append-flags -fno-strict-aliasing
+
+	# bug 298489
+	if use ppc || use ppc64 ; then
+		[[ $(gcc-version) > 4.3 ]] && append-flags -mno-altivec
+	fi;
+
+	use mpi && mpi="using mpi ;"
+
+	if use python ; then
+		pystring="using python : $(python_get_version) : /usr :	$(python_get_includedir) : $(python_get_libdir) ;"
+	fi
+
+	cat > "${S}/user-config.jam" << __EOF__
+
+variant gentoorelease : release : <optimization>none <debug-symbols>none ;
+variant gentoodebug : debug : <optimization>none ;
+
+using ${compiler} : ${compilerVersion} : ${compilerExecutable} : <cxxflags>"${CXXFLAGS}" <linkflags>"${LDFLAGS}" ;
+
+${pystring}
+
+${mpi}
+
+__EOF__
+
+	# Maintainer information:
+	# The debug-symbols=none and optimization=none
+	# are not official upstream flags but a Gentoo
+	# specific patch to make sure that all our
+	# CXXFLAGS/LDFLAGS are being respected.
+	# Using optimization=off would for example add
+	# "-O0" and override "-O2" set by the user.
+	# Please take a look at the boost-build ebuild
+	# for more infomration.
+
+	use icu && OPTIONS="-sICU_PATH=/usr"
+	use mpi || OPTIONS="${OPTIONS} --without-mpi"
+	use python || OPTIONS="${OPTIONS} --without-python"
+
+	# https://svn.boost.org/trac/boost/attachment/ticket/2597/add-disable-long-double.patch
+	if use sparc || { use mips && [[ ${ABI} = "o32" ]]; } || use hppa || use arm || use x86-fbsd || use sh; then
+		OPTIONS="${OPTIONS} --disable-long-double"
+	fi
+
+	OPTIONS="${OPTIONS} pch=off --user-config=\"${S}/user-config.jam\" --boost-build=/usr/share/boost-build-${MAJOR_PV} --prefix=\"${D}/usr\" --layout=versioned"
+
+	if use static-libs ; then
+		LINK_OPTS="link=shared,static"
+		LIBRARY_TARGETS="*.a *$(get_libname)"
+	else
+		LINK_OPTS="link=shared"
+		#there is no dynamicly linked version of libboost_test_exec_monitor and libboost_exception
+		LIBRARY_TARGETS="libboost_test_exec_monitor*.a libboost_exception*.a *$(get_libname)"
+	fi
+}
+
+src_compile() {
+	jobs=$( echo " ${MAKEOPTS} " | \
+		sed -e 's/ --jobs[= ]/ -j /g' \
+			-e 's/ -j \([1-9][0-9]*\)/ -j\1/g' \
+			-e 's/ -j\>/ -j1/g' | \
+			( while read -d ' ' j ; do if [[ "${j#-j}" = "$j" ]]; then continue; fi; jobs="${j#-j}"; done; echo ${jobs} ) )
+	if [[ "${jobs}" != "" ]]; then NUMJOBS="-j"${jobs}; fi;
+
+	export BOOST_ROOT="${S}"
+
+	einfo "Using the following command to build: "
+	einfo "${BJAM} ${NUMJOBS} -q -d+2 gentoorelease ${OPTIONS} threading=single,multi ${LINK_OPTS} runtime-link=shared"
+
+	${BJAM} ${NUMJOBS} -q -d+2 \
+		gentoorelease \
+		${OPTIONS} \
+		threading=single,multi ${LINK_OPTS} runtime-link=shared \
+		|| die "building boost failed"
+
+	# ... and do the whole thing one more time to get the debug libs
+	if use debug ; then
+		einfo "Using the following command to build: "
+		einfo "${BJAM} ${NUMJOBS} -q -d+2 gentoodebug ${OPTIONS} threading=single,multi ${LINK_OPTS} runtime-link=shared --buildid=debug"
+
+		${BJAM} ${NUMJOBS} -q -d+2 \
+			gentoodebug \
+			${OPTIONS} \
+			threading=single,multi ${LINK_OPTS} runtime-link=shared \
+			--buildid=debug \
+			|| die "building boost failed"
+	fi
+
+	if use tools; then
+		cd "${S}/tools/"
+		einfo "Using the following command to build the tools: "
+		einfo "${BJAM} ${NUMJOBS} -q -d+2 gentoorelease ${OPTIONS}"
+
+		${BJAM} ${NUMJOBS} -q -d+2\
+			gentoorelease \
+			${OPTIONS} \
+			|| die "building tools failed"
+	fi
+
+}
+
+src_install () {
+	export BOOST_ROOT="${S}"
+
+	einfo "Using the following command to install: "
+	einfo "${BJAM} -q -d+2 gentoorelease ${OPTIONS} threading=single,multi ${LINK_OPTS} runtime-link=shared --includedir=\"${D}/usr/include\" --libdir=\"${D}/usr/$(get_libdir)\" install"
+
+	${BJAM} -q -d+2 \
+		gentoorelease \
+		${OPTIONS} \
+		threading=single,multi ${LINK_OPTS} runtime-link=shared \
+		--includedir="${D}/usr/include" \
+		--libdir="${D}/usr/$(get_libdir)" \
+		install || die "install failed for options '${OPTIONS}'"
+
+	if use debug ; then
+		einfo "Using the following command to install: "
+		einfo "${BJAM} -q -d+2 gentoodebug ${OPTIONS} threading=single,multi ${LINK_OPTS} runtime-link=shared --includedir=\"${D}/usr/include\" --libdir=\"${D}/usr/$(get_libdir)\" --buildid=debug"
+
+		${BJAM} -q -d+2 \
+			gentoodebug \
+			${OPTIONS} \
+			threading=single,multi ${LINK_OPTS} runtime-link=shared \
+			--includedir="${D}/usr/include" \
+			--libdir="${D}/usr/$(get_libdir)" \
+			--buildid=debug \
+			install || die "install failed for options '${OPTIONS}'"
+	fi
+
+	use python || rm -rf "${D}/usr/include/boost-${MAJOR_PV}/boost"/python* || die
+
+	dodir /usr/share/boost-eselect/profiles/${SLOT} || die
+	touch "${D}/usr/share/boost-eselect/profiles/${SLOT}/default" || die
+	if use debug ; then
+		 touch "${D}/usr/share/boost-eselect/profiles/${SLOT}/debug" || die
+	fi
+
+	# Move the mpi.so to the right place and make sure it's slotted
+	if use mpi && use python; then
+		mkdir -p "${D}$(python_get_sitedir)/boost_${MAJOR_PV}" || die
+		mv "${D}/usr/$(get_libdir)/mpi.so" "${D}$(python_get_sitedir)/boost_${MAJOR_PV}/" || die
+		touch "${D}$(python_get_sitedir)/boost_${MAJOR_PV}/__init__.py" || die
+		_add_line "python=\"$(python_get_sitedir)/boost_${MAJOR_PV}/mpi.so\""
+	fi
+
+	if use doc ; then
+		find libs/*/* -iname "test" -or -iname "src" | xargs rm -rf
+		dohtml \
+			-A pdf,txt,cpp,hpp \
+			*.{htm,html,png,css} \
+			-r doc || die
+		dohtml \
+			-A pdf,txt \
+			-r tools || die
+		insinto /usr/share/doc/${PF}/html
+		doins -r libs || die
+		doins -r more || die
+
+		# To avoid broken links
+		insinto /usr/share/doc/${PF}/html
+		doins LICENSE_1_0.txt || die
+
+		dosym /usr/include/boost-${MAJOR_PV}/boost /usr/share/doc/${PF}/html/boost || die
+	fi
+
+	cd "${D}/usr/$(get_libdir)" || die
+
+	# Remove (unversioned) symlinks
+	# And check for what we remove to catch bugs
+	# got a better idea how to do it? tell me!
+	for f in $(ls -1 ${LIBRARY_TARGETS} | grep -v "${MAJOR_PV}") ; do
+		if [ ! -h "${f}" ] ; then
+			eerror "Ups, tried to remove '${f}' which is a a real file instead of a symlink"
+			die "slotting/naming of the libs broken!"
+		fi
+		rm "${f}" || die
+	done
+
+	# The threading libs obviously always gets the "-mt" (multithreading) tag
+	# some packages seem to have a problem with it. Creating symlinks...
+
+	if use static-libs ; then
+		THREAD_LIBS="libboost_thread-mt-${MAJOR_PV}.a libboost_thread-mt-${MAJOR_PV}$(get_libname)"
+	else
+		THREAD_LIBS="libboost_thread-mt-${MAJOR_PV}$(get_libname)"
+	fi
+	for lib in ${THREAD_LIBS} ; do
+		dosym ${lib} "/usr/$(get_libdir)/$(sed -e 's/-mt//' <<< ${lib})" || die
+	done
+
+	# The same goes for the mpi libs
+	if use mpi ; then
+		if use static-libs ; then
+			MPI_LIBS="libboost_mpi-mt-${MAJOR_PV}.a libboost_mpi-mt-${MAJOR_PV}$(get_libname)"
+		else
+			MPI_LIBS="libboost_mpi-mt-${MAJOR_PV}$(get_libname)"
+		fi
+		for lib in ${MPI_LIBS} ; do
+			dosym ${lib} "/usr/$(get_libdir)/$(sed -e 's/-mt//' <<< ${lib})" || die
+		done
+	fi
+
+	if use debug ; then
+		if use static-libs ; then
+			THREAD_DEBUG_LIBS="libboost_thread-mt-${MAJOR_PV}-debug$(get_libname) libboost_thread-mt-${MAJOR_PV}-debug.a"
+		else
+			THREAD_DEBUG_LIBS="libboost_thread-mt-${MAJOR_PV}-debug$(get_libname)"
+		fi
+
+		for lib in ${THREAD_DEBUG_LIBS} ; do
+			dosym ${lib} "/usr/$(get_libdir)/$(sed -e 's/-mt//' <<< ${lib})" || die
+		done
+
+		if use mpi ; then
+			if use static-libs ; then
+				MPI_DEBUG_LIBS="libboost_mpi-mt-${MAJOR_PV}-debug.a libboost_mpi-mt-${MAJOR_PV}-debug$(get_libname)"
+			else
+				MPI_DEBUG_LIBS="libboost_mpi-mt-${MAJOR_PV}-debug$(get_libname)"
+			fi
+
+			for lib in ${MPI_DEBUG_LIBS} ; do
+				dosym ${lib} "/usr/$(get_libdir)/$(sed -e 's/-mt//' <<< ${lib})" || die
+			done
+		fi
+	fi
+
+	# Create a subdirectory with completely unversioned symlinks
+	# and store the names in the profiles-file for eselect
+	dodir /usr/$(get_libdir)/boost-${MAJOR_PV} || die
+
+	_add_line "libs=\"" default
+	for f in $(ls -1 ${LIBRARY_TARGETS} | grep -v debug) ; do
+		dosym ../${f} /usr/$(get_libdir)/boost-${MAJOR_PV}/${f/-${MAJOR_PV}} || die
+		_add_line "/usr/$(get_libdir)/${f}" default
+	done
+	_add_line "\"" default
+
+	if use debug ; then
+		_add_line "libs=\"" debug
+		dodir /usr/$(get_libdir)/boost-${MAJOR_PV}-debug || die
+		for f in $(ls -1 ${LIBRARY_TARGETS} | grep debug) ; do
+			dosym ../${f} /usr/$(get_libdir)/boost-${MAJOR_PV}-debug/${f/-${MAJOR_PV}-debug} || die
+			_add_line "/usr/$(get_libdir)/${f}" debug
+		done
+		_add_line "\"" debug
+
+		_add_line "includes=\"/usr/include/boost-${MAJOR_PV}/boost\"" debug
+		_add_line "suffix=\"-debug\"" debug
+	fi
+
+	_add_line "includes=\"/usr/include/boost-${MAJOR_PV}/boost\"" default
+
+	if use tools; then
+		cd "${S}/dist/bin" || die
+		# Append version postfix to binaries for slotting
+		_add_line "bins=\""
+		for b in * ; do
+			newbin "${b}" "${b}-${MAJOR_PV}" || die
+			_add_line "/usr/bin/${b}-${MAJOR_PV}"
+		done
+		_add_line "\""
+
+		cd "${S}/dist" || die
+		insinto /usr/share || die
+		doins -r share/boostbook || die
+		# Append version postfix for slotting
+		mv "${D}/usr/share/boostbook" "${D}/usr/share/boostbook-${MAJOR_PV}" || die
+		_add_line "dirs=\"/usr/share/boostbook-${MAJOR_PV}\""
+	fi
+
+	cd "${S}/status" || die
+	if [ -f regress.log ] ; then
+		docinto status || die
+		dohtml *.html ../boost.png || die
+		dodoc regress.log || die
+	fi
+
+	use python && python_need_rebuild
+
+	# boost's build system truely sucks for not having a destdir.  Because for
+	# this reason we are forced to build with a prefix that includes the
+	# DESTROOT, dynamic libraries on Darwin end messed up, referencing the
+	# DESTROOT instread of the actual EPREFIX.  There is no way out of here
+	# but to do it the dirty way of manually setting the right install_names.
+	[[ -z ${ED+set} ]] && local ED=${D%/}${EPREFIX}/
+	if [[ ${CHOST} == *-darwin* ]] ; then
+		einfo "Working around completely broken build-system(tm)"
+		for d in "${ED}"usr/lib/*.dylib ; do
+			if [[ -f ${d} ]] ; then
+				# fix the "soname"
+				ebegin "  correcting install_name of ${d#${ED}}"
+				install_name_tool -id "/${d#${D}}" "${d}"
+				eend $?
+				# fix references to other libs
+				refs=$(otool -XL "${d}" | \
+					sed -e '1d' -e 's/^\t//' | \
+					grep "^libboost_" | \
+					cut -f1 -d' ')
+				for r in ${refs} ; do
+					ebegin "    correcting reference to ${r}"
+					install_name_tool -change \
+						"${r}" \
+						"${EPREFIX}/usr/lib/${r}" \
+						"${d}"
+					eend $?
+				done
+			fi
+		done
+	fi
+}
+
+src_test() {
+	export BOOST_ROOT=${S}
+
+	cd "${S}/tools/regression/build" || die
+	einfo "Using the following command to build test helpers: "
+	einfo "${BJAM} -q -d+2 gentoorelease ${OPTIONS} process_jam_log compiler_status"
+
+	${BJAM} -q -d+2 \
+		gentoorelease \
+		${OPTIONS} \
+		process_jam_log compiler_status \
+		|| die "building regression test helpers failed"
+
+	cd "${S}/status" || die
+
+	# Some of the test-checks seem to rely on regexps
+	export LC_ALL="C"
+
+	# The following is largely taken from tools/regression/run_tests.sh,
+	# but adapted to our needs.
+
+	# Run the tests & write them into a file for postprocessing
+	einfo "Using the following command to test: "
+	einfo "${BJAM} ${OPTIONS} --dump-tests"
+
+	${BJAM} \
+		${OPTIONS} \
+		--dump-tests 2>&1 | tee regress.log || die
+
+	# Postprocessing
+	cat regress.log | "${S}/tools/regression/build/bin/gcc-$(gcc-version)/gentoorelease/pch-off/process_jam_log" --v2
+	if test $? != 0 ; then
+		die "Postprocessing the build log failed"
+	fi
+
+	cat > "${S}/status/comment.html" <<- __EOF__
+		<p>Tests are run on a <a href="http://www.gentoo.org">Gentoo</a> system.</p>
+__EOF__
+
+	# Generate the build log html summary page
+	"${S}/tools/regression/build/bin/gcc-$(gcc-version)/gentoorelease/pch-off/compiler_status" --v2 \
+		--comment "${S}/status/comment.html" "${S}" \
+		cs-$(uname).html cs-$(uname)-links.html
+	if test $? != 0 ; then
+		die "Generating the build log html summary page failed"
+	fi
+
+	# And do some cosmetic fixes :)
+	sed -i -e 's|http://www.boost.org/boost.png|boost.png|' *.html || die
+}
+
+pkg_postinst() {
+	if use eselect ; then
+		eselect boost update || ewarn "eselect boost update failed."
+	fi
+
+	if [ ! -h "${ROOT}/etc/eselect/boost/active" ] ; then
+		elog "No active boost version found. Calling eselect to select one..."
+		eselect boost update || ewarn "eselect boost update failed."
+	fi
+}

diff --git a/dev-libs/boost/files/1.35-remove-hardlink-creation.patch b/dev-libs/boost/files/1.35-remove-hardlink-creation.patch
new file mode 100644
index 0000000..4b1c143
--- /dev/null
+++ b/dev-libs/boost/files/1.35-remove-hardlink-creation.patch
@@ -0,0 +1,21 @@
+--- Jamroot.orig	2009-04-03 19:23:02.876426258 +0200
++++ Jamroot	2009-04-03 19:37:05.899697787 +0200
+@@ -444,14 +444,10 @@
+         }
+         return $(result) ;
+     }    
+-            
+-    generate stage-unversioned : stage-proper : 
+-      <generating-rule>@make-unversioned-links ;
+-    explicit stage-unversioned ;
+-    
+-    generate install-unversioned : install-proper : 
+-      <generating-rule>@make-unversioned-links ;
+-    explicit install-unversioned ;
++
++
++    alias stage-unversioned ;
++    alias install-unversioned ;
+ }
+ else
+ {

diff --git a/dev-libs/boost/files/boost-1.37.0-darwin-long-double.patch b/dev-libs/boost/files/boost-1.37.0-darwin-long-double.patch
new file mode 100644
index 0000000..06a3138
--- /dev/null
+++ b/dev-libs/boost/files/boost-1.37.0-darwin-long-double.patch
@@ -0,0 +1,14 @@
+Numerous sources suggest just to do this, boost devs only seem to "know"
+it is "bad".  Without this, boost simply dies compiling (joy).
+
+--- boost/math/tools/config.hpp
++++ boost/math/tools/config.hpp
+@@ -43,7 +43,7 @@
+ // Darwin's rather strange "double double" is rather hard to
+ // support, it should be possible given enough effort though...
+ //
+-#  define BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS
++// fsck it! #  define BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS
+ #endif
+ #if defined(unix) && defined(__INTEL_COMPILER) && (__INTEL_COMPILER <= 1000)
+ //

diff --git a/dev-libs/boost/files/boost-1.41.0-fix-CRC-on-x64-during-gzip-decompression.patch b/dev-libs/boost/files/boost-1.41.0-fix-CRC-on-x64-during-gzip-decompression.patch
new file mode 100644
index 0000000..1707ff6
--- /dev/null
+++ b/dev-libs/boost/files/boost-1.41.0-fix-CRC-on-x64-during-gzip-decompression.patch
@@ -0,0 +1,24 @@
+diff -Nur boost_1_41_0.orig/boost/iostreams/filter/zlib.hpp boost_1_41_0/boost/iostreams/filter/zlib.hpp
+--- boost_1_41_0.orig/boost/iostreams/filter/zlib.hpp	2009-10-14 18:20:36.000000000 +0300
++++ boost_1_41_0/boost/iostreams/filter/zlib.hpp	2009-12-13 16:47:53.078056507 +0200
+@@ -20,6 +20,7 @@
+ #include <memory>            // allocator, bad_alloc.
+ #include <new>          
+ #include <boost/config.hpp>  // MSVC, STATIC_CONSTANT, DEDUCED_TYPENAME, DINKUM.
++#include <boost/cstdint.hpp> // uint*_t
+ #include <boost/detail/workaround.hpp>
+ #include <boost/iostreams/constants.hpp>   // buffer size.
+ #include <boost/iostreams/detail/config/auto_link.hpp>
+@@ -43,9 +44,9 @@
+ namespace zlib {
+                     // Typedefs
+ 
+-typedef unsigned int uint;
+-typedef unsigned char byte;
+-typedef unsigned long ulong;
++typedef uint32_t uint;
++typedef uint8_t byte;
++typedef uint32_t ulong;
+ 
+ // Prefix 'x' prevents symbols from being redefined when Z_PREFIX is defined
+ typedef void* (*xalloc_func)(void*, zlib::uint, zlib::uint);

diff --git a/dev-libs/boost/files/boost-1.41.0-iostreams-missing-include-guard.patch b/dev-libs/boost/files/boost-1.41.0-iostreams-missing-include-guard.patch
new file mode 100644
index 0000000..3f5bb7e
--- /dev/null
+++ b/dev-libs/boost/files/boost-1.41.0-iostreams-missing-include-guard.patch
@@ -0,0 +1,20 @@
+diff --git a/boost/iostreams/device/mapped_file.hpp b/boost/iostreams/device/mapped_file.hpp
+index aae9dab..be656ef 100644
+--- a/boost/iostreams/device/mapped_file.hpp
++++ b/boost/iostreams/device/mapped_file.hpp
+@@ -4,6 +4,9 @@
+ // Distributed under the Boost Software License, Version 1.0. (See accompanying
+ // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt.)
+ 
++#ifndef BOOST_IOSTREAMS_MAPPED_FILE_HPP_INCLUDED
++#define BOOST_IOSTREAMS_MAPPED_FILE_HPP_INCLUDED
++
+ #if defined(_MSC_VER) && (_MSC_VER >= 1020)
+ # pragma once
+ #endif
+@@ -591,3 +594,5 @@ operator^=(mapped_file::mapmode& a, mapped_file::mapmode b)
+ } } // End namespaces iostreams, boost.
+ 
+ #include <boost/config/abi_suffix.hpp> // pops abi_suffix.hpp pragmas
++
++#endif // #ifndef BOOST_IOSTREAMS_MAPPED_FILE_HPP_INCLUDED

diff --git a/dev-libs/boost/files/boost-1.41.0-mpi_process_group-missing-include.patch b/dev-libs/boost/files/boost-1.41.0-mpi_process_group-missing-include.patch
new file mode 100644
index 0000000..13f7b8a
--- /dev/null
+++ b/dev-libs/boost/files/boost-1.41.0-mpi_process_group-missing-include.patch
@@ -0,0 +1,12 @@
+Index: boost/graph/distributed/detail/mpi_process_group.ipp
+===================================================================
+--- boost/graph/distributed/detail/mpi_process_group.ipp	(revision 57744)
++++ boost/graph/distributed/detail/mpi_process_group.ipp	(working copy)
+@@ -28,6 +28,7 @@
+ #include <queue>
+ #include <stack>
+ #include <boost/graph/distributed/detail/tag_allocator.hpp>
++#include <stdio.h>
+
+ // #define PBGL_PROCESS_GROUP_DEBUG
+

diff --git a/dev-libs/boost/files/boost-1.41.0-parameter-needs-python.patch b/dev-libs/boost/files/boost-1.41.0-parameter-needs-python.patch
new file mode 100644
index 0000000..2002ba3
--- /dev/null
+++ b/dev-libs/boost/files/boost-1.41.0-parameter-needs-python.patch
@@ -0,0 +1,106 @@
+--- boost/parameter/aux_/maybe.hpp	2008-03-22 21:45:55.000000000 +0000
++++ boost/parameter/aux_/maybe.hpp.new	2009-10-22 03:55:24.000000000 +0000
+@@ -2,20 +2,41 @@
+ // subject to the Boost Software License, Version 1.0. (See accompanying
+ // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+ 
+-#ifndef BOOST_PARAMETER_MAYBE_060211_HPP
+-# define BOOST_PARAMETER_MAYBE_060211_HPP
++//
++// 2009.10.21 TDS remove depenency on boost::python::detail::referent_storage
++//
++#ifndef BOOST_PARAMETER_MAYBE_091021_HPP
++# define BOOST_PARAMETER_MAYBE_091021_HPP
+ 
+ # include <boost/mpl/if.hpp>
+ # include <boost/mpl/identity.hpp>
+ # include <boost/type_traits/is_reference.hpp>
+ # include <boost/type_traits/add_reference.hpp>
+ # include <boost/optional.hpp>
+-# include <boost/python/detail/referent_storage.hpp>
++# include <boost/aligned_storage.hpp>
+ # include <boost/type_traits/remove_cv.hpp>
+ # include <boost/type_traits/add_const.hpp>
+ 
+ namespace boost { namespace parameter { namespace aux {
+ 
++template <class T> struct referent_size;
++
++template <class T>
++struct referent_size<T&>
++{
++  BOOST_STATIC_CONSTANT(std::size_t, value = sizeof(T));
++};
++
++// A metafunction returning a POD type which can store U, where T ==
++// U&. If T is not a reference type, returns a POD which can store T.
++template <class T>
++struct referent_storage
++{
++  typedef typename boost::aligned_storage<
++    referent_size<T>::value
++    >::type type;
++};
++
+ struct maybe_base {};
+ 
+ template <class T>
+@@ -33,8 +54,8 @@
+         BOOST_DEDUCED_TYPENAME remove_reference<reference>::type
+     >::type non_cv_value;
+         
+-    explicit maybe(T value)
+-      : value(value)
++    explicit maybe(T value_)
++      : value(value_)
+       , constructed(false)
+     {}
+ 
+@@ -48,28 +69,28 @@
+             this->destroy();
+     }
+ 
+-    reference construct(reference value) const
++    reference construct(reference value_) const
+     {
+-        return value;
++        return value_;
+     }
+ 
+     template <class U>
+-    reference construct2(U const& value) const
++    reference construct2(U const& value_) const
+     {
+-        new (m_storage.bytes) non_cv_value(value);
++        new (m_storage.address()) non_cv_value(value_);
+         constructed = true;
+-        return *(non_cv_value*)m_storage.bytes;
++        return *(non_cv_value*)m_storage.address();
+     }
+ 
+     template <class U>
+-    reference construct(U const& value) const
++    reference construct(U const& value_) const
+     {
+-        return this->construct2(value);
++        return this->construct2(value_);
+     }
+ 
+     void destroy()
+     {
+-        ((non_cv_value*)m_storage.bytes)->~non_cv_value();
++        ((non_cv_value*)m_storage.address())->~non_cv_value();
+     }
+ 
+     typedef reference(maybe<T>::*safe_bool)() const;
+@@ -87,7 +108,9 @@
+ private:
+     boost::optional<T> value;
+     mutable bool constructed;
+-    mutable typename boost::python::detail::referent_storage<
++
++
++    mutable typename referent_storage<
+         reference
+     >::type m_storage;
+ };

diff --git a/dev-libs/boost/files/boost-1.41.0-spirit-fixed-include-guard-conflict.patch b/dev-libs/boost/files/boost-1.41.0-spirit-fixed-include-guard-conflict.patch
new file mode 100644
index 0000000..9b68e97
--- /dev/null
+++ b/dev-libs/boost/files/boost-1.41.0-spirit-fixed-include-guard-conflict.patch
@@ -0,0 +1,13 @@
+Index: trunk/boost/spirit/include/version.hpp
+===================================================================
+--- a/trunk/boost/spirit/include/version.hpp
++++ b/trunk/boost/spirit/include/version.hpp
+@@ -7,6 +7,6 @@
+   file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+ =============================================================================*/
+-#if !defined(SPIRIT_VERSION_NOVEMBER_13_2008_0834AM)
+-#define SPIRIT_VERSION_NOVEMBER_13_2008_0834AM
++#if !defined(SPIRIT_VERSION)
++#define SPIRIT_VERSION
+ 
+ ///////////////////////////////////////////////////////////////////////////////

diff --git a/dev-libs/boost/files/boost-1.42.0-gcc45-python.patch b/dev-libs/boost/files/boost-1.42.0-gcc45-python.patch
new file mode 100644
index 0000000..b415289
--- /dev/null
+++ b/dev-libs/boost/files/boost-1.42.0-gcc45-python.patch
@@ -0,0 +1,15 @@
+https://bugs.gentoo.org/317997
+https://svn.boost.org/trac/boost/ticket/4223
+https://svn.boost.org/trac/boost/changeset/62198
+
+--- a/boost/python/exception_translator.hpp
++++ b/boost/python/exception_translator.hpp
+@@ -18,7 +18,7 @@ template <class ExceptionType, class Translate>
+ void register_exception_translator(Translate translate, boost::type<ExceptionType>* = 0)
+ {
+     detail::register_exception_handler(
+-        bind<bool>(detail::translate_exception<ExceptionType,Translate>(), _1, _2, translate)
++        boost::bind<bool>(detail::translate_exception<ExceptionType,Translate>(), _1, _2, translate)
+         );
+ }
+ 

diff --git a/dev-libs/boost/files/boost-1.42.0-parameter-needs-python.patch b/dev-libs/boost/files/boost-1.42.0-parameter-needs-python.patch
new file mode 100644
index 0000000..2002ba3
--- /dev/null
+++ b/dev-libs/boost/files/boost-1.42.0-parameter-needs-python.patch
@@ -0,0 +1,106 @@
+--- boost/parameter/aux_/maybe.hpp	2008-03-22 21:45:55.000000000 +0000
++++ boost/parameter/aux_/maybe.hpp.new	2009-10-22 03:55:24.000000000 +0000
+@@ -2,20 +2,41 @@
+ // subject to the Boost Software License, Version 1.0. (See accompanying
+ // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+ 
+-#ifndef BOOST_PARAMETER_MAYBE_060211_HPP
+-# define BOOST_PARAMETER_MAYBE_060211_HPP
++//
++// 2009.10.21 TDS remove depenency on boost::python::detail::referent_storage
++//
++#ifndef BOOST_PARAMETER_MAYBE_091021_HPP
++# define BOOST_PARAMETER_MAYBE_091021_HPP
+ 
+ # include <boost/mpl/if.hpp>
+ # include <boost/mpl/identity.hpp>
+ # include <boost/type_traits/is_reference.hpp>
+ # include <boost/type_traits/add_reference.hpp>
+ # include <boost/optional.hpp>
+-# include <boost/python/detail/referent_storage.hpp>
++# include <boost/aligned_storage.hpp>
+ # include <boost/type_traits/remove_cv.hpp>
+ # include <boost/type_traits/add_const.hpp>
+ 
+ namespace boost { namespace parameter { namespace aux {
+ 
++template <class T> struct referent_size;
++
++template <class T>
++struct referent_size<T&>
++{
++  BOOST_STATIC_CONSTANT(std::size_t, value = sizeof(T));
++};
++
++// A metafunction returning a POD type which can store U, where T ==
++// U&. If T is not a reference type, returns a POD which can store T.
++template <class T>
++struct referent_storage
++{
++  typedef typename boost::aligned_storage<
++    referent_size<T>::value
++    >::type type;
++};
++
+ struct maybe_base {};
+ 
+ template <class T>
+@@ -33,8 +54,8 @@
+         BOOST_DEDUCED_TYPENAME remove_reference<reference>::type
+     >::type non_cv_value;
+         
+-    explicit maybe(T value)
+-      : value(value)
++    explicit maybe(T value_)
++      : value(value_)
+       , constructed(false)
+     {}
+ 
+@@ -48,28 +69,28 @@
+             this->destroy();
+     }
+ 
+-    reference construct(reference value) const
++    reference construct(reference value_) const
+     {
+-        return value;
++        return value_;
+     }
+ 
+     template <class U>
+-    reference construct2(U const& value) const
++    reference construct2(U const& value_) const
+     {
+-        new (m_storage.bytes) non_cv_value(value);
++        new (m_storage.address()) non_cv_value(value_);
+         constructed = true;
+-        return *(non_cv_value*)m_storage.bytes;
++        return *(non_cv_value*)m_storage.address();
+     }
+ 
+     template <class U>
+-    reference construct(U const& value) const
++    reference construct(U const& value_) const
+     {
+-        return this->construct2(value);
++        return this->construct2(value_);
+     }
+ 
+     void destroy()
+     {
+-        ((non_cv_value*)m_storage.bytes)->~non_cv_value();
++        ((non_cv_value*)m_storage.address())->~non_cv_value();
+     }
+ 
+     typedef reference(maybe<T>::*safe_bool)() const;
+@@ -87,7 +108,9 @@
+ private:
+     boost::optional<T> value;
+     mutable bool constructed;
+-    mutable typename boost::python::detail::referent_storage<
++
++
++    mutable typename referent_storage<
+         reference
+     >::type m_storage;
+ };

diff --git a/dev-libs/boost/files/boost-1.42.0-template_arity-gcc45.patch b/dev-libs/boost/files/boost-1.42.0-template_arity-gcc45.patch
new file mode 100644
index 0000000..4a49879
--- /dev/null
+++ b/dev-libs/boost/files/boost-1.42.0-template_arity-gcc45.patch
@@ -0,0 +1,28 @@
+MPL is broken with GCC 4.5.
+
+https://bugs.gentoo.org/317969
+https://svn.boost.org/trac/boost/ticket/4061
+https://svn.boost.org/trac/boost/changeset/61467
+
+--- a/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp
++++ b/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp
+@@ -83,7 +81,7 @@ template< typename F, int N >
+ struct template_arity_impl
+ {
+     BOOST_STATIC_CONSTANT(int, value =
+-          sizeof(arity_helper(type_wrapper<F>(), arity_tag<N>())) - 1
++          sizeof(::boost::mpl::aux::arity_helper(type_wrapper<F>(), arity_tag<N>())) - 1
+         );
+ };
+ 
+--- a/boost/mpl/aux_/template_arity.hpp
++++ b/boost/mpl/aux_/template_arity.hpp
+@@ -98,7 +98,7 @@ template< typename F, BOOST_MPL_AUX_NTTP_DECL(int, N) >
+ struct template_arity_impl
+ {
+     BOOST_STATIC_CONSTANT(int, value = 
+-          sizeof(arity_helper(type_wrapper<F>(),arity_tag<N>())) - 1
++          sizeof(::boost::mpl::aux::arity_helper(type_wrapper<F>(),arity_tag<N>())) - 1
+         );
+ };
+ 

diff --git a/dev-libs/boost/files/boost-1.45.0-lambda_bind.patch b/dev-libs/boost/files/boost-1.45.0-lambda_bind.patch
new file mode 100644
index 0000000..0b800e9
--- /dev/null
+++ b/dev-libs/boost/files/boost-1.45.0-lambda_bind.patch
@@ -0,0 +1,42 @@
+Index: trunk/boost/lambda/detail/function_adaptors.hpp
+===================================================================
+--- a/trunk/boost/lambda/detail/function_adaptors.hpp
++++ b/trunk/boost/lambda/detail/function_adaptors.hpp
+@@ -17,4 +17,7 @@
+ #include "boost/type_traits/same_traits.hpp"
+ #include "boost/type_traits/remove_reference.hpp"
++#include "boost/type_traits/remove_cv.hpp"
++#include "boost/type_traits/add_const.hpp"
++#include "boost/type_traits/add_volatile.hpp"
+ #include "boost/utility/result_of.hpp"
+ 
+@@ -238,12 +241,14 @@
+   template<class Args> class sig { 
+     typedef typename boost::tuples::element<1, Args>::type argument_type;
+-
+-    typedef typename detail::IF<boost::is_const<argument_type>::value,
++    typedef typename boost::remove_reference<
++      argument_type
++    >::type unref_type;
++
++    typedef typename detail::IF<boost::is_const<unref_type>::value,
+       typename boost::add_const<T>::type,
+       T
+     >::RET properly_consted_return_type;
+ 
+-    typedef typename detail::IF<
+-        boost::is_volatile<properly_consted_return_type>::value,
++    typedef typename detail::IF<boost::is_volatile<unref_type>::value,
+       typename boost::add_volatile<properly_consted_return_type>::type,
+       properly_consted_return_type
+@@ -252,6 +257,8 @@
+ 
+   public:
+-    typedef typename 
+-      boost::add_reference<properly_cvd_return_type>::type type;
++    typedef typename detail::IF<boost::is_reference<argument_type>::value,
++      typename boost::add_reference<properly_cvd_return_type>::type,
++      typename boost::remove_cv<T>::type
++    >::RET type;
+   };
+

diff --git a/dev-libs/boost/files/boost-1.46.1-python32.patch b/dev-libs/boost/files/boost-1.46.1-python32.patch
new file mode 100644
index 0000000..5e0583a
--- /dev/null
+++ b/dev-libs/boost/files/boost-1.46.1-python32.patch
@@ -0,0 +1,16 @@
+Index: libs/python/src/converter/builtin_converters.cpp
+===================================================================
+--- libs/python/src/converter/builtin_converters.cpp	(revision 67279)
++++ libs/python/src/converter/builtin_converters.cpp	(working copy)
+@@ -431,7 +431,11 @@
+           if (!result.empty())
+           {
+               int err = PyUnicode_AsWideChar(
++#if PY_VERSION_HEX >= 0x03020000
++                  intermediate
++#else
+                   (PyUnicodeObject *)intermediate
++#endif
+                 , &result[0]
+                 , result.size());
+ 

diff --git a/dev-libs/boost/files/buildid-fix.patch b/dev-libs/boost/files/buildid-fix.patch
new file mode 100644
index 0000000..2786f7c
--- /dev/null
+++ b/dev-libs/boost/files/buildid-fix.patch
@@ -0,0 +1,23 @@
+--- Jamroot.orig	2009-02-10 17:36:25.000000000 +0100
++++ Jamroot	2009-02-10 17:37:09.000000000 +0100
+@@ -442,15 +442,15 @@
+             local noversion-file ;
+             if $(nt)
+             {
+-                noversion-file = [ MATCH "(.*)-[0-9_]+([.]lib)" : $(name) ] ;
++                noversion-file = [ MATCH "(.*)-[0-9_]+(.*[.]lib)" : $(name) ] ;
+             }
+             else
+             {
+                 noversion-file = 
+-                  [ MATCH "(.*)-[0-9_]+([.]so)[.0-9]*" : $(name) ] 
+-                  [ MATCH "(.*)-[0-9_]+([.]dylib)" : $(name) ] 
+-                  [ MATCH "(.*)-[0-9_]+([.]a)" : $(name) ] 
+-                  [ MATCH "(.*)-[0-9_]+([.]dll[.]a)" : $(name) ] ;
++                  [ MATCH "(.*)-[0-9_]+(.*[.]so)[.0-9]*" : $(name) ] 
++                  [ MATCH "(.*)-[0-9_]+(.*[.]dylib)" : $(name) ] 
++                  [ MATCH "(.*)-[0-9_]+(.*[.]a)" : $(name) ] 
++                  [ MATCH "(.*)-[0-9_]+(.*[.]dll[.]a)" : $(name) ] ;
+             }
+                         
+             local new-name = 

diff --git a/dev-libs/boost/files/point_release_naming_fix.patch b/dev-libs/boost/files/point_release_naming_fix.patch
new file mode 100644
index 0000000..03c7d76
--- /dev/null
+++ b/dev-libs/boost/files/point_release_naming_fix.patch
@@ -0,0 +1,14 @@
+--- boostcpp.jam.orig	2011-03-15 12:49:05.000000000 +0000
++++ boostcpp.jam	2011-03-15 12:49:20.000000000 +0000
+@@ -150,10 +150,7 @@
+ 
+ local version-tag = [ MATCH "^([^.]+)[.]([^.]+)[.]([^.]+)" : $(BOOST_VERSION) ]
+     ;
+-if $(version-tag[3]) = 0
+-{
+-    version-tag = $(version-tag[1-2]) ;
+-}
++version-tag = $(version-tag[1-2]) ;
+ 
+ constant BOOST_VERSION_TAG : $(version-tag:J="_") ;
+ 

diff --git a/dev-libs/boost/files/random-Jamfile b/dev-libs/boost/files/random-Jamfile
new file mode 100644
index 0000000..5cb6f6b
--- /dev/null
+++ b/dev-libs/boost/files/random-Jamfile
@@ -0,0 +1,15 @@
+# Copyright (c) 2006 Tiziano Mueller
+#
+# Use, modification and distribution of the file is subject to the
+# Boost Software License, Version 1.0.
+# (See at http://www.boost.org/LICENSE_1_0.txt)
+
+
+project boost/random
+	: source-location ../ ;
+
+SOURCES = random_device ;
+
+lib boost_random
+	: $(SOURCES).cpp 
+	: <link>shared:<define>BOOST_RANDOM_DYN_LINK=1 ;

diff --git a/dev-libs/boost/files/random-Jamfile-1.45.0 b/dev-libs/boost/files/random-Jamfile-1.45.0
new file mode 100644
index 0000000..81fb136
--- /dev/null
+++ b/dev-libs/boost/files/random-Jamfile-1.45.0
@@ -0,0 +1,15 @@
+# Copyright (c) 2006 Tiziano Mueller
+#
+# Use, modification and distribution of the file is subject to the
+# Boost Software License, Version 1.0.
+# (See at http://www.boost.org/LICENSE_1_0.txt)
+
+
+project boost/random
+	: source-location ../src ;
+
+SOURCES = random_device ;
+
+lib boost_random
+	: $(SOURCES).cpp 
+	: <link>shared:<define>BOOST_RANDOM_DYN_LINK=1 ;

diff --git a/dev-libs/boost/files/random-Jamfile-1.46.1 b/dev-libs/boost/files/random-Jamfile-1.46.1
new file mode 100644
index 0000000..81fb136
--- /dev/null
+++ b/dev-libs/boost/files/random-Jamfile-1.46.1
@@ -0,0 +1,15 @@
+# Copyright (c) 2006 Tiziano Mueller
+#
+# Use, modification and distribution of the file is subject to the
+# Boost Software License, Version 1.0.
+# (See at http://www.boost.org/LICENSE_1_0.txt)
+
+
+project boost/random
+	: source-location ../src ;
+
+SOURCES = random_device ;
+
+lib boost_random
+	: $(SOURCES).cpp 
+	: <link>shared:<define>BOOST_RANDOM_DYN_LINK=1 ;

diff --git a/dev-libs/boost/files/random-Jamfile-1.47.0 b/dev-libs/boost/files/random-Jamfile-1.47.0
new file mode 100644
index 0000000..81fb136
--- /dev/null
+++ b/dev-libs/boost/files/random-Jamfile-1.47.0
@@ -0,0 +1,15 @@
+# Copyright (c) 2006 Tiziano Mueller
+#
+# Use, modification and distribution of the file is subject to the
+# Boost Software License, Version 1.0.
+# (See at http://www.boost.org/LICENSE_1_0.txt)
+
+
+project boost/random
+	: source-location ../src ;
+
+SOURCES = random_device ;
+
+lib boost_random
+	: $(SOURCES).cpp 
+	: <link>shared:<define>BOOST_RANDOM_DYN_LINK=1 ;

diff --git a/dev-libs/boost/files/remove-toolset-1.41.0.patch b/dev-libs/boost/files/remove-toolset-1.41.0.patch
new file mode 100644
index 0000000..b7d797c
--- /dev/null
+++ b/dev-libs/boost/files/remove-toolset-1.41.0.patch
@@ -0,0 +1,11 @@
+--- Jamroot	2009-08-23 18:17:37.000000000 +0200
++++ Jamroot.gentoo	2009-10-21 13:31:46.000000000 +0200
+@@ -352,7 +352,7 @@
+         if $(layout) = versioned
+         {
+             result = [ common.format-name
+-                <base> <toolset> <threading> <runtime> -$(BOOST_VERSION_TAG)
++                <base> <threading> <runtime> -$(BOOST_VERSION_TAG)
+                 -$(BUILD_ID)
+                 : $(name) : $(type) : $(property-set) ] ;
+         }        

diff --git a/dev-libs/boost/files/remove-toolset-1.42.0.patch b/dev-libs/boost/files/remove-toolset-1.42.0.patch
new file mode 100644
index 0000000..b7d797c
--- /dev/null
+++ b/dev-libs/boost/files/remove-toolset-1.42.0.patch
@@ -0,0 +1,11 @@
+--- Jamroot	2009-08-23 18:17:37.000000000 +0200
++++ Jamroot.gentoo	2009-10-21 13:31:46.000000000 +0200
+@@ -352,7 +352,7 @@
+         if $(layout) = versioned
+         {
+             result = [ common.format-name
+-                <base> <toolset> <threading> <runtime> -$(BOOST_VERSION_TAG)
++                <base> <threading> <runtime> -$(BOOST_VERSION_TAG)
+                 -$(BUILD_ID)
+                 : $(name) : $(type) : $(property-set) ] ;
+         }        

diff --git a/dev-libs/boost/files/remove-toolset-1.45.0.patch b/dev-libs/boost/files/remove-toolset-1.45.0.patch
new file mode 100644
index 0000000..c80191c
--- /dev/null
+++ b/dev-libs/boost/files/remove-toolset-1.45.0.patch
@@ -0,0 +1,11 @@
+--- Jamroot	2010-11-17 11:51:56.000000000 +0200
++++ Jamroot.gentoo	2011-01-06 15:07:17.893270002 +0200
+@@ -377,7 +377,7 @@
+         if $(layout) = versioned
+         {
+             result = [ common.format-name
+-                <base> <toolset> <threading> <runtime> -$(BOOST_VERSION_TAG)
++                <base> <threading> <runtime> -$(BOOST_VERSION_TAG)
+                 -$(BUILD_ID)
+                 : $(name) : $(type) : $(property-set) ] ;
+         }        

diff --git a/dev-libs/boost/files/remove-toolset-1.46.1.patch b/dev-libs/boost/files/remove-toolset-1.46.1.patch
new file mode 100644
index 0000000..c80191c
--- /dev/null
+++ b/dev-libs/boost/files/remove-toolset-1.46.1.patch
@@ -0,0 +1,11 @@
+--- Jamroot	2010-11-17 11:51:56.000000000 +0200
++++ Jamroot.gentoo	2011-01-06 15:07:17.893270002 +0200
+@@ -377,7 +377,7 @@
+         if $(layout) = versioned
+         {
+             result = [ common.format-name
+-                <base> <toolset> <threading> <runtime> -$(BOOST_VERSION_TAG)
++                <base> <threading> <runtime> -$(BOOST_VERSION_TAG)
+                 -$(BUILD_ID)
+                 : $(name) : $(type) : $(property-set) ] ;
+         }        

diff --git a/dev-libs/boost/files/remove-toolset-1.47.0.patch b/dev-libs/boost/files/remove-toolset-1.47.0.patch
new file mode 100644
index 0000000..d74a882
--- /dev/null
+++ b/dev-libs/boost/files/remove-toolset-1.47.0.patch
@@ -0,0 +1,11 @@
+--- boostcpp.jam	2010-11-17 11:51:56.000000000 +0200
++++ boostcpp.jam.gentoo	2011-01-06 15:07:17.893270002 +0200
+@@ -377,7 +377,7 @@
+         if $(layout) = versioned
+         {
+             result = [ common.format-name
+-                <base> <toolset> <threading> <runtime> -$(BOOST_VERSION_TAG)
++                <base> <threading> <runtime> -$(BOOST_VERSION_TAG)
+                 -$(BUILD_ID)
+                 : $(name) : $(type) : $(property-set) ] ;
+         }        

diff --git a/dev-libs/boost/files/remove_toolset_from_targetname.patch b/dev-libs/boost/files/remove_toolset_from_targetname.patch
new file mode 100644
index 0000000..1a0cb1c
--- /dev/null
+++ b/dev-libs/boost/files/remove_toolset_from_targetname.patch
@@ -0,0 +1,11 @@
+--- boost_1_36_0/Jamroot.orig	2008-11-14 16:36:10.000000000 +0100
++++ boost_1_36_0/Jamroot	2008-11-14 16:36:54.000000000 +0100
+@@ -311,7 +311,7 @@
+         if $(layout) = versioned
+         {
+             local result = [ common.format-name
+-                <base> <toolset> <threading> <runtime> -$(BOOST_VERSION_TAG)
++                <base> <threading> <runtime> -$(BOOST_VERSION_TAG)
+                 -$(BUILD_ID)
+                 : $(name) : $(type) : $(property-set) ] ;
+             

diff --git a/dev-libs/boost/metadata.xml b/dev-libs/boost/metadata.xml
new file mode 100644
index 0000000..92c1f4e
--- /dev/null
+++ b/dev-libs/boost/metadata.xml
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+  <herd>cpp</herd>
+  <maintainer>
+    <email>dev-zero@gentoo.org</email>
+    <name>Tiziano Müller</name>
+  </maintainer>
+  <maintainer>
+    <email>SebastianLuther@gmx.de</email>
+    <name>Sebastian Luther</name>
+  </maintainer>
+  <maintainer>
+  	<email>hwoarang@gentoo.org</email>
+	<name>Markos Chandras</name>
+  </maintainer>
+<longdescription>
+Boost is a free peer-reviewed portable C++ source libraries.
+</longdescription>
+<use>
+  <flag name='tools'>Build and install the boost tools (bcp, quickbook,
+    inspect, wave)</flag>
+  <flag name='eselect'>Run "eselect boost update" even if version is
+    already selected</flag>
+</use>
+</pkgmetadata>

diff --git a/dev-util/boost-build/ChangeLog b/dev-util/boost-build/ChangeLog
new file mode 100644
index 0000000..9248600
--- /dev/null
+++ b/dev-util/boost-build/ChangeLog
@@ -0,0 +1,285 @@
+# ChangeLog for dev-util/boost-build
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/boost-build/ChangeLog,v 1.71 2011/07/10 15:15:48 aballier Exp $
+
+  10 Jul 2011; Alexis Ballier <aballier@gentoo.org> boost-build-1.46.1.ebuild:
+  keyword ~x86-fbsd
+
+  16 Apr 2011; Raúl Porcel <armin76@gentoo.org> boost-build-1.42.0.ebuild:
+  ia64/s390/sh stable wrt #344677
+
+*boost-build-1.46.1 (22 Mar 2011)
+
+  22 Mar 2011; Markos Chandras <hwoarang@gentoo.org>
+  +boost-build-1.46.1.ebuild:
+  Version bump. Bug #356479
+
+  13 Mar 2011; Markus Meier <maekke@gentoo.org> boost-build-1.42.0.ebuild:
+  arm stable, bug #344677
+
+  08 Mar 2011; Tobias Klausmann <klausman@gentoo.org>
+  boost-build-1.42.0.ebuild:
+  Stable on alpha, bug #344677
+
+  06 Mar 2011; Kacper Kowalik <xarthisius@gentoo.org>
+  boost-build-1.42.0.ebuild:
+  ppc64 stable wrt #344677
+
+  21 Feb 2011; Michael Weber <xmw@gentoo.org> boost-build-1.42.0.ebuild:
+  sparc stable, bug 344677
+
+  10 Jan 2011; Markos Chandras <hwoarang@gentoo.org> boost-build-1.42.0.ebuild:
+  Stable on amd64 wrt bug 344677
+
+  08 Jan 2011; Brent Baude <ranger@gentoo.org> boost-build-1.42.0.ebuild:
+  Marking boost-build-1.42.0 ppc for bug 344677
+
+*boost-build-1.45.0 (06 Jan 2011)
+
+  06 Jan 2011; Tiziano Müller <dev-zero@gentoo.org>
+  +boost-build-1.45.0.ebuild:
+  Version bump (bug #320039).
+
+  01 Jan 2011; Thomas Kahle <tomka@gentoo.org> boost-build-1.42.0.ebuild:
+  x86 stable per bug 344677
+
+  12 Dec 2010; Markos Chandras <hwoarang@gentoo.org> metadata.xml:
+  add myself on metadata
+
+  09 Dec 2010; Dirkjan Ochtman <djc@gentoo.org> metadata.xml:
+  Remove myself as a maintainer.
+
+  24 Nov 2010; Jeroen Roovers <jer@gentoo.org> boost-build-1.42.0.ebuild:
+  Stable for HPPA (bug #344677).
+
+  19 Sep 2010; Raúl Porcel <armin76@gentoo.org> boost-build-1.41.0.ebuild:
+  s390 stable wrt #306335
+
+  14 Aug 2010; Ryan Hill <dirtyepic@gentoo.org> boost-build-1.34.1.ebuild,
+  boost-build-1.35.0-r1.ebuild, boost-build-1.35.0-r2.ebuild,
+  boost-build-1.37.0.ebuild, boost-build-1.39.0.ebuild,
+  boost-build-1.40.0.ebuild, boost-build-1.41.0.ebuild,
+  boost-build-1.42.0.ebuild, +files/boost-build-1.42-env-whitespace.patch:
+  Fix build failures when compiler flags contain whitespace (bug #293652 by
+  Sebastian Luther).
+
+  22 Apr 2010; Samuli Suominen <ssuominen@gentoo.org>
+  -boost-build-1.36.0.ebuild:
+  Remove boost-1.36.0 for gcc-porting wrt #287638.
+
+  17 Apr 2010; Joseph Jezak <josejx@gentoo.org> boost-build-1.41.0.ebuild:
+  Marked ppc stable for bug #305195.
+
+  31 Mar 2010; Raúl Porcel <armin76@gentoo.org> boost-build-1.41.0.ebuild:
+  alpha/arm/ia64/sh/sparc stable wrt #306335
+
+  27 Mar 2010; Pacho Ramos <pacho@gentoo.org> boost-build-1.41.0.ebuild:
+  amd64 stable, security bug 305195
+
+  21 Mar 2010; Brent Baude <ranger@gentoo.org> boost-build-1.41.0.ebuild:
+  Marking boost-build-1.41.0 ppc64 for bug 306335
+
+  04 Mar 2010; Jeroen Roovers <jer@gentoo.org> boost-build-1.41.0.ebuild:
+  Stable for HPPA (bug #306333).
+
+*boost-build-1.42.0 (03 Mar 2010)
+
+  03 Mar 2010; Dirkjan Ochtman <djc@gentoo.org>
+  +files/boost-1.42-fix-mpich2-detection.patch, +boost-build-1.42.0.ebuild:
+  Version bump to dev-util/boost-build-1.42.0.
+
+  03 Mar 2010; Christian Faulhammer <fauli@gentoo.org>
+  boost-build-1.41.0.ebuild:
+  stable x86, security bug 305195
+
+  27 Dec 2009; Raúl Porcel <armin76@gentoo.org>
+  boost-build-1.35.0-r2.ebuild:
+  alpha/arm/ia64/s390/sh/sparc stable
+
+  10 Dec 2009; Alexis Ballier <aballier@gentoo.org>
+  boost-build-1.41.0.ebuild:
+  keyword ~x86-fbsd
+
+  02 Dec 2009; Dirkjan Ochtman <djc@gentoo.org> metadata.xml:
+  Add maintainer-by-proxy.
+
+*boost-build-1.41.0 (02 Dec 2009)
+
+  02 Dec 2009; Dirkjan Ochtman <djc@gentoo.org>
+  +files/boost-1.41-fix-mpich2-detection.patch, +boost-build-1.41.0.ebuild:
+  Version bump to boost-build-1.41.0.
+
+  25 Oct 2009; Markus Meier <maekke@gentoo.org>
+  boost-build-1.35.0-r2.ebuild:
+  amd64/x86 stable, bug #284686
+
+  24 Oct 2009; nixnut <nixnut@gentoo.org> boost-build-1.35.0-r2.ebuild:
+  ppc stable #284686
+
+  24 Oct 2009; Mike Frysinger <vapier@gentoo.org>
+  boost-build-1.35.0-r2.ebuild, boost-build-1.36.0.ebuild,
+  boost-build-1.37.0.ebuild, boost-build-1.39.0.ebuild,
+  boost-build-1.40.0.ebuild:
+  Add missing `die` check to tarball unpack.
+
+  23 Oct 2009; Jeroen Roovers <jer@gentoo.org> boost-build-1.35.0-r2.ebuild:
+  Stable for HPPA (bug #288723).
+
+*boost-build-1.40.0 (21 Oct 2009)
+
+  21 Oct 2009; Dirkjan Ochtman <djc@gentoo.org> +boost-build-1.40.0.ebuild,
+  metadata.xml:
+  Version bump to 1.40 (add myself to maintainers).
+
+*boost-build-1.39.0 (16 Jul 2009)
+
+  16 Jul 2009; Tiziano Müller <dev-zero@gentoo.org>
+  +boost-build-1.39.0.ebuild:
+  Version bump (bug #261400).
+
+  15 May 2009; Raúl Porcel <armin76@gentoo.org>
+  boost-build-1.35.0-r1.ebuild:
+  arm/s390/sh stable wrt #245192
+
+  14 Apr 2009; Brent Baude <ranger@gentoo.org> boost-build-1.35.0-r1.ebuild:
+  Marking boost-build-1.35.0-r1 ppc64 for bug 245192
+
+  04 Apr 2009; Raúl Porcel <armin76@gentoo.org>
+  boost-build-1.35.0-r1.ebuild:
+  ia64 stable wrt #245192
+
+  04 Apr 2009; Markus Meier <maekke@gentoo.org>
+  boost-build-1.35.0-r1.ebuild:
+  x86 stable, bug #245192
+
+  02 Apr 2009; Friedrich Oslage <bluebird@gentoo.org>
+  boost-build-1.35.0-r1.ebuild:
+  Stable on sparc, bug #245192
+
+  01 Apr 2009; Joseph Jezak <josejx@gentoo.org>
+  boost-build-1.35.0-r1.ebuild:
+  Marked ppc stable for bug #245192.
+
+  29 Mar 2009; Thomas Anderson <gentoofan23@gentoo.org>
+  boost-build-1.35.0-r1.ebuild:
+  stable amd64, bug 245192
+
+  24 Mar 2009; Ryan Hill <dirtyepic@gentoo.org> boost-build-1.34.1.ebuild,
+  boost-build-1.35.0-r1.ebuild, boost-build-1.35.0-r2.ebuild,
+  boost-build-1.36.0.ebuild, boost-build-1.37.0.ebuild:
+  Fix homepage. Bug #234246.
+
+  07 Feb 2009; Tobias Klausmann <klausman@gentoo.org>
+  boost-build-1.35.0-r1.ebuild:
+  Stable on alpha, bug #245192
+
+*boost-build-1.37.0 (16 Dec 2008)
+*boost-build-1.36.0 (16 Dec 2008)
+*boost-build-1.35.0-r2 (16 Dec 2008)
+
+  16 Dec 2008; Tiziano Müller <dev-zero@gentoo.org>
+  +boost-build-1.35.0-r2.ebuild, +boost-build-1.36.0.ebuild,
+  +boost-build-1.37.0.ebuild:
+  Version bump. Still p.masked since the new versions are slottable.
+
+*boost-build-1.35.0-r1 (05 Jun 2008)
+
+  05 Jun 2008; Tiziano Müller <dev-zero@gentoo.org>
+  +files/1.35.0-fix_broken_icu_build.patch, -boost-build-1.35.0.ebuild,
+  +boost-build-1.35.0-r1.ebuild:
+  Fixed ICU compilation bug
+
+  05 May 2008; Jeroen Roovers <jer@gentoo.org> boost-build-1.34.1.ebuild,
+  boost-build-1.35.0.ebuild:
+  Remove unneeded quotation marks (bug #210029, comment #30).
+
+*boost-build-1.35.0 (24 Apr 2008)
+
+  24 Apr 2008; Tiziano Müller <dev-zero@gentoo.org>
+  +boost-build-1.35.0.ebuild:
+  Version bump (bug #216037)
+
+  15 Mar 2008; Tiziano Müller <dev-zero@gentoo.org>
+  boost-build-1.34.1.ebuild:
+  Fixed typo in description.
+
+  14 Feb 2008; Mark Loeser <halcy0n@gentoo.org> boost-build-1.34.1.ebuild:
+  Fix bug #210029; thanks to Daniel Pielmeier <daniel.pielmeier AT googlemail
+  DOT com>
+
+  13 Feb 2008; Tiziano Müller <dev-zero@gentoo.org>
+  boost-build-1.34.1.ebuild:
+  Added python USE-flag. Adding LDFLAGS to LIBS to fix bug #209794 (see ebuild
+  for more info).
+
+  05 Feb 2008; Samuli Suominen <drac@gentoo.org> boost-build-1.34.1.ebuild:
+  amd64 stable wrt security #205955
+
+  26 Jan 2008; Tobias Scherbaum <dertobi123@gentoo.org>
+  boost-build-1.34.1.ebuild:
+  ppc stable, bug #205955
+
+  26 Jan 2008; Jeroen Roovers <jer@gentoo.org> boost-build-1.34.1.ebuild:
+  Stable for HPPA (bug #205955).
+
+  25 Jan 2008; Markus Rothe <corsair@gentoo.org> boost-build-1.34.1.ebuild:
+  Stable on ppc64; bug #205955
+
+  25 Jan 2008; Raúl Porcel <armin76@gentoo.org> boost-build-1.34.1.ebuild:
+  alpha/ia64/sparc stable wrt security #205955
+
+  24 Jan 2008; Christian Faulhammer <opfer@gentoo.org>
+  boost-build-1.34.1.ebuild:
+  stable x86, security bug 205955
+
+  20 Jan 2008; Ryan Hill <dirtyepic@gentoo.org> Manifest:
+  Fix Manifest.
+
+  24 Dec 2007; Tiziano Müller <dev-zero@gentoo.org>
+  -boost-build-1.34.0.ebuild:
+  Dropped old version.
+
+  26 Sep 2007; Tiziano Müller <dev-zero@gentoo.org>
+  boost-build-1.34.1.ebuild:
+  Marked ~arm and ~sh for bug #182196
+
+*boost-build-1.34.1 (29 Jul 2007)
+
+  29 Jul 2007; Tiziano Müller <dev-zero@gentoo.org>
+  +boost-build-1.34.1.ebuild:
+  Version bump (bug #186811)
+
+  23 Jun 2007; Joshua Kinard <kumba@gentoo.org> boost-build-1.34.0.ebuild:
+  Marked unstable on mips, per #182196.
+
+  20 Jun 2007; Joseph Jezak <josejx@gentoo.org> boost-build-1.34.0.ebuild:
+  Marked ~ppc for bug #182196.
+
+  18 Jun 2007; Raúl Porcel <armin76@gentoo.org> boost-build-1.34.0.ebuild:
+  Add ~alpha/~ia64 wrt #182196
+
+  18 Jun 2007; Markus Rothe <corsair@gentoo.org> boost-build-1.34.0.ebuild:
+  Added ~ppc64; bug #182196
+
+  18 Jun 2007; Jeroen Roovers <jer@gentoo.org> boost-build-1.34.0.ebuild:
+  Marked ~hppa (bug #182196).
+
+  16 Jun 2007; Ferris McCormick <fmccor@gentoo.org>
+  boost-build-1.34.0.ebuild:
+  Add ~sparc keyword --- part of Bug #182196 --- installs as expected.
+
+  10 Jun 2007; Ryan Hill <dirtyepic@gentoo.org> boost-build-1.34.0.ebuild:
+  Boost building boost-build with GCC 4.2, bug #181139.
+
+*boost-build-1.34.0 (03 Jun 2007)
+
+  03 Jun 2007; Tiziano Müller <dev-zero@gentoo.org>
+  -boost-build-1.34_pre20061214.ebuild, +boost-build-1.34.0.ebuild:
+  Version bump.
+
+*boost-build-1.34_pre20061214 (18 Dec 2006)
+
+  18 Dec 2006; Tiziano Müller <dev-zero@gentoo.org> +metadata.xml,
+  +boost-build-1.34_pre20061214.ebuild:
+  Initial commit.
+

diff --git a/dev-util/boost-build/Manifest b/dev-util/boost-build/Manifest
new file mode 100644
index 0000000..49dc9d1
--- /dev/null
+++ b/dev-util/boost-build/Manifest
@@ -0,0 +1,27 @@
+AUX 1.35.0-fix_broken_icu_build.patch 1752 RMD160 0e7ee05c17d76e29abff915e84181361e4095b89 SHA1 273de1fa957091bf3c0d041f54aec9797810f3cf SHA256 71d858236c47b835947d996d3caf0a1de96ace267140d52dd09594db3a96729d
+AUX boost-1.41-fix-mpich2-detection.patch 1378 RMD160 fd81c6a03dd8bf2d6afdaf3fa4957ee0ff1f6e10 SHA1 bbe5ba6fb554ab89e5fa4649f8a44ad7cd1dfa80 SHA256 8e1adadb1345ff045930bbd1c6d9d6e4b06462de2939021bf9e3a3fe1c9d6100
+AUX boost-1.42-fix-mpich2-detection.patch 1378 RMD160 fd81c6a03dd8bf2d6afdaf3fa4957ee0ff1f6e10 SHA1 bbe5ba6fb554ab89e5fa4649f8a44ad7cd1dfa80 SHA256 8e1adadb1345ff045930bbd1c6d9d6e4b06462de2939021bf9e3a3fe1c9d6100
+AUX boost-build-1.42-env-whitespace.patch 683 RMD160 a96ff55a09a889c5fba0c898cc7d4c2a6d2ef1a5 SHA1 9fd231fc699813df1d3ba78ae95f5f322166ade7 SHA256 52714f45a54cad8c126d5fca8bd5eacc4d746b29df24aaa9d2c55e3694a6f4aa
+DIST boost_1_34_1.tar.bz2 12986931 RMD160 303327ff852bc19dd7a94657fdef3c56f5882e06 SHA1 b771271d5cbd3bdb0f119dd66dfd36bad7a66866 SHA256 0f866c75b025a4f1340117a106595cc0675f48ba1e5a9b5c221ec7f19e96ec4c
+DIST boost_1_35_0.tar.bz2 23416747 RMD160 89dc46b7841cd288b5fb6f4b9a1ac7309786dc14 SHA1 80d1fe7b0c45541e2af7628295b18f2af996de16 SHA256 f8bf7368a22ccf2e2cf77048ab2129744be4c03f8488c76ad31c0aa229b280da
+DIST boost_1_37_0.tar.bz2 29435646 RMD160 3c4cf7eb97a8fb126e564ba529ed9edec8765185 SHA1 c0d0cf9ad8d954507824aed51a3e93e6a9da1d99 SHA256 d52ef49f70b1b9addc4e0d1a3a2a1966227f0d173c3301bac3e6d399eeac5472
+DIST boost_1_39_0.tar.bz2 29408537 RMD160 4962256b48fa8563bf373b8bed97cc8655206a51 SHA1 6af42f74ab24ccc51589a025593bad298c8adde8 SHA256 44785eae8c6cce61a29a8a51f9b737e57b34d66baa7c0bcd4af188832b8018fd
+DIST boost_1_40_0.tar.bz2 32068759 RMD160 dabcc7442b73048095aa3037917ea0713782781f SHA1 9dbaa06ce1d99ce310011c2eaf816ecb003b3096 SHA256 36cf4a239b587067a4923fdf6e290525a14c3af29829524fa73f3dec6841530c
+DIST boost_1_41_0.tar.bz2 33348161 RMD160 a604ef5a6f6f5bf50be59206c8534258ab431aea SHA1 31134e28866b90c39ca4a903c263e036bb25550c SHA256 1ef94e6749eaf13318284b4f629be063544c7015b45e38113b975ac1945cc726
+DIST boost_1_42_0.tar.bz2 33426755 RMD160 90cea6aaa35f22b97e6eb3f5879ca9fe21098349 SHA1 3ce3bb1a1bed504635287017f9e628597b409e7b SHA256 4b1eb95bd250ce15ac66435d6167f225b072b0d3a7eb72477a31847a9ca9e609
+DIST boost_1_45_0.tar.bz2 39330184 RMD160 1402cb49e0d680268109ef1bf16aea9bc4a127b0 SHA1 eb7424ef99df4e38af7431e38ff9849651b8aaf5 SHA256 55ed3ec51d5687e8224c988e22bef215dacce04e037d9f689569a80c4377a6d5
+DIST boost_1_46_1.tar.bz2 42001335 RMD160 bb43b39f7c4b683b80bafa3042b95e65a242d9c3 SHA1 3ca6e173ec805e5126868d8a03618e587aa26aef SHA256 e1dfbf42b16e5015c46b98e9899c423ca4d04469cbeee05e43ea19236416d883
+DIST boost_1_47_0.tar.bz2 45952657 RMD160 511144eb5ade340115971c372a3c849bd55181f1 SHA1 6e3eb548b9d955c0bc6f71c51042b713b678136a SHA256 815a5d9faac4dbd523fbcf3fe1065e443c0bbf43427c44aa423422c6ec4c2e31
+EBUILD boost-build-1.34.1.ebuild 2449 RMD160 2c66c3c1b52cb15aea3ce8ee39d860a8d10faf29 SHA1 1a01b722f78e7e75add539e9bf2c5c0a3206c78f SHA256 0d12d3be2859e96f988e4279dc72c42bf420262673d9b6bf5344896089bd7770
+EBUILD boost-build-1.35.0-r1.ebuild 2779 RMD160 93fca7f1c241a01afcabd63fa6195c1be86b1775 SHA1 d48b0626273f6abb32aaccf4e66e21ec9dc5b5e3 SHA256 a02f12355f9d84cf7e47cffcd6001838b1747eadca2608cab9469490b3117801
+EBUILD boost-build-1.35.0-r2.ebuild 3134 RMD160 b9c8335cffeb8881ee2ccabc44ed03c328d489ab SHA1 2ce79d1cf84f85454c6e56c30baa748222ff8c1c SHA256 f324e074f6c01381a39b5521ec558e994565ebfbdc1575eae73d6e490f13ce73
+EBUILD boost-build-1.37.0.ebuild 3115 RMD160 848a75ae7c614e58ae212494140e61db80ef4ba3 SHA1 411862adf745eaa8b5b6f83e0ea5000363771987 SHA256 cc4b9e938dabbcc8b941bdac549e5f4bfb7d28d33f40e0cbdf2d1b6742b47adb
+EBUILD boost-build-1.39.0.ebuild 3200 RMD160 bd2c408aab985f7af268c1777fc8614ac7c0646b SHA1 b1e9e251fae02736f491d651aa22ebf6c72a832f SHA256 64aea9788d166844187918c01b4c80725b4e8fdef9129649d69569472b2bd576
+EBUILD boost-build-1.40.0.ebuild 3200 RMD160 640ec5948d4d4c5ce166b2c92cb504691832f3bb SHA1 1759bac7c70e1c6e0d3197d50f197342027d04f4 SHA256 320dfc12eacea3946c309056242aa2e721bd34715829f533536a904470d0d948
+EBUILD boost-build-1.41.0.ebuild 3258 RMD160 0a738f43d1770fb817e868340a1e64f1da4725a2 SHA1 3b9102fcec4d109ee2f688006f462829be45b0d1 SHA256 286b32e7d7061b19780a8fea535ece191ab58c2322b4bb198404522cfc3d7f47
+EBUILD boost-build-1.42.0.ebuild 3248 RMD160 8ec1c03eb28bf4b550aec7e6a013a1facb30be2b SHA1 1e3023e75a6a44133fa1d529ffede218063e6ae9 SHA256 a3645740879ce87633398f34fb582ea05695962e45bea85860e5c9fc6ced3f43
+EBUILD boost-build-1.45.0.ebuild 3309 RMD160 70f308ca0f6322d6cdd2f95746be7ce0abc610f9 SHA1 511990fc07e64b1941227747c43feedf68d53712 SHA256 889fc96586966fd52db2bfa1cfcf296dda766bf0fc996f0a643f69da07874c06
+EBUILD boost-build-1.46.1.ebuild 3319 RMD160 84d47d4463a43a4e2ff3f43062dbb111a7e4f0cc SHA1 aca54cda32503d56b20dbfd9ccb631ea5e8d6397 SHA256 9cc9cfffbfb055de4c88e47205e4553057982fd3983dbc843c960b56c22fdb28
+EBUILD boost-build-1.47.0.ebuild 3455 RMD160 458f7eec92279b1ba380f2cec8cf34afaddd00a9 SHA1 4024f848710ad579ade0902c1dc895b06010621e SHA256 57a5ff9f9b10921b6a3bc22a3f5f787373ab8cbd2a613374ae8f6358b490b223
+MISC ChangeLog 9527 RMD160 2b4a1a101b2d2e76640223160af278cee3e1057d SHA1 96a1d16156b855c63b0dfe00719ce47670b2d8ac SHA256 ef9d1eeb5340c2150c7f852a12b935161f8dae0dc1964b12e9a9f126d296beb0
+MISC metadata.xml 467 RMD160 46a5b92ef812d514cce62b4a7d6644597c137bf9 SHA1 c47d4a412061b3fe75a2ac875542bc6f1ea4d269 SHA256 45d1630f3fe0286a9ea6cb8cb04ec73ae7f4b7fd52f413e423fce4c436c23f6a

diff --git a/dev-util/boost-build/boost-build-1.34.1.ebuild b/dev-util/boost-build/boost-build-1.34.1.ebuild
new file mode 100644
index 0000000..483496d
--- /dev/null
+++ b/dev-util/boost-build/boost-build-1.34.1.ebuild
@@ -0,0 +1,80 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/boost-build/boost-build-1.34.1.ebuild,v 1.17 2010/08/14 06:35:54 dirtyepic Exp $
+
+inherit flag-o-matic toolchain-funcs versionator
+
+MY_PV=$(replace_all_version_separators _)
+
+DESCRIPTION="A system for large project software construction, which is simple to use and powerful."
+HOMEPAGE="http://www.boost.org/doc/tools/build/index.html"
+SRC_URI="mirror://sourceforge/boost/boost_${MY_PV}.tar.bz2"
+
+LICENSE="Boost-1.0"
+SLOT="0"
+KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86"
+IUSE="python"
+
+DEPEND="!<dev-libs/boost-1.34.0
+	python? ( dev-lang/python )"
+RDEPEND=""
+
+S=${WORKDIR}/boost_${MY_PV}/tools
+
+src_unpack() {
+	unpack ${A}
+
+	# Remove stripping option
+	cd "${S}/jam/src"
+	sed -i \
+		-e 's/-s\b//' \
+		build.jam || die "sed failed"
+
+	# This patch allows us to fully control optimization
+	# and stripping flags when bjam is used as build-system
+	# We simply extend the optimization and debug-symbols feature
+	# with empty dummies called 'none'
+	cd "${S}/build/v2"
+	sed -i \
+		-e 's/\(feature optimization : off speed space\)/\1 none/' \
+		-e 's/\(feature debug-symbols : on off\)/\1 none/' \
+		tools/builtin.jam || die "sed failed"
+}
+
+src_compile() {
+	cd jam/src
+	local toolset
+
+	if [[ ${CHOST} == *-darwin* ]] ; then
+		toolset=darwin
+	else
+		# Using boost's generic toolset here, which respects CC and CFLAGS
+		toolset=cc
+	fi
+
+	append-flags -fno-strict-aliasing
+
+	# The build.jam file for building bjam using a bootstrapped jam0 ignores
+	# the LDFLAGS env var (bug #209794). We have now two options:
+	# a) change the cc-target definition in build.jam to include separate compile
+	#    and link targets to make it use the LDFLAGS var, or
+	# b) a simple dirty workaround by injecting the LDFLAGS in the LIBS env var
+	#    (which should not be set by us).
+	if [[ -z "${LDFLAGS}" ]] ; then
+		CC=$(tc-getCC) ./build.sh ${toolset} $(use_with python) \
+			|| die "building bjam failed"
+	else
+		LDFLAGS=$(echo ${LDFLAGS}) # 293652
+		LIBS=${LDFLAGS} CC=$(tc-getCC) ./build.sh ${toolset} \
+			$(use_with python) || die "building bjam failed"
+	fi
+}
+
+src_install() {
+	dobin jam/src/bin.*/bjam || die
+
+	cd "${S}/build/v2"
+	insinto /usr/share/boost-build
+	doins -r boost-build.jam bootstrap.jam build-system.jam site-config.jam user-config.jam \
+		build kernel options tools util || die
+}

diff --git a/dev-util/boost-build/boost-build-1.35.0-r1.ebuild b/dev-util/boost-build/boost-build-1.35.0-r1.ebuild
new file mode 100644
index 0000000..0437625
--- /dev/null
+++ b/dev-util/boost-build/boost-build-1.35.0-r1.ebuild
@@ -0,0 +1,95 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/boost-build/boost-build-1.35.0-r1.ebuild,v 1.11 2010/08/14 06:35:54 dirtyepic Exp $
+
+inherit flag-o-matic toolchain-funcs versionator
+
+MY_PV=$(replace_all_version_separators _)
+
+DESCRIPTION="A system for large project software construction, which is simple to use and powerful."
+HOMEPAGE="http://www.boost.org/doc/tools/build/index.html"
+SRC_URI="mirror://sourceforge/boost/boost_${MY_PV}.tar.bz2"
+LICENSE="Boost-1.0"
+SLOT="0"
+KEYWORDS="alpha amd64 arm ~hppa ia64 ~mips ppc ppc64 s390 sh sparc x86"
+IUSE="examples python"
+
+DEPEND="!<dev-libs/boost-1.34.0
+	python? ( dev-lang/python )"
+RDEPEND="${DEPEND}"
+
+S=${WORKDIR}/boost_${MY_PV}/tools
+
+src_unpack() {
+	unpack ${A}
+	cd "${S}"
+
+	epatch "${FILESDIR}/${PV}-fix_broken_icu_build.patch"
+
+	# Remove stripping option
+	cd "${S}/jam/src"
+	sed -i \
+		-e 's/-s\b//' \
+		build.jam || die "sed failed"
+
+	# This patch allows us to fully control optimization
+	# and stripping flags when bjam is used as build-system
+	# We simply extend the optimization and debug-symbols feature
+	# with empty dummies called 'none'
+	cd "${S}/build/v2"
+	sed -i \
+		-e 's/\(off speed space\)/\1 none/' \
+		-e 's/\(debug-symbols      : on off\)/\1 none/' \
+		tools/builtin.jam || die "sed failed"
+}
+
+src_compile() {
+	cd jam/src
+	local toolset
+
+	if [[ ${CHOST} == *-darwin* ]] ; then
+		toolset=darwin
+	else
+		# Using boost's generic toolset here, which respects CC and CFLAGS
+		toolset=cc
+	fi
+
+	append-flags -fno-strict-aliasing
+
+	# The build.jam file for building bjam using a bootstrapped jam0 ignores
+	# the LDFLAGS env var (bug #209794). We have now two options:
+	# a) change the cc-target definition in build.jam to include separate compile
+	#    and link targets to make it use the LDFLAGS var, or
+	# b) a simple dirty workaround by injecting the LDFLAGS in the LIBS env var
+	#    (which should not be set by us).
+	if [[ -z "${LDFLAGS}" ]] ; then
+		CC=$(tc-getCC) ./build.sh ${toolset} $(use_with python) \
+			|| die "building bjam failed"
+	else
+		LDFLAGS=$(echo ${LDFLAGS}) # 293652
+		LIBS=${LDFLAGS} CC=$(tc-getCC) ./build.sh ${toolset} \
+			$(use_with python) || die "building bjam failed"
+	fi
+}
+
+src_install() {
+	dobin jam/src/bin.*/bjam
+
+	cd "${S}/build/v2"
+	insinto /usr/share/boost-build
+	doins -r boost-build.jam bootstrap.jam build-system.jam site-config.jam user-config.jam \
+		build kernel options tools util || die
+
+	dodoc doc/userman.pdf changes.txt hacking.txt release_procedure.txt \
+		notes/build_dir_option.txt notes/relative_source_paths.txt
+
+	if use examples ; then
+		insinto /usr/share/doc/${PF}
+		doins -r examples
+	fi
+}
+
+src_test() {
+	cd jam/test
+	./test.sh || die "tests failed"
+}

diff --git a/dev-util/boost-build/boost-build-1.35.0-r2.ebuild b/dev-util/boost-build/boost-build-1.35.0-r2.ebuild
new file mode 100644
index 0000000..e433c26
--- /dev/null
+++ b/dev-util/boost-build/boost-build-1.35.0-r2.ebuild
@@ -0,0 +1,106 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/boost-build/boost-build-1.35.0-r2.ebuild,v 1.10 2010/08/14 06:35:54 dirtyepic Exp $
+
+EAPI="2"
+
+inherit eutils flag-o-matic toolchain-funcs versionator
+
+MY_PV=$(replace_all_version_separators _)
+MAJOR_PV="$(replace_all_version_separators _ $(get_version_component_range 1-2))"
+
+DESCRIPTION="A system for large project software construction, which is simple to use and powerful."
+HOMEPAGE="http://www.boost.org/doc/tools/build/index.html"
+SRC_URI="mirror://sourceforge/boost/boost_${MY_PV}.tar.bz2"
+LICENSE="Boost-1.0"
+SLOT="0"
+KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ~ppc64 s390 sh sparc x86"
+IUSE="examples python"
+
+DEPEND="!<dev-libs/boost-1.34.0
+	python? ( dev-lang/python )"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/boost_${MY_PV}/tools"
+
+src_unpack() {
+	tar xjpf "${DISTDIR}/${A}" boost_${MY_PV}/tools/{jam,build/v2} || die
+}
+
+src_prepare() {
+	epatch "${FILESDIR}/${PV}-fix_broken_icu_build.patch"
+
+	# Remove stripping option
+	cd "${S}/jam/src"
+	sed -i -e 's|-s\b||' \
+		build.jam || die "sed failed"
+
+	# Force regeneration
+	rm jambase.c
+
+	# This patch allows us to fully control optimization
+	# and stripping flags when bjam is used as build-system
+	# We simply extend the optimization and debug-symbols feature
+	# with empty dummies called 'none'
+	cd "${S}/build/v2"
+	sed -i \
+		-e 's/\(off speed space\)/\1 none/' \
+		-e 's/\(debug-symbols      : on off\)/\1 none/' \
+		tools/builtin.jam || die "sed failed"
+}
+
+src_compile() {
+	cd jam/src
+	local toolset
+
+	if [[ ${CHOST} == *-darwin* ]] ; then
+		toolset=darwin
+	else
+		# Using boost's generic toolset here, which respects CC and CFLAGS
+		toolset=cc
+	fi
+
+	append-flags -fno-strict-aliasing
+
+	# For slotting
+	sed -i \
+		-e "s|/usr/share/boost-build|/usr/share/boost-build-${MAJOR_PV}|" \
+		Jambase || die "sed failed"
+
+	# The build.jam file for building bjam using a bootstrapped jam0 ignores
+	# the LDFLAGS env var (bug #209794). We have now two options:
+	# a) change the cc-target definition in build.jam to include separate compile
+	#    and link targets to make it use the LDFLAGS var, or
+	# b) a simple dirty workaround by injecting the LDFLAGS in the LIBS env var
+	#    (which should not be set by us).
+	if [[ -z "${LDFLAGS}" ]] ; then
+		CC=$(tc-getCC) ./build.sh ${toolset} $(use_with python) \
+			|| die "building bjam failed"
+	else
+		LDFLAGS=$(echo ${LDFLAGS}) # 293652
+		LIBS=${LDFLAGS} CC=$(tc-getCC) ./build.sh ${toolset} \
+			$(use_with python) || die "building bjam failed"
+	fi
+}
+
+src_install() {
+	newbin jam/src/bin.*/bjam bjam-${MAJOR_PV}
+
+	cd "${S}/build/v2"
+	insinto /usr/share/boost-build-${MAJOR_PV}
+	doins -r boost-build.jam bootstrap.jam build-system.jam site-config.jam user-config.jam \
+		build kernel options tools util || die
+
+	dodoc doc/userman.pdf changes.txt hacking.txt release_procedure.txt \
+		notes/build_dir_option.txt notes/relative_source_paths.txt
+
+	if use examples ; then
+		insinto /usr/share/doc/${PF}
+		doins -r example
+	fi
+}
+
+src_test() {
+	cd jam/test
+	./test.sh || die "tests failed"
+}

diff --git a/dev-util/boost-build/boost-build-1.37.0.ebuild b/dev-util/boost-build/boost-build-1.37.0.ebuild
new file mode 100644
index 0000000..6120eb3
--- /dev/null
+++ b/dev-util/boost-build/boost-build-1.37.0.ebuild
@@ -0,0 +1,105 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/boost-build/boost-build-1.37.0.ebuild,v 1.4 2010/08/14 06:35:54 dirtyepic Exp $
+
+EAPI="2"
+
+inherit flag-o-matic toolchain-funcs versionator
+
+MY_PV=$(replace_all_version_separators _)
+MAJOR_PV="$(replace_all_version_separators _ $(get_version_component_range 1-2))"
+
+DESCRIPTION="A system for large project software construction, which is simple to use and powerful."
+HOMEPAGE="http://www.boost.org/doc/tools/build/index.html"
+SRC_URI="mirror://sourceforge/boost/boost_${MY_PV}.tar.bz2"
+LICENSE="Boost-1.0"
+SLOT="1.37"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+IUSE="examples python"
+
+DEPEND="!<dev-libs/boost-1.34.0
+	!<=dev-util/boost-build-1.35.0-r1
+	python? ( dev-lang/python )"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/boost_${MY_PV}/tools"
+
+src_unpack() {
+	tar xjpf "${DISTDIR}/${A}" boost_${MY_PV}/tools/{jam,build/v2} || die
+}
+
+src_prepare() {
+	# Remove stripping option
+	cd "${S}/jam/src"
+	sed -i -e 's|-s\b||' \
+		build.jam || die "sed failed"
+
+	# Force regeneration
+	rm jambase.c
+
+	# This patch allows us to fully control optimization
+	# and stripping flags when bjam is used as build-system
+	# We simply extend the optimization and debug-symbols feature
+	# with empty dummies called 'none'
+	cd "${S}/build/v2"
+	sed -i \
+		-e 's/\(off speed space\)/\1 none/' \
+		-e 's/\(debug-symbols      : on off\)/\1 none/' \
+		tools/builtin.jam || die "sed failed"
+}
+
+src_compile() {
+	cd jam/src
+	local toolset
+
+	if [[ ${CHOST} == *-darwin* ]] ; then
+		toolset=darwin
+	else
+		# Using boost's generic toolset here, which respects CC and CFLAGS
+		toolset=cc
+	fi
+
+	append-flags -fno-strict-aliasing
+
+	# For slotting
+	sed -i \
+		-e "s|/usr/share/boost-build|/usr/share/boost-build-${MAJOR_PV}|" \
+		Jambase || die "sed failed"
+
+	# The build.jam file for building bjam using a bootstrapped jam0 ignores
+	# the LDFLAGS env var (bug #209794). We have now two options:
+	# a) change the cc-target definition in build.jam to include separate compile
+	#    and link targets to make it use the LDFLAGS var, or
+	# b) a simple dirty workaround by injecting the LDFLAGS in the LIBS env var
+	#    (which should not be set by us).
+	if [[ -z "${LDFLAGS}" ]] ; then
+		CC=$(tc-getCC) ./build.sh ${toolset} $(use_with python) \
+			|| die "building bjam failed"
+	else
+		LDFLAGS=$(echo ${LDFLAGS}) # 293652
+		LIBS=${LDFLAGS} CC=$(tc-getCC) ./build.sh ${toolset} \
+			$(use_with python) || die "building bjam failed"
+	fi
+}
+
+src_install() {
+	newbin jam/src/bin.*/bjam bjam-${MAJOR_PV}
+
+	cd "${S}/build/v2"
+	insinto /usr/share/boost-build-${MAJOR_PV}
+	doins -r boost-build.jam bootstrap.jam build-system.jam site-config.jam user-config.jam \
+		build kernel options tools util || die
+
+	dodoc doc/userman.pdf changes.txt hacking.txt release_procedure.txt \
+		notes/build_dir_option.txt notes/relative_source_paths.txt
+
+	if use examples ; then
+		insinto /usr/share/doc/${PF}
+		doins -r example
+	fi
+}
+
+src_test() {
+	cd jam/test
+	./test.sh || die "tests failed"
+}

diff --git a/dev-util/boost-build/boost-build-1.39.0.ebuild b/dev-util/boost-build/boost-build-1.39.0.ebuild
new file mode 100644
index 0000000..447741c
--- /dev/null
+++ b/dev-util/boost-build/boost-build-1.39.0.ebuild
@@ -0,0 +1,107 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/boost-build/boost-build-1.39.0.ebuild,v 1.3 2010/08/14 06:35:54 dirtyepic Exp $
+
+EAPI="2"
+
+inherit eutils flag-o-matic toolchain-funcs versionator
+
+MY_PV=$(replace_all_version_separators _)
+MAJOR_PV="$(replace_all_version_separators _ $(get_version_component_range 1-2))"
+
+DESCRIPTION="A system for large project software construction, which is simple to use and powerful."
+HOMEPAGE="http://www.boost.org/doc/tools/build/index.html"
+SRC_URI="mirror://sourceforge/boost/boost_${MY_PV}.tar.bz2"
+LICENSE="Boost-1.0"
+SLOT="$(get_version_component_range 1-2)"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+IUSE="examples python"
+
+DEPEND="!<dev-libs/boost-1.34.0
+	!<=dev-util/boost-build-1.35.0-r1
+	python? ( dev-lang/python )"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/boost_${MY_PV}/tools"
+
+src_unpack() {
+	tar xjpf "${DISTDIR}/${A}" boost_${MY_PV}/tools/{jam,build/v2} || die
+}
+
+src_prepare() {
+	epatch "${FILESDIR}/${PN}-1.42-env-whitespace.patch" # 293652
+
+	# Remove stripping option
+	cd "${S}/jam/src"
+	sed -i -e 's|-s\b||' \
+		build.jam || die "sed failed"
+
+	# Force regeneration
+	rm jambase.c
+
+	# This patch allows us to fully control optimization
+	# and stripping flags when bjam is used as build-system
+	# We simply extend the optimization and debug-symbols feature
+	# with empty dummies called 'none'
+	cd "${S}/build/v2"
+	sed -i \
+		-e 's/\(off speed space\)/\1 none/' \
+		-e 's/\(debug-symbols      : on off\)/\1 none/' \
+		tools/builtin.jam || die "sed failed"
+}
+
+src_compile() {
+	cd jam/src
+	local toolset
+
+	if [[ ${CHOST} == *-darwin* ]] ; then
+		toolset=darwin
+	else
+		# Using boost's generic toolset here, which respects CC and CFLAGS
+		toolset=cc
+	fi
+
+	append-flags -fno-strict-aliasing
+
+	# For slotting
+	sed -i \
+		-e "s|/usr/share/boost-build|/usr/share/boost-build-${MAJOR_PV}|" \
+		Jambase || die "sed failed"
+
+	# The build.jam file for building bjam using a bootstrapped jam0 ignores
+	# the LDFLAGS env var (bug #209794). We have now two options:
+	# a) change the cc-target definition in build.jam to include separate compile
+	#    and link targets to make it use the LDFLAGS var, or
+	# b) a simple dirty workaround by injecting the LDFLAGS in the LIBS env var
+	#    (which should not be set by us).
+	if [[ -z "${LDFLAGS}" ]] ; then
+		CC=$(tc-getCC) ./build.sh ${toolset} $(use_with python) \
+			|| die "building bjam failed"
+	else
+		LDFLAGS=$(echo ${LDFLAGS}) # 293652
+		LIBS=${LDFLAGS} CC=$(tc-getCC) ./build.sh ${toolset} \
+			$(use_with python) || die "building bjam failed"
+	fi
+}
+
+src_install() {
+	newbin jam/src/bin.*/bjam bjam-${MAJOR_PV}
+
+	cd "${S}/build/v2"
+	insinto /usr/share/boost-build-${MAJOR_PV}
+	doins -r boost-build.jam bootstrap.jam build-system.jam site-config.jam user-config.jam \
+		build kernel options tools util || die
+
+	dodoc changes.txt hacking.txt release_procedure.txt \
+		notes/build_dir_option.txt notes/relative_source_paths.txt
+
+	if use examples ; then
+		insinto /usr/share/doc/${PF}
+		doins -r example
+	fi
+}
+
+src_test() {
+	cd jam/test
+	./test.sh || die "tests failed"
+}

diff --git a/dev-util/boost-build/boost-build-1.40.0.ebuild b/dev-util/boost-build/boost-build-1.40.0.ebuild
new file mode 100644
index 0000000..5abf0b3
--- /dev/null
+++ b/dev-util/boost-build/boost-build-1.40.0.ebuild
@@ -0,0 +1,107 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/boost-build/boost-build-1.40.0.ebuild,v 1.3 2010/08/14 06:35:53 dirtyepic Exp $
+
+EAPI="2"
+
+inherit eutils flag-o-matic toolchain-funcs versionator
+
+MY_PV=$(replace_all_version_separators _)
+MAJOR_PV="$(replace_all_version_separators _ $(get_version_component_range 1-2))"
+
+DESCRIPTION="A system for large project software construction, which is simple to use and powerful."
+HOMEPAGE="http://www.boost.org/doc/tools/build/index.html"
+SRC_URI="mirror://sourceforge/boost/boost_${MY_PV}.tar.bz2"
+LICENSE="Boost-1.0"
+SLOT="$(get_version_component_range 1-2)"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+IUSE="examples python"
+
+DEPEND="!<dev-libs/boost-1.34.0
+	!<=dev-util/boost-build-1.35.0-r1
+	python? ( dev-lang/python )"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/boost_${MY_PV}/tools"
+
+src_unpack() {
+	tar xjpf "${DISTDIR}/${A}" boost_${MY_PV}/tools/{jam,build/v2} || die
+}
+
+src_prepare() {
+	epatch "${FILESDIR}/${PN}-1.42-env-whitespace.patch" # 293652
+
+	# Remove stripping option
+	cd "${S}/jam/src"
+	sed -i -e 's|-s\b||' \
+		build.jam || die "sed failed"
+
+	# Force regeneration
+	rm jambase.c
+
+	# This patch allows us to fully control optimization
+	# and stripping flags when bjam is used as build-system
+	# We simply extend the optimization and debug-symbols feature
+	# with empty dummies called 'none'
+	cd "${S}/build/v2"
+	sed -i \
+		-e 's/\(off speed space\)/\1 none/' \
+		-e 's/\(debug-symbols      : on off\)/\1 none/' \
+		tools/builtin.jam || die "sed failed"
+}
+
+src_compile() {
+	cd jam/src
+	local toolset
+
+	if [[ ${CHOST} == *-darwin* ]] ; then
+		toolset=darwin
+	else
+		# Using boost's generic toolset here, which respects CC and CFLAGS
+		toolset=cc
+	fi
+
+	append-flags -fno-strict-aliasing
+
+	# For slotting
+	sed -i \
+		-e "s|/usr/share/boost-build|/usr/share/boost-build-${MAJOR_PV}|" \
+		Jambase || die "sed failed"
+
+	# The build.jam file for building bjam using a bootstrapped jam0 ignores
+	# the LDFLAGS env var (bug #209794). We have now two options:
+	# a) change the cc-target definition in build.jam to include separate compile
+	#    and link targets to make it use the LDFLAGS var, or
+	# b) a simple dirty workaround by injecting the LDFLAGS in the LIBS env var
+	#    (which should not be set by us).
+	if [[ -z "${LDFLAGS}" ]] ; then
+		CC=$(tc-getCC) ./build.sh ${toolset} $(use_with python) \
+			|| die "building bjam failed"
+	else
+		LDFLAGS=$(echo ${LDFLAGS}) # 293652
+		LIBS=${LDFLAGS} CC=$(tc-getCC) ./build.sh ${toolset} \
+			$(use_with python) || die "building bjam failed"
+	fi
+}
+
+src_install() {
+	newbin jam/src/bin.*/bjam bjam-${MAJOR_PV}
+
+	cd "${S}/build/v2"
+	insinto /usr/share/boost-build-${MAJOR_PV}
+	doins -r boost-build.jam bootstrap.jam build-system.jam site-config.jam user-config.jam \
+		build kernel options tools util || die
+
+	dodoc changes.txt hacking.txt release_procedure.txt \
+		notes/build_dir_option.txt notes/relative_source_paths.txt
+
+	if use examples ; then
+		insinto /usr/share/doc/${PF}
+		doins -r example
+	fi
+}
+
+src_test() {
+	cd jam/test
+	./test.sh || die "tests failed"
+}

diff --git a/dev-util/boost-build/boost-build-1.41.0.ebuild b/dev-util/boost-build/boost-build-1.41.0.ebuild
new file mode 100644
index 0000000..75dbe85
--- /dev/null
+++ b/dev-util/boost-build/boost-build-1.41.0.ebuild
@@ -0,0 +1,108 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/boost-build/boost-build-1.41.0.ebuild,v 1.10 2010/09/19 17:52:31 armin76 Exp $
+
+EAPI="2"
+
+inherit eutils flag-o-matic toolchain-funcs versionator
+
+MY_PV=$(replace_all_version_separators _)
+MAJOR_PV="$(replace_all_version_separators _ $(get_version_component_range 1-2))"
+
+DESCRIPTION="A system for large project software construction, which is simple to use and powerful."
+HOMEPAGE="http://www.boost.org/doc/tools/build/index.html"
+SRC_URI="mirror://sourceforge/boost/boost_${MY_PV}.tar.bz2"
+LICENSE="Boost-1.0"
+SLOT="$(get_version_component_range 1-2)"
+KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd"
+IUSE="examples python"
+
+DEPEND="!<dev-libs/boost-1.34.0
+	!<=dev-util/boost-build-1.35.0-r1
+	python? ( dev-lang/python )"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/boost_${MY_PV}/tools"
+
+src_unpack() {
+	tar xjpf "${DISTDIR}/${A}" boost_${MY_PV}/tools/{jam,build/v2} || die
+}
+
+src_prepare() {
+	epatch "${FILESDIR}/boost-1.41-fix-mpich2-detection.patch"
+	epatch "${FILESDIR}/${PN}-1.42-env-whitespace.patch" # 293652
+
+	# Remove stripping option
+	cd "${S}/jam/src"
+	sed -i -e 's|-s\b||' \
+		build.jam || die "sed failed"
+
+	# Force regeneration
+	rm jambase.c
+
+	# This patch allows us to fully control optimization
+	# and stripping flags when bjam is used as build-system
+	# We simply extend the optimization and debug-symbols feature
+	# with empty dummies called 'none'
+	cd "${S}/build/v2"
+	sed -i \
+		-e 's/\(off speed space\)/\1 none/' \
+		-e 's/\(debug-symbols      : on off\)/\1 none/' \
+		tools/builtin.jam || die "sed failed"
+}
+
+src_compile() {
+	cd jam/src
+	local toolset
+
+	if [[ ${CHOST} == *-darwin* ]] ; then
+		toolset=darwin
+	else
+		# Using boost's generic toolset here, which respects CC and CFLAGS
+		toolset=cc
+	fi
+
+	append-flags -fno-strict-aliasing
+
+	# For slotting
+	sed -i \
+		-e "s|/usr/share/boost-build|/usr/share/boost-build-${MAJOR_PV}|" \
+		Jambase || die "sed failed"
+
+	# The build.jam file for building bjam using a bootstrapped jam0 ignores
+	# the LDFLAGS env var (bug #209794). We have now two options:
+	# a) change the cc-target definition in build.jam to include separate compile
+	#    and link targets to make it use the LDFLAGS var, or
+	# b) a simple dirty workaround by injecting the LDFLAGS in the LIBS env var
+	#    (which should not be set by us).
+	if [[ -z "${LDFLAGS}" ]] ; then
+		CC=$(tc-getCC) ./build.sh ${toolset} $(use_with python) \
+			|| die "building bjam failed"
+	else
+		LDFLAGS=$(echo ${LDFLAGS}) # 293652
+		LIBS=${LDFLAGS} CC=$(tc-getCC) ./build.sh ${toolset} \
+			$(use_with python) || die "building bjam failed"
+	fi
+}
+
+src_install() {
+	newbin jam/src/bin.*/bjam bjam-${MAJOR_PV}
+
+	cd "${S}/build/v2"
+	insinto /usr/share/boost-build-${MAJOR_PV}
+	doins -r boost-build.jam bootstrap.jam build-system.jam site-config.jam user-config.jam \
+		build kernel options tools util || die
+
+	dodoc changes.txt hacking.txt release_procedure.txt \
+		notes/build_dir_option.txt notes/relative_source_paths.txt
+
+	if use examples ; then
+		insinto /usr/share/doc/${PF}
+		doins -r example
+	fi
+}
+
+src_test() {
+	cd jam/test
+	./test.sh || die "tests failed"
+}

diff --git a/dev-util/boost-build/boost-build-1.42.0.ebuild b/dev-util/boost-build/boost-build-1.42.0.ebuild
new file mode 100644
index 0000000..0f69d87
--- /dev/null
+++ b/dev-util/boost-build/boost-build-1.42.0.ebuild
@@ -0,0 +1,108 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/boost-build/boost-build-1.42.0.ebuild,v 1.11 2011/04/16 11:29:07 armin76 Exp $
+
+EAPI="2"
+
+inherit eutils flag-o-matic toolchain-funcs versionator
+
+MY_PV=$(replace_all_version_separators _)
+MAJOR_PV="$(replace_all_version_separators _ $(get_version_component_range 1-2))"
+
+DESCRIPTION="A system for large project software construction, which is simple to use and powerful."
+HOMEPAGE="http://www.boost.org/doc/tools/build/index.html"
+SRC_URI="mirror://sourceforge/boost/boost_${MY_PV}.tar.bz2"
+LICENSE="Boost-1.0"
+SLOT="$(get_version_component_range 1-2)"
+KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86"
+IUSE="examples python"
+
+DEPEND="!<dev-libs/boost-1.34.0
+	!<=dev-util/boost-build-1.35.0-r1
+	python? ( dev-lang/python )"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/boost_${MY_PV}/tools"
+
+src_unpack() {
+	tar xjpf "${DISTDIR}/${A}" boost_${MY_PV}/tools/{jam,build/v2} || die
+}
+
+src_prepare() {
+	epatch "${FILESDIR}/boost-1.42-fix-mpich2-detection.patch"
+	epatch "${FILESDIR}/${PN}-1.42-env-whitespace.patch" # 293652
+
+	# Remove stripping option
+	cd "${S}/jam/src"
+	sed -i -e 's|-s\b||' \
+		build.jam || die "sed failed"
+
+	# Force regeneration
+	rm jambase.c
+
+	# This patch allows us to fully control optimization
+	# and stripping flags when bjam is used as build-system
+	# We simply extend the optimization and debug-symbols feature
+	# with empty dummies called 'none'
+	cd "${S}/build/v2"
+	sed -i \
+		-e 's/\(off speed space\)/\1 none/' \
+		-e 's/\(debug-symbols      : on off\)/\1 none/' \
+		tools/builtin.jam || die "sed failed"
+}
+
+src_compile() {
+	cd jam/src
+	local toolset
+
+	if [[ ${CHOST} == *-darwin* ]] ; then
+		toolset=darwin
+	else
+		# Using boost's generic toolset here, which respects CC and CFLAGS
+		toolset=cc
+	fi
+
+	append-flags -fno-strict-aliasing
+
+	# For slotting
+	sed -i \
+		-e "s|/usr/share/boost-build|/usr/share/boost-build-${MAJOR_PV}|" \
+		Jambase || die "sed failed"
+
+	# The build.jam file for building bjam using a bootstrapped jam0 ignores
+	# the LDFLAGS env var (bug #209794). We have now two options:
+	# a) change the cc-target definition in build.jam to include separate compile
+	#    and link targets to make it use the LDFLAGS var, or
+	# b) a simple dirty workaround by injecting the LDFLAGS in the LIBS env var
+	#    (which should not be set by us).
+	if [[ -z "${LDFLAGS}" ]] ; then
+		CC=$(tc-getCC) ./build.sh ${toolset} $(use_with python) \
+			|| die "building bjam failed"
+	else
+		LDFLAGS=$(echo ${LDFLAGS}) # 293652
+		LIBS=${LDFLAGS} CC=$(tc-getCC) ./build.sh ${toolset} \
+			$(use_with python) || die "building bjam failed"
+	fi
+}
+
+src_install() {
+	newbin jam/src/bin.*/bjam bjam-${MAJOR_PV}
+
+	cd "${S}/build/v2"
+	insinto /usr/share/boost-build-${MAJOR_PV}
+	doins -r boost-build.jam bootstrap.jam build-system.jam site-config.jam user-config.jam \
+		build kernel options tools util || die
+
+	dodoc changes.txt hacking.txt release_procedure.txt \
+		notes/build_dir_option.txt notes/relative_source_paths.txt
+
+	if use examples ; then
+		insinto /usr/share/doc/${PF}
+		doins -r example
+	fi
+}
+
+src_test() {
+	cd jam/test
+	./test.sh || die "tests failed"
+}

diff --git a/dev-util/boost-build/boost-build-1.45.0.ebuild b/dev-util/boost-build/boost-build-1.45.0.ebuild
new file mode 100644
index 0000000..6c9c2a4
--- /dev/null
+++ b/dev-util/boost-build/boost-build-1.45.0.ebuild
@@ -0,0 +1,111 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/boost-build/boost-build-1.45.0.ebuild,v 1.1 2011/01/06 14:00:10 dev-zero Exp $
+
+EAPI="2"
+
+inherit eutils flag-o-matic toolchain-funcs versionator
+
+MY_PV=$(replace_all_version_separators _)
+MAJOR_PV="$(replace_all_version_separators _ $(get_version_component_range 1-2))"
+
+DESCRIPTION="A system for large project software construction, which is simple to use and powerful."
+HOMEPAGE="http://www.boost.org/doc/tools/build/index.html"
+SRC_URI="mirror://sourceforge/boost/boost_${MY_PV}.tar.bz2"
+LICENSE="Boost-1.0"
+SLOT="$(get_version_component_range 1-2)"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+IUSE="examples python"
+
+DEPEND="!<dev-libs/boost-1.34.0
+	!<=dev-util/boost-build-1.35.0-r1
+	python? ( dev-lang/python )"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/boost_${MY_PV}/tools/build/v2"
+
+src_unpack() {
+	tar xjpf "${DISTDIR}/${A}" boost_${MY_PV}/tools/build/v2 || die "unpacking tar failed"
+}
+
+src_prepare() {
+	# TODO:
+	#	epatch "${FILESDIR}/boost-1.42-fix-mpich2-detection.patch"
+
+	cd "${S}/engine"
+	epatch "${FILESDIR}/${PN}-1.42-env-whitespace.patch" # 293652
+
+	# Remove stripping option
+	cd "${S}/engine/src"
+	sed -i -e 's|-s\b||' \
+		build.jam || die "sed failed"
+
+	# Force regeneration
+	rm jambase.c
+
+	# This patch allows us to fully control optimization
+	# and stripping flags when bjam is used as build-system
+	# We simply extend the optimization and debug-symbols feature
+	# with empty dummies called 'none'
+	cd "${S}"
+	sed -i \
+		-e 's/\(off speed space\)/\1 none/' \
+		-e 's/\(debug-symbols      : on off\)/\1 none/' \
+		tools/builtin.jam || die "sed failed"
+}
+
+src_compile() {
+	cd engine/src
+	local toolset
+
+	if [[ ${CHOST} == *-darwin* ]] ; then
+		toolset=darwin
+	else
+		# Using boost's generic toolset here, which respects CC and CFLAGS
+		toolset=cc
+	fi
+
+	append-flags -fno-strict-aliasing
+
+	# For slotting
+	sed -i \
+		-e "s|/usr/share/boost-build|/usr/share/boost-build-${MAJOR_PV}|" \
+		Jambase || die "sed failed"
+
+	# The build.jam file for building bjam using a bootstrapped jam0 ignores
+	# the LDFLAGS env var (bug #209794). We have now two options:
+	# a) change the cc-target definition in build.jam to include separate compile
+	#    and link targets to make it use the LDFLAGS var, or
+	# b) a simple dirty workaround by injecting the LDFLAGS in the LIBS env var
+	#    (which should not be set by us).
+	if [[ -z "${LDFLAGS}" ]] ; then
+		CC=$(tc-getCC) ./build.sh ${toolset} $(use_with python) \
+			|| die "building bjam failed"
+	else
+		LDFLAGS=$(echo ${LDFLAGS}) # 293652
+		LIBS=${LDFLAGS} CC=$(tc-getCC) ./build.sh ${toolset} \
+			$(use_with python) || die "building bjam failed"
+	fi
+}
+
+src_install() {
+	newbin engine/src/bin.*/bjam bjam-${MAJOR_PV}
+
+	cd "${S}"
+	insinto /usr/share/boost-build-${MAJOR_PV}
+	doins -r boost-build.jam bootstrap.jam build-system.jam site-config.jam user-config.jam \
+		build kernel options tools util || die
+
+	dodoc changes.txt hacking.txt release_procedure.txt \
+		notes/build_dir_option.txt notes/relative_source_paths.txt
+
+	if use examples ; then
+		insinto /usr/share/doc/${PF}
+		doins -r example
+	fi
+}
+
+src_test() {
+	cd engine/test
+	./test.sh || die "tests failed"
+}

diff --git a/dev-util/boost-build/boost-build-1.46.1.ebuild b/dev-util/boost-build/boost-build-1.46.1.ebuild
new file mode 100644
index 0000000..be45e9b
--- /dev/null
+++ b/dev-util/boost-build/boost-build-1.46.1.ebuild
@@ -0,0 +1,111 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/boost-build/boost-build-1.46.1.ebuild,v 1.2 2011/07/10 15:15:48 aballier Exp $
+
+EAPI="2"
+
+inherit eutils flag-o-matic toolchain-funcs versionator
+
+MY_PV=$(replace_all_version_separators _)
+MAJOR_PV="$(replace_all_version_separators _ $(get_version_component_range 1-2))"
+
+DESCRIPTION="A system for large project software construction, which is simple to use and powerful."
+HOMEPAGE="http://www.boost.org/doc/tools/build/index.html"
+SRC_URI="mirror://sourceforge/boost/boost_${MY_PV}.tar.bz2"
+LICENSE="Boost-1.0"
+SLOT="$(get_version_component_range 1-2)"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
+IUSE="examples python"
+
+DEPEND="!<dev-libs/boost-1.34.0
+	!<=dev-util/boost-build-1.35.0-r1
+	python? ( dev-lang/python )"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/boost_${MY_PV}/tools/build/v2"
+
+src_unpack() {
+	tar xjpf "${DISTDIR}/${A}" boost_${MY_PV}/tools/build/v2 || die "unpacking tar failed"
+}
+
+src_prepare() {
+	# TODO:
+	#	epatch "${FILESDIR}/boost-1.42-fix-mpich2-detection.patch"
+
+	cd "${S}/engine"
+	epatch "${FILESDIR}/${PN}-1.42-env-whitespace.patch" # 293652
+
+	# Remove stripping option
+	cd "${S}/engine/src"
+	sed -i -e 's|-s\b||' \
+		build.jam || die "sed failed"
+
+	# Force regeneration
+	rm jambase.c
+
+	# This patch allows us to fully control optimization
+	# and stripping flags when bjam is used as build-system
+	# We simply extend the optimization and debug-symbols feature
+	# with empty dummies called 'none'
+	cd "${S}"
+	sed -i \
+		-e 's/\(off speed space\)/\1 none/' \
+		-e 's/\(debug-symbols      : on off\)/\1 none/' \
+		tools/builtin.jam || die "sed failed"
+}
+
+src_compile() {
+	cd engine/src
+	local toolset
+
+	if [[ ${CHOST} == *-darwin* ]] ; then
+		toolset=darwin
+	else
+		# Using boost's generic toolset here, which respects CC and CFLAGS
+		toolset=cc
+	fi
+
+	append-flags -fno-strict-aliasing
+
+	# For slotting
+	sed -i \
+		-e "s|/usr/share/boost-build|/usr/share/boost-build-${MAJOR_PV}|" \
+		Jambase || die "sed failed"
+
+	# The build.jam file for building bjam using a bootstrapped jam0 ignores
+	# the LDFLAGS env var (bug #209794). We have now two options:
+	# a) change the cc-target definition in build.jam to include separate compile
+	#    and link targets to make it use the LDFLAGS var, or
+	# b) a simple dirty workaround by injecting the LDFLAGS in the LIBS env var
+	#    (which should not be set by us).
+	if [[ -z "${LDFLAGS}" ]] ; then
+		CC=$(tc-getCC) ./build.sh ${toolset} $(use_with python) \
+			|| die "building bjam failed"
+	else
+		LDFLAGS=$(echo ${LDFLAGS}) # 293652
+		LIBS=${LDFLAGS} CC=$(tc-getCC) ./build.sh ${toolset} \
+			$(use_with python) || die "building bjam failed"
+	fi
+}
+
+src_install() {
+	newbin engine/src/bin.*/bjam bjam-${MAJOR_PV}
+
+	cd "${S}"
+	insinto /usr/share/boost-build-${MAJOR_PV}
+	doins -r boost-build.jam bootstrap.jam build-system.jam site-config.jam user-config.jam \
+		build kernel options tools util || die
+
+	dodoc changes.txt hacking.txt release_procedure.txt \
+		notes/build_dir_option.txt notes/relative_source_paths.txt
+
+	if use examples ; then
+		insinto /usr/share/doc/${PF}
+		doins -r example
+	fi
+}
+
+src_test() {
+	cd engine/test
+	./test.sh || die "tests failed"
+}

diff --git a/dev-util/boost-build/boost-build-1.47.0.ebuild b/dev-util/boost-build/boost-build-1.47.0.ebuild
new file mode 100644
index 0000000..e566747
--- /dev/null
+++ b/dev-util/boost-build/boost-build-1.47.0.ebuild
@@ -0,0 +1,114 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/boost-build/boost-build-1.46.1.ebuild,v 1.2 2011/07/10 15:15:48 aballier Exp $
+
+EAPI="2"
+
+inherit eutils flag-o-matic toolchain-funcs versionator
+
+MY_PV=$(replace_all_version_separators _)
+MAJOR_PV="$(replace_all_version_separators _ $(get_version_component_range 1-2))"
+
+DESCRIPTION="A system for large project software construction, which is simple to use and powerful."
+HOMEPAGE="http://www.boost.org/doc/tools/build/index.html"
+SRC_URI="mirror://sourceforge/boost/boost_${MY_PV}.tar.bz2"
+LICENSE="Boost-1.0"
+SLOT="$(get_version_component_range 1-2)"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
+IUSE="examples python"
+
+DEPEND="!<dev-libs/boost-1.34.0
+	!<=dev-util/boost-build-1.35.0-r1
+	python? ( dev-lang/python )"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/boost_${MY_PV}/tools/build/v2"
+
+src_unpack() {
+	tar xjpf "${DISTDIR}/${A}" boost_${MY_PV}/tools/build/v2 || die "unpacking tar failed"
+}
+
+src_prepare() {
+	# TODO:
+	#	epatch "${FILESDIR}/boost-1.42-fix-mpich2-detection.patch"
+
+	cd "${S}/engine"
+	epatch "${FILESDIR}/${PN}-1.42-env-whitespace.patch" # 293652
+
+	# Remove stripping option
+	cd "${S}/engine"
+	sed -i -e 's|-s\b||' \
+		build.jam || die "sed failed"
+
+	# Force regeneration
+	rm jambase.c || die
+
+	# This patch allows us to fully control optimization
+	# and stripping flags when bjam is used as build-system
+	# We simply extend the optimization and debug-symbols feature
+	# with empty dummies called 'none'
+	cd "${S}"
+	sed -i \
+		-e 's/\(off speed space\)/\1 none/' \
+		-e 's/\(debug-symbols      : on off\)/\1 none/' \
+		tools/builtin.jam || die "sed failed"
+}
+
+src_compile() {
+	cd engine
+	local toolset
+
+	if [[ ${CHOST} == *-darwin* ]] ; then
+		toolset=darwin
+	else
+		# Using boost's generic toolset here, which respects CC and CFLAGS
+		toolset=cc
+	fi
+
+	# For slotting
+	sed -i \
+		-e "s|/usr/share/boost-build|/usr/share/boost-build-${MAJOR_PV}|" \
+		Jambase || die "sed failed"
+
+	# The build.jam file for building bjam using a bootstrapped jam0 ignores
+	# the LDFLAGS env var (bug #209794). We have now two options:
+	# a) change the cc-target definition in build.jam to include separate compile
+	#    and link targets to make it use the LDFLAGS var, or
+	# b) a simple dirty workaround by injecting the LDFLAGS in the LIBS env var
+	#    (which should not be set by us).
+	if [[ -z "${LDFLAGS}" ]] ; then
+		CC=$(tc-getCC) ./build.sh ${toolset} $(use_with python) \
+			|| die "building bjam failed"
+	else
+		LDFLAGS=$(echo ${LDFLAGS}) # 293652
+		LIBS=${LDFLAGS} CC=$(tc-getCC) ./build.sh ${toolset} \
+			$(use_with python) || die "building bjam failed"
+	fi
+}
+
+src_install() {
+	newbin engine/bin.*/bjam bjam-${MAJOR_PV}
+	newbin engine/bin.*/b2 b2-${MAJOR_PV}
+
+	cd "${S}"
+	insinto /usr/share/boost-build-${MAJOR_PV}
+	doins -r boost-build.jam bootstrap.jam build-system.jam site-config.jam user-config.jam \
+		build kernel options tools util || die
+
+	dodoc changes.txt hacking.txt release_procedure.txt \
+		notes/build_dir_option.txt notes/relative_source_paths.txt
+
+	if use examples ; then
+		insinto /usr/share/doc/${PF}
+		doins -r example
+	fi
+}
+
+src_test() {
+	cd test/engine
+
+	FIXME: Replace the ls call with the proper way of doing this.
+
+	BJAM_BIN=$(ls ../../engine/bin.*/b2)
+	${BJAM_BIN} -f test.jam "-sBJAM=${BJAM_BIN}" || die "tests failed"
+}

diff --git a/dev-util/boost-build/files/1.35.0-fix_broken_icu_build.patch b/dev-util/boost-build/files/1.35.0-fix_broken_icu_build.patch
new file mode 100644
index 0000000..b461105
--- /dev/null
+++ b/dev-util/boost-build/files/1.35.0-fix_broken_icu_build.patch
@@ -0,0 +1,33 @@
+--- trunk/tools/build/v2/build/targets.jam (revision 45072)
++++ trunk/tools/build/v2/build/targets.jam (revision 45245)
+@@ -1170,5 +1170,5 @@
+             ECHO [ targets.indent ] "Building target '$(fn)'" ;
+             targets.increase-indent ;
+-            ECHO [ targets.indent ] "Build request: " [ $(property-set).raw ] ;
++            ECHO [ targets.indent ] "Build request: " $(property-set) [ $(property-set).raw ] ;
+             local cf = [ build-system.command-line-free-features ] ;
+             ECHO [ targets.indent ] "Command line free features: " [ $(cf).raw ] ;
+@@ -1275,5 +1275,14 @@
+                 # case we don't want any diagnostic. In the former case, we need
+                 # diagnostics. FIXME
+-                self.generated.$(property-set) = $(rproperties) ;
++                
++                # If this target fails to build, add <build>no to properties
++                # to cause any parent target to fail to build.  Except that it
++                # - does not work now, since we check for <build>no only in
++                #   common properties, but not in properties that came from
++                #   dependencies
++                # - it's not clear if that's a good idea anyway.  The alias
++                #   target, for example, should not fail to build if a dependency
++                #   fails.
++                self.generated.$(property-set) = [ property-set.create <build>no ] ;
+             }
+         }
+@@ -1283,4 +1292,7 @@
+             {
+                 ECHO [ targets.indent ] "Already built" ;
++                local ur = $(self.generated.$(property-set)) ;
++                ur = $(ur[0]) ;
++                ECHO [ targets.indent ] "  Usage requirements " [ $(ur).raw ] ;
+             }
+         }

diff --git a/dev-util/boost-build/files/boost-1.41-fix-mpich2-detection.patch b/dev-util/boost-build/files/boost-1.41-fix-mpich2-detection.patch
new file mode 100644
index 0000000..d3bd646
--- /dev/null
+++ b/dev-util/boost-build/files/boost-1.41-fix-mpich2-detection.patch
@@ -0,0 +1,35 @@
+Index: tools/build/v2/tools/mpi.jam
+===================================================================
+--- tools/build/v2/tools/mpi.jam        (revision 57744)
++++ tools/build/v2/tools/mpi.jam        (working copy)
+@@ -156,14 +156,27 @@
+         # into a feature.
+         local match = [ MATCH "^(-.)(.*)" : $(cmdline) ] ;
+         local matched ;
+-        if $(match) && $(match[2]) {
++        if $(match) && $(match[2]) {
+            local prefix = $(match[1]) ;
+            if $(feature_kinds$(prefix)) {
+                local name = $(feature_kinds$(prefix)) ;
+                local add = [ add_feature $(prefix) $(name) $(cmdline) ] ;
+
+                if $(add) {
+-                  result += $(add[1]) ;
++
++                  if $(add[1]) = <find-shared-library>pthread
++                  {
++                      # Uhm. It's not really nice that this MPI implementation
++                      # uses -lpthread as opposed to -pthread. We do want to
++                      # set <threading>multi, instead of -lpthread.
++                      result += "<threading>multi" ;
++                      MPI_EXTRA_REQUIREMENTS += "<threading>multi" ;
++                  }
++                  else
++                  {
++                      result += $(add[1]) ;
++                  }
++
+                   cmdline = $(add[2]) ;
+                   matched = yes ;
+                }
+

diff --git a/dev-util/boost-build/files/boost-1.42-fix-mpich2-detection.patch b/dev-util/boost-build/files/boost-1.42-fix-mpich2-detection.patch
new file mode 100644
index 0000000..d3bd646
--- /dev/null
+++ b/dev-util/boost-build/files/boost-1.42-fix-mpich2-detection.patch
@@ -0,0 +1,35 @@
+Index: tools/build/v2/tools/mpi.jam
+===================================================================
+--- tools/build/v2/tools/mpi.jam        (revision 57744)
++++ tools/build/v2/tools/mpi.jam        (working copy)
+@@ -156,14 +156,27 @@
+         # into a feature.
+         local match = [ MATCH "^(-.)(.*)" : $(cmdline) ] ;
+         local matched ;
+-        if $(match) && $(match[2]) {
++        if $(match) && $(match[2]) {
+            local prefix = $(match[1]) ;
+            if $(feature_kinds$(prefix)) {
+                local name = $(feature_kinds$(prefix)) ;
+                local add = [ add_feature $(prefix) $(name) $(cmdline) ] ;
+
+                if $(add) {
+-                  result += $(add[1]) ;
++
++                  if $(add[1]) = <find-shared-library>pthread
++                  {
++                      # Uhm. It's not really nice that this MPI implementation
++                      # uses -lpthread as opposed to -pthread. We do want to
++                      # set <threading>multi, instead of -lpthread.
++                      result += "<threading>multi" ;
++                      MPI_EXTRA_REQUIREMENTS += "<threading>multi" ;
++                  }
++                  else
++                  {
++                      result += $(add[1]) ;
++                  }
++
+                   cmdline = $(add[2]) ;
+                   matched = yes ;
+                }
+

diff --git a/dev-util/boost-build/files/boost-build-1.42-env-whitespace.patch b/dev-util/boost-build/files/boost-build-1.42-env-whitespace.patch
new file mode 100644
index 0000000..681de7a
--- /dev/null
+++ b/dev-util/boost-build/files/boost-build-1.42-env-whitespace.patch
@@ -0,0 +1,25 @@
+diff --git a/tools/jam/src/build.jam b/tools/jam/src/build.jam
+index e30e854..7b397a3 100644
+--- a/tools/jam/src/build.jam
++++ b/tools/jam/src/build.jam
+@@ -2,6 +2,20 @@
+ #~ Distributed under the Boost Software License, Version 1.0.
+ #~ (See accompanying file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt)
+ 
++# Clean env vars of any "extra" empty values.
++for local v in ARGV CC CFLAGS
++{
++	local values ;
++	for local x in $($(v))
++	{
++		if $(x) != ""
++		{
++			values += $(x) ;
++		}
++	}
++	$(v) = $(values) ;
++}
++
+ # Platform related specifics.
+ if $(NT) { rule .path { return "$(<:J=\\)" ; } ./ = "/" ; }
+ else if $(OS2) { rule .path { return "$(<:J=\\)" ; } ./ = "/" ; }

diff --git a/dev-util/boost-build/metadata.xml b/dev-util/boost-build/metadata.xml
new file mode 100644
index 0000000..5b304b7
--- /dev/null
+++ b/dev-util/boost-build/metadata.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+  <herd>cpp</herd>
+  <maintainer>
+    <email>dev-zero@gentoo.org</email>
+    <name>Tiziano Müller</name>
+  </maintainer>
+  <maintainer>
+    <email>SebastianLuther@gmx.de</email>
+    <name>Sebastian Luther</name>
+  </maintainer>
+  <maintainer>
+  	<email>hwoarang@gentoo.org</email>
+	<name>Markos Chandras</name>
+  </maintainer>
+</pkgmetadata>

diff --git a/profiles/package.mask b/profiles/package.mask
index 7161cdb..f644bde 100644
--- a/profiles/package.mask
+++ b/profiles/package.mask
@@ -1,3 +1,8 @@
+# Markos Chandras <hwoarang@gentoo.org> (1 Aug 2011)
+# Masked for testing
+=dev-libs/boost-1.47.0
+=dev-util/boost-build-1.47.0
+
 # Markos Chandras <hwoarang@gentoo.org> (19 May 2011)
 # Totally broken but feel free to provide patches
 # Bug: #364071



^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-08-01 17:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-01 17:44 [gentoo-commits] dev/hwoarang:master commit in: dev-util/boost-build/files/, dev-util/boost-build/, dev-libs/boost/files/, Markos Chandras
  -- strict thread matches above, loose matches on Subject: below --
2011-03-22  9:51 Markos Chandras
2011-03-14 17:44 Markos Chandras

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox