diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2007-07-24 20:45:17 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2007-07-24 20:45:17 +0000 |
commit | d97110eb3bb54b2831835dcd93d699908de5e7ce (patch) | |
tree | 88104bd63c713832aaed41963d36efcf674ea87c /sci-astronomy/stellarium/stellarium-0.9.0.ebuild | |
parent | Add prerelease for compatibility with linux-2.6.22 (bug #185130) (diff) | |
download | historical-d97110eb3bb54b2831835dcd93d699908de5e7ce.tar.gz historical-d97110eb3bb54b2831835dcd93d699908de5e7ce.tar.bz2 historical-d97110eb3bb54b2831835dcd93d699908de5e7ce.zip |
add a check for x11-libs/qt-4 built with opengl (bug #186194)
Package-Manager: portage-2.1.2.9
Diffstat (limited to 'sci-astronomy/stellarium/stellarium-0.9.0.ebuild')
-rw-r--r-- | sci-astronomy/stellarium/stellarium-0.9.0.ebuild | 9 |
1 files changed, 8 insertions, 1 deletions
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}" |