summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Heaven <nyhm@gentoo.org>2007-06-12 00:09:31 +0000
committerTristan Heaven <nyhm@gentoo.org>2007-06-12 00:09:31 +0000
commit6ac88596dc8f2c93155aea1eb95ee66e75cda478 (patch)
tree1a1e3e35b10a1405b618a3212367031e0ec8ad10 /dev-games
parentStable on amd64 wrt bug 174939 (diff)
downloadgentoo-2-6ac88596dc8f2c93155aea1eb95ee66e75cda478.tar.gz
gentoo-2-6ac88596dc8f2c93155aea1eb95ee66e75cda478.tar.bz2
gentoo-2-6ac88596dc8f2c93155aea1eb95ee66e75cda478.zip
Fix dev-libs/boost built_with_use test, bug #181226
(Portage version: 2.1.2.9)
Diffstat (limited to 'dev-games')
-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
}