add boost with gcc 44 hack

git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@1447 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
geos_one 2009-08-07 06:30:18 +00:00
parent fd8500daf0
commit 790209955e
11 changed files with 1224 additions and 0 deletions

646
dev-libs/boost/ChangeLog Normal file
View File

@ -0,0 +1,646 @@
# ChangeLog for dev-libs/boost
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/boost/ChangeLog,v 1.165 2009/07/29 15:42:38 darkside Exp $
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.

12
dev-libs/boost/Manifest Normal file
View File

@ -0,0 +1,12 @@
AUX 1.35-remove-hardlink-creation.patch 547 RMD160 0c0bae87977869efcd2e25144b910025ab3e6924 SHA1 c3833411ab8e7c84efddc5cfb4ab99abcba1eed5 SHA256 9b0515f343f0c8f7f0ce51e2c6f243edae0f3d5ce5df5b9f77a46b00041a134e
AUX boost-1.33.1-gcc41_visit_each.patch 338 RMD160 295e85b70cb27da6bb24eb6d757c8cc3465877d7 SHA1 265bdab2f664ffaa23f340f78a99506616457ad6 SHA256 a9ced5f54e52ade899a7b09dff097e4c9ca958c85d51ae431c7e7521f53b441e
AUX boost-1.37.0-darwin-long-double.patch 556 RMD160 54b1111e9dbc51131f01f50071f1c4f337b35d2f SHA1 827dcef39cf884948c3720ae1d94d1b5b5279578 SHA256 0beb2bf9ae43ad86c307873ab19b049152ef7798ba17523638cdb78017642c31
AUX boost-alpha-threads.patch 1111 RMD160 49fe6128f6dd9277389d25a83706b401705cdb40 SHA1 846f8a187dca02a998fb60bd298d2312e16620f0 SHA256 e7d1cb78cc73763023edb80cdb66e2a9389d9ef40f448be60cf8cd4f827e7623
AUX buildid-fix.patch 1045 RMD160 ce9dbea25e21ed1ac177b16982ef1850957474f2 SHA1 af1069055e6f8d8fa143fb2ddeccb2fc36ddce9a SHA256 42a2aa4c0f4d8579a501d6133f55852acbd1d7b497598983c50bdebaa17df17f
AUX random-Jamfile 355 RMD160 478b592e9d33d371b07e5364e63512c8208263bf SHA1 8ca047df78758f62a6c131bd27441173e9079fa6 SHA256 7dc71ab8b862ccd5ea9c21c42557adfe0c711ea7fbe7faa47328a37aa84bc096
AUX remove_toolset_from_targetname.patch 490 RMD160 e050992fd79005af73410a2ea4037a82177ddf33 SHA1 80d96cca8cb0acb752c428ffcada3ef2964642b1 SHA256 5c5c6fea3c1e20e290d15a68f91b6c084cc5b34daae338e3aa0879a3fd5b9fb5
DIST boost-patches-1.39.0-1.tbz2 1113 RMD160 29753fc7ca54fa57c65410073621e251750b89bc SHA1 6389ba81a977bfd42ab1fc7d911290a3976afd8a SHA256 f98f4ed539425b46de47a14b8b9ca06a69bb3248f966342999a73a619db8fec3
DIST boost_1_39_0.tar.bz2 29408537 RMD160 4962256b48fa8563bf373b8bed97cc8655206a51 SHA1 6af42f74ab24ccc51589a025593bad298c8adde8 SHA256 44785eae8c6cce61a29a8a51f9b737e57b34d66baa7c0bcd4af188832b8018fd
EBUILD boost-1.39.0.ebuild 13009 RMD160 d46bb4c1ae7924f09c875624d8ff8d0a468ad6a5 SHA1 71bb4e48c3bb7050372a75890327686620b40898 SHA256 60d79f47a6ab86ee47837f8b2e6c9748f26f308efff92c8976bd1b88c3ad31b1
MISC ChangeLog 24559 RMD160 3de7567351b93d78997d5c7a2f7e547b9b80f5be SHA1 c451d2c988c900e6996f54e17062603be8f9c1ee SHA256 ce7f29da139ffaddb4e2b38ce2467db9c02bfba247bd1dd12d985227b058a842
MISC metadata.xml 884 RMD160 56b11a49f37835a25ecdf45d292c0a625cfcd364 SHA1 7353ce0ebc2bb237b2c2ab872ecfbb69ee69e214 SHA256 2db9a39a09ad510b68ed69278426d7a5a96253b7c5d6106ddbea8228677b5d25

View File

@ -0,0 +1,424 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/boost/boost-1.39.0.ebuild,v 1.2 2009/07/16 09:36:51 dev-zero Exp $
EAPI="2"
inherit python flag-o-matic multilib toolchain-funcs versionator check-reqs
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
MY_P=${PN}_$(replace_all_version_separators _)
PATCHSET_VERSION="${PV}-1"
DESCRIPTION="Boost Libraries for C++"
HOMEPAGE="http://www.boost.org/"
SRC_URI="mirror://sourceforge/boost/${MY_P}.tar.bz2
mirror://gentoo/boost-patches-${PATCHSET_VERSION}.tbz2
http://www.gentoo.org/~dev-zero/distfiles/boost-patches-${PATCHSET_VERSION}.tbz2"
LICENSE="freedist Boost-1.0"
SLOT="$(get_version_component_range 1-2)"
IUSE="debug doc +eselect expat icu mpi python tools"
RDEPEND="icu? ( >=dev-libs/icu-3.3 )
expat? ( dev-libs/expat )
mpi? ( || ( >=sys-cluster/openmpi-1.3[cxx] =sys-cluster/openmpi-1.2*[-nocxx] ) )
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() {
if has test ${FEATURES} ; then
CHECKREQS_DISK_BUILD="1024"
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_SOURCE="${WORKDIR}/patches"
EPATCH_SUFFIX="patch"
epatch
epatch \
"${FILESDIR}/remove_toolset_from_targetname.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" libs/random/build/Jamfile.v2
# yeah, we WANT it to work on non-Linux too
sed -i -e 's/#ifdef __linux__/#if 1/' libs/random/random_device.cpp || die
fi
# Huge number of strict-aliasing warnings cause a build failure w/ >=GCC 4.4 bug #252287
[[ $(gcc-version) > 4.3 ]] && append-flags -Wno-strict-aliasing
}
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
use mpi && mpi="using mpi ;"
if use python ; then
python_version
pystring="using python : ${PYVER} : /usr : /usr/include/python${PYVER} : /usr/lib/python${PYVER} ;"
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 expat && OPTIONS="${OPTIONS} -sEXPAT_INCLUDE=/usr/include -sEXPAT_LIBPATH=/usr/$(get_libdir)"
use mpi || OPTIONS="${OPTIONS} --without-mpi"
use python || OPTIONS="${OPTIONS} --without-python"
OPTIONS="${OPTIONS} --user-config=\"${S}/user-config.jam\" --boost-build=/usr/share/boost-build-${MAJOR_PV} --prefix=\"${D}/usr\" --layout=versioned"
}
src_compile() {
NUMJOBS=$(sed -e 's/.*\(\-j[ 0-9]\+\) .*/\1/; s/--jobs=\?/-j/' <<< ${MAKEOPTS})
einfo "Using the following options to build: "
einfo " ${OPTIONS}"
export BOOST_ROOT="${S}"
${BJAM} ${NUMJOBS} -q \
gentoorelease \
${OPTIONS} \
threading=single,multi link=shared,static runtime-link=shared \
|| die "building boost failed"
# ... and do the whole thing one more time to get the debug libs
if use debug ; then
${BJAM} ${NUMJOBS} -q \
gentoodebug \
${OPTIONS} \
threading=single,multi link=shared,static runtime-link=shared \
--buildid=debug \
|| die "building boost failed"
fi
if use tools; then
cd "${S}/tools/"
${BJAM} ${NUMJOBS} -q \
gentoorelease \
${OPTIONS} \
|| die "building tools failed"
fi
}
src_install () {
einfo "Using the following options to install: "
einfo " ${OPTIONS}"
export BOOST_ROOT="${S}"
${BJAM} -q \
gentoorelease \
${OPTIONS} \
threading=single,multi link=shared,static runtime-link=shared \
--includedir="${D}/usr/include" \
--libdir="${D}/usr/$(get_libdir)" \
install || die "install failed for options '${OPTIONS}'"
if use debug ; then
${BJAM} -q \
gentoodebug \
${OPTIONS} \
threading=single,multi link=shared,static 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*
dodir /usr/share/boost-eselect/profiles/${SLOT}
touch "${D}/usr/share/boost-eselect/profiles/${SLOT}/default"
use debug && touch "${D}/usr/share/boost-eselect/profiles/${SLOT}/debug"
# Move the mpi.so to the right place and make sure it's slotted
if use mpi && use python; then
mkdir -p "${D}/usr/$(get_libdir)/python${PYVER}/site-packages/boost_${MAJOR_PV}"
mv "${D}/usr/$(get_libdir)/mpi.so" "${D}/usr/$(get_libdir)/python${PYVER}/site-packages/boost_${MAJOR_PV}/"
touch "${D}/usr/$(get_libdir)/python${PYVER}/site-packages/boost_${MAJOR_PV}/__init__.py"
_add_line "python=\"/usr/$(get_libdir)/python${PYVER}/site-packages/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 more people wiki
dohtml \
-A pdf,txt \
-r tools
insinto /usr/share/doc/${PF}/html
doins -r libs
# To avoid broken links
insinto /usr/share/doc/${PF}/html
doins LICENSE_1_0.txt
dosym /usr/include/boost /usr/share/doc/${PF}/html/boost
fi
cd "${D}/usr/$(get_libdir)"
# 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 *{.a,$(get_libname)} | 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}"
done
# The threading libs obviously always gets the "-mt" (multithreading) tag
# some packages seem to have a problem with it. Creating symlinks...
for lib in libboost_thread-mt-${MAJOR_PV}{.a,$(get_libname)} ; do
dosym ${lib} "/usr/$(get_libdir)/$(sed -e 's/-mt//' <<< ${lib})"
done
# The same goes for the mpi libs
if use mpi ; then
for lib in libboost_mpi-mt-${MAJOR_PV}{.a,$(get_libname)} ; do
dosym ${lib} "/usr/$(get_libdir)/$(sed -e 's/-mt//' <<< ${lib})"
done
fi
if use debug ; then
for lib in libboost_thread-mt-${MAJOR_PV}-debug{.a,$(get_libname)} ; do
dosym ${lib} "/usr/$(get_libdir)/$(sed -e 's/-mt//' <<< ${lib})"
done
if use mpi ; then
for lib in libboost_mpi-mt-${MAJOR_PV}-debug{.a,$(get_libname)} ; do
dosym ${lib} "/usr/$(get_libdir)/$(sed -e 's/-mt//' <<< ${lib})"
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}
_add_line "libs=\"" default
for f in $(ls -1 *{.a,$(get_libname)} | grep -v debug) ; do
dosym ../${f} /usr/$(get_libdir)/boost-${MAJOR_PV}/${f/-${MAJOR_PV}}
_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
for f in $(ls -1 *{.a,$(get_libname)} | grep debug) ; do
dosym ../${f} /usr/$(get_libdir)/boost-${MAJOR_PV}-debug/${f/-${MAJOR_PV}-debug}
_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"
# Append version postfix to binaries for slotting
_add_line "bins=\""
for b in * ; do
newbin "${b}" "${b}-${MAJOR_PV}"
_add_line "/usr/bin/${b}-${MAJOR_PV}"
done
_add_line "\""
cd "${S}/dist"
insinto /usr/share
doins -r share/boostbook
# Append version postfix for slotting
mv "${D}/usr/share/boostbook" "${D}/usr/share/boostbook-${MAJOR_PV}"
_add_line "dirs=\"/usr/share/boostbook-${MAJOR_PV}\""
fi
cd "${S}/status"
if [ -f regress.log ] ; then
docinto status
dohtml *.{html,gif} ../boost.png
dodoc regress.log
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"
${BJAM} -q \
gentoorelease \
${OPTIONS} \
process_jam_log compiler_status \
|| die "building regression test helpers failed"
cd "${S}/status"
# 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
${BJAM} \
${OPTIONS} \
--dump-tests 2>&1 | tee regress.log
# Postprocessing
cat regress.log | "${S}/tools/regression/build/bin/gcc-$(gcc-version)/gentoorelease/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/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
}
pkg_postinst() {
use eselect && eselect boost update
if [ ! -h "${ROOT}/etc/eselect/boost/active" ] ; then
elog "No active boost version found. Calling eselect to select one..."
eselect boost update
fi
}

View File

@ -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
{

View File

@ -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

View File

@ -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)
//

View File

@ -0,0 +1,24 @@
diff -urN boost_1_33_0-pristine/tools/build/v1/gcc-tools.jam boost_1_33_0/tools/build/v1/gcc-tools.jam
--- boost_1_33_0-pristine/tools/build/v1/gcc-tools.jam 2005-09-12 00:31:23.000000000 -0400
+++ boost_1_33_0/tools/build/v1/gcc-tools.jam 2005-09-12 00:32:45.000000000 -0400
@@ -146,7 +146,7 @@
}
case * :
{
- flags gcc CFLAGS <threading>multi : -pthread ;
+ flags gcc CFLAGS <threading>multi : -D_REENTRANT -pthread ;
flags gcc LINKFLAGS <threading>multi : -pthread ;
flags gcc FINDLIBS <threading>multi : rt ;
}
diff -urN boost_1_33_0-pristine/tools/build/v2/tools/gcc.jam boost_1_33_0/tools/build/v2/tools/gcc.jam
--- boost_1_33_0-pristine/tools/build/v2/tools/gcc.jam 2005-09-12 00:31:23.000000000 -0400
+++ boost_1_33_0/tools/build/v2/tools/gcc.jam 2005-09-12 00:33:04.000000000 -0400
@@ -368,7 +368,7 @@
}
case * :
{
- flags gcc OPTIONS <threading>multi : -pthread ;
+ flags gcc OPTIONS <threading>multi : -D_REENTRANT -pthread ;
flags gcc FINDLIBS-SA <threading>multi : rt ;
}
}

View File

@ -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 =

View File

@ -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 ;

View File

@ -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) ] ;

View File

@ -0,0 +1,24 @@
<?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>
<longdescription>
Boost is a free peer-reviewed portable C++ source libraries.
</longdescription>
<use>
<flag name='bcp'>Install the bcp tool
http://www.boost.org/tools/bcp/bcp.html</flag>
<flag name='bjam'>Install the BoostJam tool
http://www.boost.org/tools/build/jam_src/index.html</flag>
<flag name='pyste'>Add support for the pyste frontend</flag>
<flag name='threadsonly'>Only build multithreaded libs</flag>
<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>