summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-games/ogre')
-rw-r--r--dev-games/ogre/ChangeLog5
-rw-r--r--dev-games/ogre/ogre-1.4.1.ebuild17
2 files changed, 9 insertions, 13 deletions
diff --git a/dev-games/ogre/ChangeLog b/dev-games/ogre/ChangeLog
index 58b6c5895fdd..a684daed5c37 100644
--- a/dev-games/ogre/ChangeLog
+++ b/dev-games/ogre/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-games/ogre
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-games/ogre/ChangeLog,v 1.37 2007/05/29 19:38:19 nyhm Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-games/ogre/ChangeLog,v 1.38 2007/06/12 00:09:31 nyhm Exp $
+
+ 12 Jun 2007; Tristan Heaven <nyhm@gentoo.org> ogre-1.4.1.ebuild:
+ Fix dev-libs/boost built_with_use test, bug #181226
*ogre-1.4.1 (29 May 2007)
diff --git a/dev-games/ogre/ogre-1.4.1.ebuild b/dev-games/ogre/ogre-1.4.1.ebuild
index 18f1e6f5d293..896397e306eb 100644
--- a/dev-games/ogre/ogre-1.4.1.ebuild
+++ b/dev-games/ogre/ogre-1.4.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/dev-games/ogre/ogre-1.4.1.ebuild,v 1.1 2007/05/29 19:38:19 nyhm Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-games/ogre/ogre-1.4.1.ebuild,v 1.2 2007/06/12 00:09:31 nyhm Exp $
inherit eutils autotools
@@ -39,17 +39,10 @@ DEPEND="${RDEPEND}
S=${WORKDIR}/ogrenew
pkg_setup() {
- if use threads ; then
- if ! built_with_use dev-libs/boost threads ; then
- die "Please emerge dev-libs/boost with USE=threads"
- fi
- ewarn "Threads support is experimental in ${PN} and is not recommended."
- ewarn "See http://bugs.gentoo.org/show_bug.cgi?id=144819"
- ewarn "Read the man page for portage by typing \"man portage\""
- ewarn "and read about /etc/portage/package.use for disabling"
- ewarn "the threads use flag for ${PN} without affecting other packages."
- ebeep
- epause 10
+ if use threads && 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
}