Line
Link Here
|
0 |
-- boost-1.39.0.ebuild |
0 |
++ boost-1.40.0.ebuild |
Lines 9-21
Link Here
|
9 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" |
9 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" |
10 |
|
10 |
|
11 |
MY_P=${PN}_$(replace_all_version_separators _) |
11 |
MY_P=${PN}_$(replace_all_version_separators _) |
12 |
PATCHSET_VERSION="${PV}-1" |
|
|
13 |
|
12 |
|
14 |
DESCRIPTION="Boost Libraries for C++" |
13 |
DESCRIPTION="Boost Libraries for C++" |
15 |
HOMEPAGE="http://www.boost.org/" |
14 |
HOMEPAGE="http://www.boost.org/" |
16 |
SRC_URI="mirror://sourceforge/boost/${MY_P}.tar.bz2 |
15 |
SRC_URI="mirror://sourceforge/boost/${MY_P}.tar.bz2" |
17 |
mirror://gentoo/boost-patches-${PATCHSET_VERSION}.tbz2 |
16 |
|
18 |
http://www.gentoo.org/~dev-zero/distfiles/boost-patches-${PATCHSET_VERSION}.tbz2" |
|
|
19 |
LICENSE="freedist Boost-1.0" |
17 |
LICENSE="freedist Boost-1.0" |
20 |
SLOT="$(get_version_component_range 1-2)" |
18 |
SLOT="$(get_version_component_range 1-2)" |
21 |
IUSE="debug doc +eselect expat icu mpi python tools" |
19 |
IUSE="debug doc +eselect expat icu mpi python tools" |
Lines 78-89
Link Here
|
78 |
} |
76 |
} |
79 |
|
77 |
|
80 |
src_prepare() { |
78 |
src_prepare() { |
81 |
EPATCH_SOURCE="${WORKDIR}/patches" |
|
|
82 |
EPATCH_SUFFIX="patch" |
83 |
epatch |
84 |
|
85 |
epatch \ |
79 |
epatch \ |
86 |
"${FILESDIR}/remove_toolset_from_targetname.patch" |
80 |
"${FILESDIR}/${PN}-1.40.0-remove_toolset_from_targetname.patch" |
87 |
|
81 |
|
88 |
# This enables building the boost.random library with /dev/urandom support |
82 |
# This enables building the boost.random library with /dev/urandom support |
89 |
if [[ -e /dev/urandom ]] ; then |
83 |
if [[ -e /dev/urandom ]] ; then |
Lines 112-118
Link Here
|
112 |
fi |
106 |
fi |
113 |
|
107 |
|
114 |
# Huge number of strict-aliasing warnings cause a build failure w/ >= GCC 4.4 bug #252287 |
108 |
# Huge number of strict-aliasing warnings cause a build failure w/ >= GCC 4.4 bug #252287 |
115 |
[[ $(gcc-version) > 4.3 ]] && append-flags -Wno-strict-aliasing |
109 |
[[ $(gcc-version) > 4.3 ]] && append-flags -fno-strict-aliasing |
116 |
|
110 |
|
117 |
use mpi && mpi="using mpi ;" |
111 |
use mpi && mpi="using mpi ;" |
118 |
|
112 |
|
119 |
-- files/boost-1.40.0-remove_toolset_from_targetname.patch |
113 |
++ files/boost-1.40.0-remove_toolset_from_targetname.patch |
Line 0
Link Here
|
|
|
1 |
--- Jamroot |
2 |
+++ Jamroot |
3 |
@@ -352,7 +352,7 @@ |
4 |
if $(layout) = versioned |
5 |
{ |
6 |
result = [ common.format-name |
7 |
- <base> <toolset> <threading> <runtime> -$(BOOST_VERSION_TAG) |
8 |
+ <base> <threading> <runtime> -$(BOOST_VERSION_TAG) |
9 |
-$(BUILD_ID) |
10 |
: $(name) : $(type) : $(property-set) ] ; |
11 |
} |