summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Heaven <nyhm@gentoo.org>2007-02-17 09:56:49 +0000
committerTristan Heaven <nyhm@gentoo.org>2007-02-17 09:56:49 +0000
commitf032677d936c90375e2a2299d74d748e635dcf42 (patch)
treedcef1260d990074e3d1af46066d35860bb075b42 /games-sports
parentAdded pkg_postinst/pkg_postrm with elisp-site-regen (bug #167305). Fixed trai... (diff)
downloadgentoo-2-f032677d936c90375e2a2299d74d748e635dcf42.tar.gz
gentoo-2-f032677d936c90375e2a2299d74d748e635dcf42.tar.bz2
gentoo-2-f032677d936c90375e2a2299d74d748e635dcf42.zip
ugly built_with_use checks for bug #166286 and bug #166284
(Portage version: 2.1.2-r9)
Diffstat (limited to 'games-sports')
-rw-r--r--games-sports/ultimatestunts/ultimatestunts-0.7.0.ebuild12
1 files changed, 11 insertions, 1 deletions
diff --git a/games-sports/ultimatestunts/ultimatestunts-0.7.0.ebuild b/games-sports/ultimatestunts/ultimatestunts-0.7.0.ebuild
index 72c8a63de133..d894bf5ab7a2 100644
--- a/games-sports/ultimatestunts/ultimatestunts-0.7.0.ebuild
+++ b/games-sports/ultimatestunts/ultimatestunts-0.7.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/games-sports/ultimatestunts/ultimatestunts-0.7.0.ebuild,v 1.1 2007/01/31 16:44:48 nyhm Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-sports/ultimatestunts/ultimatestunts-0.7.0.ebuild,v 1.2 2007/02/17 09:56:49 nyhm Exp $
inherit autotools eutils versionator games
@@ -27,6 +27,16 @@ DEPEND="${RDEPEND}
S=${WORKDIR}/${MY_P}
+pkg_setup() {
+ games_pkg_setup
+ if ! built_with_use media-libs/libsdl opengl ; then
+ die "Please emerge libsdl with USE=opengl"
+ fi
+ if ! built_with_use media-libs/openal vorbis ; then
+ die "Please emerge openal with USE=vorbis"
+ fi
+}
+
src_unpack() {
unpack ${A}
cd "${S}"