1 |
dev-zero 11/01/06 14:00:10 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: boost-build-1.45.0.ebuild |
5 |
Log: |
6 |
Version bump (bug #320039). |
7 |
|
8 |
(Portage version: 2.1.9.26/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.62 dev-util/boost-build/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/boost-build/ChangeLog?rev=1.62&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/boost-build/ChangeLog?rev=1.62&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/boost-build/ChangeLog?r1=1.61&r2=1.62 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/dev-util/boost-build/ChangeLog,v |
20 |
retrieving revision 1.61 |
21 |
retrieving revision 1.62 |
22 |
diff -u -r1.61 -r1.62 |
23 |
--- ChangeLog 1 Jan 2011 23:57:40 -0000 1.61 |
24 |
+++ ChangeLog 6 Jan 2011 14:00:10 -0000 1.62 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for dev-util/boost-build |
27 |
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/dev-util/boost-build/ChangeLog,v 1.61 2011/01/01 23:57:40 tomka Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/dev-util/boost-build/ChangeLog,v 1.62 2011/01/06 14:00:10 dev-zero Exp $ |
30 |
+ |
31 |
+*boost-build-1.45.0 (06 Jan 2011) |
32 |
+ |
33 |
+ 06 Jan 2011; Tiziano Müller <dev-zero@g.o> |
34 |
+ +boost-build-1.45.0.ebuild: |
35 |
+ Version bump (bug #320039). |
36 |
|
37 |
01 Jan 2011; Thomas Kahle <tomka@g.o> boost-build-1.42.0.ebuild: |
38 |
x86 stable per bug 344677 |
39 |
|
40 |
|
41 |
|
42 |
1.1 dev-util/boost-build/boost-build-1.45.0.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/boost-build/boost-build-1.45.0.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/boost-build/boost-build-1.45.0.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: boost-build-1.45.0.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2011 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $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 $ |
52 |
|
53 |
EAPI="2" |
54 |
|
55 |
inherit eutils flag-o-matic toolchain-funcs versionator |
56 |
|
57 |
MY_PV=$(replace_all_version_separators _) |
58 |
MAJOR_PV="$(replace_all_version_separators _ $(get_version_component_range 1-2))" |
59 |
|
60 |
DESCRIPTION="A system for large project software construction, which is simple to use and powerful." |
61 |
HOMEPAGE="http://www.boost.org/doc/tools/build/index.html" |
62 |
SRC_URI="mirror://sourceforge/boost/boost_${MY_PV}.tar.bz2" |
63 |
LICENSE="Boost-1.0" |
64 |
SLOT="$(get_version_component_range 1-2)" |
65 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" |
66 |
IUSE="examples python" |
67 |
|
68 |
DEPEND="!<dev-libs/boost-1.34.0 |
69 |
!<=dev-util/boost-build-1.35.0-r1 |
70 |
python? ( dev-lang/python )" |
71 |
RDEPEND="${DEPEND}" |
72 |
|
73 |
S="${WORKDIR}/boost_${MY_PV}/tools/build/v2" |
74 |
|
75 |
src_unpack() { |
76 |
tar xjpf "${DISTDIR}/${A}" boost_${MY_PV}/tools/build/v2 || die "unpacking tar failed" |
77 |
} |
78 |
|
79 |
src_prepare() { |
80 |
# TODO: |
81 |
# epatch "${FILESDIR}/boost-1.42-fix-mpich2-detection.patch" |
82 |
|
83 |
cd "${S}/engine" |
84 |
epatch "${FILESDIR}/${PN}-1.42-env-whitespace.patch" # 293652 |
85 |
|
86 |
# Remove stripping option |
87 |
cd "${S}/engine/src" |
88 |
sed -i -e 's|-s\b||' \ |
89 |
build.jam || die "sed failed" |
90 |
|
91 |
# Force regeneration |
92 |
rm jambase.c |
93 |
|
94 |
# This patch allows us to fully control optimization |
95 |
# and stripping flags when bjam is used as build-system |
96 |
# We simply extend the optimization and debug-symbols feature |
97 |
# with empty dummies called 'none' |
98 |
cd "${S}" |
99 |
sed -i \ |
100 |
-e 's/\(off speed space\)/\1 none/' \ |
101 |
-e 's/\(debug-symbols : on off\)/\1 none/' \ |
102 |
tools/builtin.jam || die "sed failed" |
103 |
} |
104 |
|
105 |
src_compile() { |
106 |
cd engine/src |
107 |
local toolset |
108 |
|
109 |
if [[ ${CHOST} == *-darwin* ]] ; then |
110 |
toolset=darwin |
111 |
else |
112 |
# Using boost's generic toolset here, which respects CC and CFLAGS |
113 |
toolset=cc |
114 |
fi |
115 |
|
116 |
append-flags -fno-strict-aliasing |
117 |
|
118 |
# For slotting |
119 |
sed -i \ |
120 |
-e "s|/usr/share/boost-build|/usr/share/boost-build-${MAJOR_PV}|" \ |
121 |
Jambase || die "sed failed" |
122 |
|
123 |
# The build.jam file for building bjam using a bootstrapped jam0 ignores |
124 |
# the LDFLAGS env var (bug #209794). We have now two options: |
125 |
# a) change the cc-target definition in build.jam to include separate compile |
126 |
# and link targets to make it use the LDFLAGS var, or |
127 |
# b) a simple dirty workaround by injecting the LDFLAGS in the LIBS env var |
128 |
# (which should not be set by us). |
129 |
if [[ -z "${LDFLAGS}" ]] ; then |
130 |
CC=$(tc-getCC) ./build.sh ${toolset} $(use_with python) \ |
131 |
|| die "building bjam failed" |
132 |
else |
133 |
LDFLAGS=$(echo ${LDFLAGS}) # 293652 |
134 |
LIBS=${LDFLAGS} CC=$(tc-getCC) ./build.sh ${toolset} \ |
135 |
$(use_with python) || die "building bjam failed" |
136 |
fi |
137 |
} |
138 |
|
139 |
src_install() { |
140 |
newbin engine/src/bin.*/bjam bjam-${MAJOR_PV} |
141 |
|
142 |
cd "${S}" |
143 |
insinto /usr/share/boost-build-${MAJOR_PV} |
144 |
doins -r boost-build.jam bootstrap.jam build-system.jam site-config.jam user-config.jam \ |
145 |
build kernel options tools util || die |
146 |
|
147 |
dodoc changes.txt hacking.txt release_procedure.txt \ |
148 |
notes/build_dir_option.txt notes/relative_source_paths.txt |
149 |
|
150 |
if use examples ; then |
151 |
insinto /usr/share/doc/${PF} |
152 |
doins -r example |
153 |
fi |
154 |
} |
155 |
|
156 |
src_test() { |
157 |
cd engine/test |
158 |
./test.sh || die "tests failed" |
159 |
} |