Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 234902 | Differences between
and this patch

Collapse All | Expand All

(-)boost-1.35.0-r1.ebuild (-13 / +14 lines)
Lines 78-83 Link Here
78
	OPTIONS="gentoorelease"
80
	OPTIONS="gentoorelease"
79
	use debug && OPTIONS="gentoodebug"
81
	use debug && OPTIONS="gentoodebug"
80
82
83
	BUILD_NAME="${OPTIONS}"
84
81
	use icu && OPTIONS="${OPTIONS} -sICU_PATH=/usr"
85
	use icu && OPTIONS="${OPTIONS} -sICU_PATH=/usr"
82
	if use expat ; then
86
	if use expat ; then
83
		OPTIONS="${OPTIONS} -sEXPAT_INCLUDE=/usr/include -sEXPAT_LIBPATH=/usr/$(get_libdir)"
87
		OPTIONS="${OPTIONS} -sEXPAT_INCLUDE=/usr/include -sEXPAT_LIBPATH=/usr/$(get_libdir)"
Lines 151-165 Link Here
151
			|| die "building tools failed"
155
			|| die "building tools failed"
152
	fi
156
	fi
153
157
154
	if has test ${FEATURES} ; then
155
		cd "${S}/tools/regression/build"
156
		bjam -q \
157
			${OPTIONS} \
158
			--prefix="${D}/usr" \
159
			--layout=system \
160
			|| die "building regression test helpers failed"
161
	fi
162
163
}
158
}
164
159
165
src_install () {
160
src_install () {
Lines 220-227 Link Here
220
		doins -r share
215
		doins -r share
221
	fi
216
	fi
222
217
223
	if has test ${FEATURES} ; then
218
	cd "${S}/status"
224
		cd "${S}/status"
219
	if test -f regress.log ; then
225
		docinto status
220
		docinto status
226
		dohtml *.{html,gif} ../boost.png
221
		dohtml *.{html,gif} ../boost.png
227
		dodoc regress.log
222
		dodoc regress.log
Lines 233-238 Link Here
233
228
234
	export BOOST_ROOT=${S}
229
	export BOOST_ROOT=${S}
235
230
231
	cd "${S}/tools/regression/build"
232
	bjam -q \
233
		${OPTIONS} \
234
		--prefix="${D}/usr" \
235
		--layout=system \
236
		process_jam_log compiler_status \
237
		|| die "building regression test helpers failed"
238
236
	cd "${S}/status"
239
	cd "${S}/status"
237
240
238
	# Some of the test-checks seem to rely on regexps
241
	# Some of the test-checks seem to rely on regexps
Lines 247-253 Link Here
247
		--dump-tests 2>&1 | tee regress.log
250
		--dump-tests 2>&1 | tee regress.log
248
251
249
	# Postprocessing
252
	# Postprocessing
250
	cat regress.log | "${S}/dist/bin/process_jam_log" --v2
253
	cat regress.log | "${S}/tools/regression/build/bin/gcc-$(gcc-version)/${BUILD_NAME}/process_jam_log" --v2
251
	if test $? != 0 ; then
254
	if test $? != 0 ; then
252
		die "Postprocessing the build log failed"
255
		die "Postprocessing the build log failed"
253
	fi
256
	fi
Lines 257-263 Link Here
257
__EOF__
260
__EOF__
258
261
259
	# Generate the build log html summary page
262
	# Generate the build log html summary page
260
	"${S}/dist/bin/compiler_status" --v2 \
263
	"${S}/tools/regression/build/bin/gcc-$(gcc-version)/${BUILD_NAME}/compiler_status" --v2 \
261
		--comment "${S}/status/comment.html" "${S}" \
264
		--comment "${S}/status/comment.html" "${S}" \
262
		cs-$(uname).html cs-$(uname)-links.html
265
		cs-$(uname).html cs-$(uname)-links.html
263
	if test $? != 0 ; then
266
	if test $? != 0 ; then

Return to bug 234902