summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2007-07-24 20:45:17 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2007-07-24 20:45:17 +0000
commite434d26a040e4459de0b4b51e6ef1269883ab7ca (patch)
tree935b2ec94d3e11fc94c33eeea9b288b5abd58b27 /sci-astronomy
parentAdd prerelease for compatibility with linux-2.6.22 (bug #185130) (diff)
downloadgentoo-2-e434d26a040e4459de0b4b51e6ef1269883ab7ca.tar.gz
gentoo-2-e434d26a040e4459de0b4b51e6ef1269883ab7ca.tar.bz2
gentoo-2-e434d26a040e4459de0b4b51e6ef1269883ab7ca.zip
add a check for x11-libs/qt-4 built with opengl (bug #186194)
(Portage version: 2.1.2.9)
Diffstat (limited to 'sci-astronomy')
-rw-r--r--sci-astronomy/stellarium/ChangeLog6
-rw-r--r--sci-astronomy/stellarium/stellarium-0.9.0.ebuild9
2 files changed, 13 insertions, 2 deletions
diff --git a/sci-astronomy/stellarium/ChangeLog b/sci-astronomy/stellarium/ChangeLog
index b4e231cb18ea..8ea7ffc45884 100644
--- a/sci-astronomy/stellarium/ChangeLog
+++ b/sci-astronomy/stellarium/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sci-astronomy/stellarium
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/stellarium/ChangeLog,v 1.32 2007/07/22 07:33:27 dberkholz Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/stellarium/ChangeLog,v 1.33 2007/07/24 20:45:17 mr_bones_ Exp $
+
+ 24 Jul 2007; Michael Sterrett <mr_bones_@gentoo.org>
+ stellarium-0.9.0.ebuild:
+ add a check for x11-libs/qt-4 built with opengl (bug #186194)
22 Jul 2007; Donnie Berkholz <dberkholz@gentoo.org>;
stellarium-0.8.2.ebuild:
diff --git a/sci-astronomy/stellarium/stellarium-0.9.0.ebuild b/sci-astronomy/stellarium/stellarium-0.9.0.ebuild
index 82ba76b3113b..abe88b674c83 100644
--- a/sci-astronomy/stellarium/stellarium-0.9.0.ebuild
+++ b/sci-astronomy/stellarium/stellarium-0.9.0.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/sci-astronomy/stellarium/stellarium-0.9.0.ebuild,v 1.1 2007/07/21 00:01:52 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/stellarium/stellarium-0.9.0.ebuild,v 1.2 2007/07/24 20:45:17 mr_bones_ Exp $
inherit toolchain-funcs eutils
@@ -27,6 +27,13 @@ DEPEND="${RDEPEND}
nls? ( sys-devel/gettext )
x11-libs/libXt"
+pkg_setup() {
+ # bug #186194
+ if ! built_with_use '=x11-libs/qt-4*' opengl; then
+ die "=x11-libs/qt-4* built without USE=\"opengl\""
+ fi
+}
+
src_unpack() {
unpack ${A}
cd "${S}"