Gmane
Favicon
From: Michael Haubenwallner <michael.haubenwallner <at> salomon.at>
Subject: [prefix][!linux] boost-1.34.1
Newsgroups: gmane.linux.gentoo.alt
Date: 2007-08-31 09:10:32 GMT (1 year, 18 weeks, 5 days, 18 hours and 19 minutes ago)
Hi,

in boost-1.34.1.ebuild there is a condition on CHOST != darwin, which
enables building boost::random.

Looking at the implementation of boost::random it turns out that this is
implemented for linux only, (#ifdef __linux__), thus that random-Jamfile
only applies to linux.

So that condition needs to be changed to CHOST == linux.

/haubi/

-- 

Salomon Automation GmbH - Friesachstrasse 15 - A-8114 Friesach bei Graz
Sitz der Gesellschaft: Friesach bei Graz
UID-NR:ATU28654300 - Firmenbuchnummer: 49324 K
Firmenbuchgericht: Landesgericht für Zivilrechtssachen Graz

Index: dev-libs/boost/boost-1.34.1.ebuild
===================================================================
--- dev-libs/boost/boost-1.34.1.ebuild	(revision 9224)
+++ dev-libs/boost/boost-1.34.1.ebuild	(working copy)
@@ -54,7 +54,7 @@
 	rm boost-build.jam

 	# This enables building the boost.random library with /dev/urandom support
-	if [[ ${CHOST} != *-darwin* ]] ; then
+	if [[ ${CHOST} = *-linux* ]] ; then
 		mkdir -p libs/random/build
 		cp "${FILESDIR}/random-Jamfile" libs/random/build/Jamfile.v2
 	fi