summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTiziano Müller <dev-zero@gentoo.org>2006-10-23 19:25:43 +0000
committerTiziano Müller <dev-zero@gentoo.org>2006-10-23 19:25:43 +0000
commiteb3a5fb72ec519509080a65d0eee5c8c69d0eb99 (patch)
treeeb2a77ff6bb4b3c828a231c65937aeacc5e53107 /dev-libs
parentAdd non-gentoo mirror. (diff)
downloadhistorical-eb3a5fb72ec519509080a65d0eee5c8c69d0eb99.tar.gz
historical-eb3a5fb72ec519509080a65d0eee5c8c69d0eb99.tar.bz2
historical-eb3a5fb72ec519509080a65d0eee5c8c69d0eb99.zip
'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.
Package-Manager: portage-2.1.2_pre3-r3
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/boost/ChangeLog7
-rw-r--r--dev-libs/boost/Manifest45
-rw-r--r--dev-libs/boost/boost-1.33.1-r1.ebuild214
-rw-r--r--dev-libs/boost/boost-1.33.1.ebuild4
-rw-r--r--dev-libs/boost/boost-1.34_pre20060930.ebuild15
-rw-r--r--dev-libs/boost/files/boost-1.33.1-gcc41_visit_each.patch10
-rw-r--r--dev-libs/boost/files/digest-boost-1.33.1-r13
7 files changed, 269 insertions, 29 deletions
diff --git a/dev-libs/boost/ChangeLog b/dev-libs/boost/ChangeLog
index 6cc5db6a404c..380707c539bf 100644
--- a/dev-libs/boost/ChangeLog
+++ b/dev-libs/boost/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-libs/boost
# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/boost/ChangeLog,v 1.92 2006/10/04 10:48:42 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/boost/ChangeLog,v 1.93 2006/10/23 19:25:43 dev-zero Exp $
+
+ 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.
diff --git a/dev-libs/boost/Manifest b/dev-libs/boost/Manifest
index eb49d8f860f9..2f303d92d509 100644
--- a/dev-libs/boost/Manifest
+++ b/dev-libs/boost/Manifest
@@ -1,24 +1,29 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
+AUX boost-1.33.1-gcc41_visit_each.patch 338 RMD160 295e85b70cb27da6bb24eb6d757c8cc3465877d7 SHA1 265bdab2f664ffaa23f340f78a99506616457ad6 SHA256 a9ced5f54e52ade899a7b09dff097e4c9ca958c85d51ae431c7e7521f53b441e
+MD5 be654f750b09a2a826f3bf6948276d5d files/boost-1.33.1-gcc41_visit_each.patch 338
+RMD160 295e85b70cb27da6bb24eb6d757c8cc3465877d7 files/boost-1.33.1-gcc41_visit_each.patch 338
+SHA256 a9ced5f54e52ade899a7b09dff097e4c9ca958c85d51ae431c7e7521f53b441e files/boost-1.33.1-gcc41_visit_each.patch 338
AUX boost-alpha-threads.patch 1111 RMD160 49fe6128f6dd9277389d25a83706b401705cdb40 SHA1 846f8a187dca02a998fb60bd298d2312e16620f0 SHA256 e7d1cb78cc73763023edb80cdb66e2a9389d9ef40f448be60cf8cd4f827e7623
MD5 238bb8043f0cdc8bd91f81bd0b55f92a files/boost-alpha-threads.patch 1111
RMD160 49fe6128f6dd9277389d25a83706b401705cdb40 files/boost-alpha-threads.patch 1111
SHA256 e7d1cb78cc73763023edb80cdb66e2a9389d9ef40f448be60cf8cd4f827e7623 files/boost-alpha-threads.patch 1111
DIST boost_1_33_1.tar.bz2 11507161 RMD160 3d5999d321b558f74d786bec52ee1b1fcd7e7152 SHA1 22682f75ff0d1ea548688e78c8cca83d599ca576 SHA256 6232e93205acbc8c705f44f15977aae158550c99a384f41606cff26c16393be0
DIST boost_1_34_pre20060930.tar.bz2 12465498 RMD160 ddf4c22efe379c3f620aca4d75012587f237b207 SHA1 a84edda31b94406325db27a5611cce237dadc1ef SHA256 5f98f27309994f2d660bc763efef177c76954421f308748f732b2d62e35753ad
-EBUILD boost-1.33.1.ebuild 5720 RMD160 39b814f8a7c31a2e301c1629b87d1ec284b78acc SHA1 59204e664ca3ac1ebaa014b0a9d2375509af8976 SHA256 4d19fe810a67754185ef99e4f97487ec20bb45e481d2edf983d16203aa654ce9
-MD5 2695a92ea1dfa60e17f94c0d0c5f5278 boost-1.33.1.ebuild 5720
-RMD160 39b814f8a7c31a2e301c1629b87d1ec284b78acc boost-1.33.1.ebuild 5720
-SHA256 4d19fe810a67754185ef99e4f97487ec20bb45e481d2edf983d16203aa654ce9 boost-1.33.1.ebuild 5720
-EBUILD boost-1.34_pre20060930.ebuild 6242 RMD160 7990da559a720ab863208aa0f7283f2c4af811e0 SHA1 6d922143a85997dc99d90bcb4e95994ceb2f6900 SHA256 54766ed91bb2963f11631cae8117c06499e3b2728383e58d268bd7ddb61c0fc0
-MD5 12bf6ff8c13118c5e7a07f35705c0568 boost-1.34_pre20060930.ebuild 6242
-RMD160 7990da559a720ab863208aa0f7283f2c4af811e0 boost-1.34_pre20060930.ebuild 6242
-SHA256 54766ed91bb2963f11631cae8117c06499e3b2728383e58d268bd7ddb61c0fc0 boost-1.34_pre20060930.ebuild 6242
-MISC ChangeLog 12357 RMD160 cbf3ef4318d6c11025a8ccc3709ed771926c71eb SHA1 8b002bd294d106d237073ba9c6b97835ab4b83fb SHA256 809142a7ce2612d282c5ecad22e9ca13a39f70d1ec3a899bef2f9b7e55e41baf
-MD5 0f8b01796e80aaf188872673ae60a7e0 ChangeLog 12357
-RMD160 cbf3ef4318d6c11025a8ccc3709ed771926c71eb ChangeLog 12357
-SHA256 809142a7ce2612d282c5ecad22e9ca13a39f70d1ec3a899bef2f9b7e55e41baf ChangeLog 12357
+EBUILD boost-1.33.1-r1.ebuild 5326 RMD160 60f47d79715df79e97ca9d09157a2f892d2cda80 SHA1 1b75291878432539cba0621793a86a7dcecc1724 SHA256 6405dc0cb1339cf7e427b8fa65b9e31b63e7e9719af2d8875b6ae6185c2d6a6c
+MD5 3660888f774bbd93fb14d5c1a3f782db boost-1.33.1-r1.ebuild 5326
+RMD160 60f47d79715df79e97ca9d09157a2f892d2cda80 boost-1.33.1-r1.ebuild 5326
+SHA256 6405dc0cb1339cf7e427b8fa65b9e31b63e7e9719af2d8875b6ae6185c2d6a6c boost-1.33.1-r1.ebuild 5326
+EBUILD boost-1.33.1.ebuild 5719 RMD160 3e631741932577f77f9f8bdc4843bdfe351f4683 SHA1 91b9b6b705da5b13c1c66611578ee2b6d04e32db SHA256 26c5fd47c0c88d34c252ecf65f7e6cd3fb16045974b42e327c42dd8998242202
+MD5 492334e9efddc6e215131f6811ccbb56 boost-1.33.1.ebuild 5719
+RMD160 3e631741932577f77f9f8bdc4843bdfe351f4683 boost-1.33.1.ebuild 5719
+SHA256 26c5fd47c0c88d34c252ecf65f7e6cd3fb16045974b42e327c42dd8998242202 boost-1.33.1.ebuild 5719
+EBUILD boost-1.34_pre20060930.ebuild 6435 RMD160 c33d3ca4054c44ddbab249f3b0b8dca043b761e6 SHA1 c75ee5c908ab21561cd5569fbdcc513ef2d6ecb1 SHA256 8a41fa99646da7694479451d355b3880c395e40ff86b55fde8d07427f25835af
+MD5 09ce9349fb9cb24817700dd1602fb2c1 boost-1.34_pre20060930.ebuild 6435
+RMD160 c33d3ca4054c44ddbab249f3b0b8dca043b761e6 boost-1.34_pre20060930.ebuild 6435
+SHA256 8a41fa99646da7694479451d355b3880c395e40ff86b55fde8d07427f25835af boost-1.34_pre20060930.ebuild 6435
+MISC ChangeLog 12607 RMD160 33797e8004557166ddc9832803b291baf73bf6d9 SHA1 73244bd63403aa40178efc3f5927f2a227928397 SHA256 facef1045ef0d32007a59f093e08d695a4b55082432c74d9c31cd1a210a68d6b
+MD5 b3937634f6c5ead16823dbf4f4c4e6d0 ChangeLog 12607
+RMD160 33797e8004557166ddc9832803b291baf73bf6d9 ChangeLog 12607
+SHA256 facef1045ef0d32007a59f093e08d695a4b55082432c74d9c31cd1a210a68d6b ChangeLog 12607
MISC metadata.xml 349 RMD160 d25d9702dc4a5438f4bf5f7a9e9fc1b0664b6bdd SHA1 042144f72d878c355a55ad72a5212b2c2db88b9a SHA256 17524a0d3400af3c713289c5cf1f713cf63619264b9c6b535be3e2d543512cf6
MD5 b0f631e883fed00f233ff27ce7ceb93d metadata.xml 349
RMD160 d25d9702dc4a5438f4bf5f7a9e9fc1b0664b6bdd metadata.xml 349
@@ -26,13 +31,9 @@ SHA256 17524a0d3400af3c713289c5cf1f713cf63619264b9c6b535be3e2d543512cf6 metadata
MD5 afef39b54f8c7050345e448b9cfef207 files/digest-boost-1.33.1 247
RMD160 be54469c475e8d818c7af17b21f0d6bfc8bb328e files/digest-boost-1.33.1 247
SHA256 81d215f8a743fe6c248ca79c782decf96967f883a5e015840cdea311556a278b files/digest-boost-1.33.1 247
+MD5 afef39b54f8c7050345e448b9cfef207 files/digest-boost-1.33.1-r1 247
+RMD160 be54469c475e8d818c7af17b21f0d6bfc8bb328e files/digest-boost-1.33.1-r1 247
+SHA256 81d215f8a743fe6c248ca79c782decf96967f883a5e015840cdea311556a278b files/digest-boost-1.33.1-r1 247
MD5 6fe4006c9c09440c4342f0ad3f13fbd3 files/digest-boost-1.34_pre20060930 277
RMD160 e0aa05d6a4abd8c316fa1e8f3751d9ae46d6f303 files/digest-boost-1.34_pre20060930 277
SHA256 0336896df45c00f19d39b9fffb08047888534b353780efb1f91a55c862b27ac0 files/digest-boost-1.34_pre20060930 277
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.5 (GNU/Linux)
-
-iD8DBQFFI5GRAiZjviIA2XgRAvX1AJ0a/uLCiK9NSHtTFVK9DCllYN0cJQCgvac8
-Covg0i+7Bb9kQ2a/VDqlQ5U=
-=QtI7
------END PGP SIGNATURE-----
diff --git a/dev-libs/boost/boost-1.33.1-r1.ebuild b/dev-libs/boost/boost-1.33.1-r1.ebuild
new file mode 100644
index 000000000000..2343d1f16646
--- /dev/null
+++ b/dev-libs/boost/boost-1.33.1-r1.ebuild
@@ -0,0 +1,214 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/boost/boost-1.33.1-r1.ebuild,v 1.1 2006/10/23 19:25:43 dev-zero Exp $
+
+inherit eutils distutils multilib python versionator
+
+MY_P=${PN}_$(replace_all_version_separators _)
+
+DESCRIPTION="Boost Libraries for C++"
+HOMEPAGE="http://www.boost.org/"
+SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2"
+LICENSE="freedist Boost-1.0"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+IUSE="bcp bjam debug doc pyste threads threadsonly"
+
+DEPEND="sys-libs/zlib"
+RDEPEND="${DEPEND}
+ !dev-util/boost-jam
+ pyste? ( dev-cpp/gccxml dev-python/elementtree )"
+
+S=${WORKDIR}/${MY_P}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ epatch "${FILESDIR}/${P}-gcc41_visit_each.patch"
+
+ # Don't strip (safest approach atm)
+ sed -i \
+ -e 's/-s\b//g' \
+ tools/build/jam_src/build.jam \
+ tools/build/v1/gcc-tools.jam \
+ || die "sed failed"
+}
+
+pkg_setup() {
+ BOOSTJAM="${S}/tools/build/jam_src/bin.*/bjam"
+
+ # FIXME: Until we have a better way to do that
+ NUMJOBS=$(sed -e 's/.*\(\-j[ 0-9]\+\) .*/\1/' <<< ${MAKEOPTS})
+
+ python_version
+
+ if [ "${ARCH}" == "amd64" ]; then
+ arch=
+ else
+ arch=${ARCH}
+ fi
+
+ if use ppc-macos ; then
+ BOOST_TOOLSET="darwin"
+ TOOLSET_NAME="darwin"
+ SOSUFFIX="dylib"
+ else
+ BOOST_TOOLSET="gcc"
+ TOOLSET_NAME="gcc"
+ SOSUFFIX="so"
+ fi
+
+ BUILD="release <runtime-link>dynamic"
+
+ if use debug ; then
+ BUILD="${BUILD} debug"
+ fi
+
+ if use threads && use threadsonly ; then
+ BUILD="${BUILD} <threading>multi"
+ fi
+
+ if use threads && ! use threadsonly ; then
+ BUILD="${BUILD} <threading>single/multi"
+ fi
+
+ if ! use threads ; then
+ BUILD="${BUILD} <threading>single"
+ fi
+
+}
+
+src_compile() {
+ cd "${S}/tools/build/jam_src"
+ ./build.sh ${BOOST_TOOLSET} || die "Failed to build bjam"
+
+ cd "${S}"
+ # Fixing boost with threads on alpha. Thanks to ibm <imirkin@mit.edu>
+ if use threads && [ "${ARCH}" == "alpha" ]; then
+ epatch ${FILESDIR}/boost-alpha-threads.patch
+ fi
+
+ ${BOOSTJAM} ${NUMJOBS} -sBOOST_ROOT="${S}" \
+ -sPYTHON_ROOT=/usr \
+ -sPYTHON_VERSION=${PYVER} \
+ -sTOOLS=${BOOST_TOOLSET} \
+ -sBUILD="${BUILD}" \
+ ${ADDITIONAL_OPTIONS} \
+ --prefix=${D}/usr \
+ --layout=system
+
+ ${BOOSTJAM} ${NUMJOBS} -sBOOST_ROOT="${S}" \
+ -sPYTHON_ROOT=/usr \
+ -sPYTHON_VERSION=${PYVER} \
+ -sTOOLS=${BOOST_TOOLSET} \
+ -sBUILD="${BUILD}" \
+ ${ADDITIONAL_OPTIONS} \
+ --prefix=${D}/usr \
+ --layout=system
+
+ if use pyste; then
+ cd "${S}/libs/python/pyste/install"
+ distutils_src_compile
+ fi
+
+ if use bcp; then
+ cd "${S}/tools/bcp/"
+ ${BOOSTJAM} || die "Building bcp failed"
+ fi
+}
+
+src_install () {
+
+ cd "${S}/tools/build"
+ dodir /usr/share/boost-build
+ insinto /usr/share/boost-build
+ cp -pPR index.html v1/ v2/ "${D}/usr/share/boost-build" || die "failed to install docs"
+
+ cd "${S}"
+ ${BOOSTJAM} ${NUMJOBS} -sBOOST_ROOT="${S}" \
+ -sPYTHON_ROOT=/usr \
+ -sPYTHON_VERSION=${PYVER} \
+ -sTOOLS=${BOOST_TOOLSET} \
+ -sBUILD="${BUILD}" \
+ ${ADDITIONAL_OPTIONS} \
+ --prefix="${D}/usr" \
+ --layout=system \
+ install || die "Install failed"
+
+ dodoc README
+
+ if use doc ; then
+ dohtml index.htm google_logo_40wht.gif c++boost.gif boost.css \
+ -A pdf -r more-r people -r doc
+
+ find libs -type f -not -regex '^libs/[^/]*/build/.*' \
+ -and -not -regex '^libs/.*/test[^/]?/.*' \
+ -and -not -regex '^libs/.*/bench[^/]?/.*' \
+ -and -not -regex '^libs/[^/]*/tools/.*' \
+ -and -not -name \*.bat \
+ -and -not -name Jamfile\* \
+ -and -not -regex '^libs/[^/]*/src/.*' \
+ -and -not -iname makefile \
+ -and -not -name \*.mak \
+ -and -not -name .\* \
+ -and -not -name \*.dsw \
+ -and -not -name \*.dsp \
+ -exec \
+ install -D -m0644 \{\} "${D}/usr/share/doc/${PF}/html/{}" \;
+ fi
+
+ #and finally set "default" links to -gcc-mt versions
+ cd "${D}/usr/lib"
+
+ for fn in $(ls -1 *.${SOSUFFIX}| cut -d- -f1 | sort -u) ; do
+ if [ -f "$fn.${SOSUFFIX}" ] ; then
+ dosym "$fn.${SOSUFFIX}" "/usr/lib/$fn-${TOOLSET_NAME}.${SOSUFFIX}"
+ fi
+ if [ -f "$fn-mt.${SOSUFFIX}" ] ; then
+ dosym "$fn-mt.${SOSUFFIX}" "/usr/lib/$fn-${TOOLSET_NAME}-mt.${SOSUFFIX}"
+ fi
+ if [ -f "$fn-d.${SOSUFFIX}" ] ; then
+ dosym "$fn-d.${SOSUFFIX}" "/usr/lib/$fn-${TOOLSET_NAME}-d.${SOSUFFIX}"
+ fi
+ if [ -f "$fn-mt-d.${SOSUFFIX}" ] ; then
+ dosym "$fn-mt-d.${SOSUFFIX}" "/usr/lib/$fn-${TOOLSET_NAME}-mt-d.${SOSUFFIX}"
+ fi
+ done
+
+ for fn in $(ls -1 *.a| cut -d- -f1 | sort -u) ; do
+ if [ -f "$fn.a" ] ; then
+ dosym "$fn.a" "/usr/lib/$fn-${TOOLSET_NAME}.a"
+ fi
+ if [ -f "$fn-mt.a" ] ; then
+ dosym "$fn-mt.a" "/usr/lib/$fn-${TOOLSET_NAME}-mt.a"
+ fi
+ if [ -f "$fn-d.a" ] ; then
+ dosym "$fn-d.a" "/usr/lib/$fn-${TOOLSET_NAME}-d.a"
+ fi
+ if [ -f "$fn-mt-d.a" ] ; then
+ dosym "$fn-mt-d.a" "/usr/lib/$fn-${TOOLSET_NAME}-mt-d.a"
+ fi
+ done
+
+ if use threads ; then
+ dosym "libboost_thread-mt.a" "/usr/lib/libboost_thread.a"
+ dosym "libboost_thread-mt.so" "/usr/lib/libboost_thread.so"
+ fi
+
+ [[ $(get_libdir) == "lib" ]] || mv "${D}/usr/lib" "${D}/usr/$(get_libdir)"
+
+ if use pyste; then
+ cd "${S}/libs/python/pyste/install"
+ distutils_src_install
+ fi
+
+ if use bcp; then
+ dobin "${S}/tools/bcp/run/bcp" || die "bcp install failed"
+ fi
+
+ if use bjam; then
+ cd "${S}"/tools/build/jam_src/bin.*/
+ dobin bjam || die "bjam install failed"
+ fi
+}
diff --git a/dev-libs/boost/boost-1.33.1.ebuild b/dev-libs/boost/boost-1.33.1.ebuild
index 9ee6cd0e69dd..1e9dc9d6c119 100644
--- a/dev-libs/boost/boost-1.33.1.ebuild
+++ b/dev-libs/boost/boost-1.33.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/boost/boost-1.33.1.ebuild,v 1.12 2006/10/04 10:48:42 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/boost/boost-1.33.1.ebuild,v 1.13 2006/10/23 19:25:43 dev-zero Exp $
# This ebuild was generated by Ebuilder v0.4.
inherit python distutils multilib eutils
@@ -12,7 +12,7 @@ BOOST_PV=${BOOST_PV1/./_}
SRC_URI="mirror://gentoo/${PN}_${BOOST_PV}.tar.bz2 \
mirror://sourceforge/boost/${PN}_${BOOST_PV}.tar.bz2"
LICENSE="freedist Boost-1.0"
-SLOT="1"
+SLOT="0"
KEYWORDS="alpha amd64 hppa ia64 mips ppc ppc64 sparc x86 ~x86-fbsd"
IUSE="bcp bjam debug doc pyste static threads threadsonly"
diff --git a/dev-libs/boost/boost-1.34_pre20060930.ebuild b/dev-libs/boost/boost-1.34_pre20060930.ebuild
index dec6ec8728cd..4c879273a034 100644
--- a/dev-libs/boost/boost-1.34_pre20060930.ebuild
+++ b/dev-libs/boost/boost-1.34_pre20060930.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/boost/boost-1.34_pre20060930.ebuild,v 1.2 2006/10/01 23:00:09 dev-zero Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/boost/boost-1.34_pre20060930.ebuild,v 1.3 2006/10/23 19:25:43 dev-zero Exp $
-inherit python distutils multilib eutils versionator
+inherit distutils multilib python versionator
MY_P=${PN}_$(replace_all_version_separators _)
@@ -10,7 +10,7 @@ DESCRIPTION="Boost Libraries for C++"
HOMEPAGE="http://www.boost.org/"
SRC_URI="mirror://gentoo/${MY_P}.tar.bz2"
LICENSE="freedist Boost-1.0"
-SLOT="1"
+SLOT="0"
KEYWORDS="~x86"
IUSE="bcp bjam debug doc icu pyste static threads threadsonly"
@@ -31,6 +31,7 @@ S=${WORKDIR}/${MY_P}
# - Remove boost-jam and remove the blocker
# - Find a better way to do set the options than in pkg_setup (check whether they are really needed for installation)
# - Eventually split-out boost.python and spirit (second one has it's own release-cycle)
+# - Do a 'slotmove'
pkg_setup() {
BOOSTJAM="${S}/tools/jam/src/bin.*/bjam"
@@ -141,7 +142,6 @@ src_install () {
--layout=system \
install || die "Install failed"
-
dodoc README
if use doc ; then
@@ -197,6 +197,13 @@ src_install () {
fi
done
+ if use threads ; then
+ dosym "libboost_thread-mt.a" "/usr/lib/libboost_thread.a"
+ if ! use static ; then
+ dosym "libboost_thread-mt.so" "/usr/lib/libboost_thread.so"
+ fi
+ fi
+
[[ $(get_libdir) == "lib" ]] || mv "${D}/usr/lib" "${D}/usr/$(get_libdir)"
if use pyste; then
diff --git a/dev-libs/boost/files/boost-1.33.1-gcc41_visit_each.patch b/dev-libs/boost/files/boost-1.33.1-gcc41_visit_each.patch
new file mode 100644
index 000000000000..d21a35366131
--- /dev/null
+++ b/dev-libs/boost/files/boost-1.33.1-gcc41_visit_each.patch
@@ -0,0 +1,10 @@
+--- boost/bind.hpp.orig 2006-10-05 21:09:32.000000000 +0200
++++ boost/bind.hpp 2006-10-05 21:10:10.000000000 +0200
+@@ -27,6 +27,7 @@
+ #include <boost/type.hpp>
+ #include <boost/bind/arg.hpp>
+ #include <boost/detail/workaround.hpp>
++#include <boost/visit_each.hpp>
+
+ // Borland-specific bug, visit_each() silently fails to produce code
+
diff --git a/dev-libs/boost/files/digest-boost-1.33.1-r1 b/dev-libs/boost/files/digest-boost-1.33.1-r1
new file mode 100644
index 000000000000..7372f018b6a2
--- /dev/null
+++ b/dev-libs/boost/files/digest-boost-1.33.1-r1
@@ -0,0 +1,3 @@
+MD5 2b999b2fb7798e1737d1fff8fac602ef boost_1_33_1.tar.bz2 11507161
+RMD160 3d5999d321b558f74d786bec52ee1b1fcd7e7152 boost_1_33_1.tar.bz2 11507161
+SHA256 6232e93205acbc8c705f44f15977aae158550c99a384f41606cff26c16393be0 boost_1_33_1.tar.bz2 11507161