summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Heaven <nyhm@gentoo.org>2007-09-12 21:15:12 +0000
committerTristan Heaven <nyhm@gentoo.org>2007-09-12 21:15:12 +0000
commitd83b218c30460328382c0166e0d317fca34932b6 (patch)
tree16e81df4f3de7d81e36e89e870d2b34abc811355 /games-strategy/glob2
parentStable on amd64 wrt bug #191658 (diff)
downloadgentoo-2-d83b218c30460328382c0166e0d317fca34932b6.tar.gz
gentoo-2-d83b218c30460328382c0166e0d317fca34932b6.tar.bz2
gentoo-2-d83b218c30460328382c0166e0d317fca34932b6.zip
Check for boost threads, bug #192144
(Portage version: 2.1.3.9)
Diffstat (limited to 'games-strategy/glob2')
-rw-r--r--games-strategy/glob2/ChangeLog5
-rw-r--r--games-strategy/glob2/glob2-0.9.1.ebuild11
2 files changed, 14 insertions, 2 deletions
diff --git a/games-strategy/glob2/ChangeLog b/games-strategy/glob2/ChangeLog
index a516779e2991..c72fcfd24f8b 100644
--- a/games-strategy/glob2/ChangeLog
+++ b/games-strategy/glob2/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for games-strategy/glob2
# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/glob2/ChangeLog,v 1.36 2007/09/12 11:12:58 nyhm Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/glob2/ChangeLog,v 1.37 2007/09/12 21:15:12 nyhm Exp $
+
+ 12 Sep 2007; Tristan Heaven <nyhm@gentoo.org> glob2-0.9.1.ebuild:
+ Check for boost threads, bug #192144
12 Sep 2007; Tristan Heaven <nyhm@gentoo.org> glob2-0.9.1.ebuild:
Depend on >=dev-util/scons-0.97, bug #191984
diff --git a/games-strategy/glob2/glob2-0.9.1.ebuild b/games-strategy/glob2/glob2-0.9.1.ebuild
index 1330c139ffce..b990a5598c07 100644
--- a/games-strategy/glob2/glob2-0.9.1.ebuild
+++ b/games-strategy/glob2/glob2-0.9.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/glob2/glob2-0.9.1.ebuild,v 1.3 2007/09/12 15:19:20 nyhm Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/glob2/glob2-0.9.1.ebuild,v 1.4 2007/09/12 21:15:12 nyhm Exp $
inherit eutils games
@@ -25,6 +25,15 @@ RDEPEND="virtual/opengl
DEPEND="${RDEPEND}
>=dev-util/scons-0.97"
+pkg_setup() {
+ games_pkg_setup
+ if has_version "<dev-libs/boost-1.34" && \
+ ! built_with_use dev-libs/boost threads
+ then
+ die "Please emerge dev-libs/boost with USE=threads"
+ fi
+}
+
src_unpack() {
unpack ${A}
cd "${S}"