summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-05-13 01:53:26 +0000
committerMike Frysinger <vapier@gentoo.org>2005-05-13 01:53:26 +0000
commit26e32462899e755f07fc3e5f7c8413cc36446b61 (patch)
treea1ff4d9938a4a27eb3e544bf095483b2ae4f450e /games-rpg
parentInitial import. Ebuild by yours truly. (diff)
downloadgentoo-2-26e32462899e755f07fc3e5f7c8413cc36446b61.tar.gz
gentoo-2-26e32462899e755f07fc3e5f7c8413cc36446b61.tar.bz2
gentoo-2-26e32462899e755f07fc3e5f7c8413cc36446b61.zip
make sure dev-games/guichan is built with USE=sdl #92362
(Portage version: 2.0.51.21-r1)
Diffstat (limited to 'games-rpg')
-rw-r--r--games-rpg/tmw/tmw-0.0.12.ebuild9
1 files changed, 8 insertions, 1 deletions
diff --git a/games-rpg/tmw/tmw-0.0.12.ebuild b/games-rpg/tmw/tmw-0.0.12.ebuild
index 48871688f9eb..c27ea6a8dadf 100644
--- a/games-rpg/tmw/tmw-0.0.12.ebuild
+++ b/games-rpg/tmw/tmw-0.0.12.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-rpg/tmw/tmw-0.0.12.ebuild,v 1.1 2005/05/05 01:09:05 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-rpg/tmw/tmw-0.0.12.ebuild,v 1.2 2005/05/13 01:53:26 vapier Exp $
inherit eutils games
@@ -19,6 +19,13 @@ DEPEND=">=dev-games/physfs-1.0.0
media-libs/sdl-image
>=dev-games/guichan-0.3.0"
+pkg_setup() {
+ if ! built_with_use dev-games/guichan sdl ; then
+ eerror "dev-games/guichan needs to be built with USE=sdl"
+ die "please re-emerge guichan with USE=sdl"
+ fi
+}
+
src_unpack() {
unpack ${A}
cd "${S}"