summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-strategy/scorched3d/scorched3d-36.2.ebuild')
-rw-r--r--games-strategy/scorched3d/scorched3d-36.2.ebuild17
1 files changed, 13 insertions, 4 deletions
diff --git a/games-strategy/scorched3d/scorched3d-36.2.ebuild b/games-strategy/scorched3d/scorched3d-36.2.ebuild
index c6ee92a19363..52f41916dcaf 100644
--- a/games-strategy/scorched3d/scorched3d-36.2.ebuild
+++ b/games-strategy/scorched3d/scorched3d-36.2.ebuild
@@ -1,18 +1,16 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/scorched3d/scorched3d-36.2.ebuild,v 1.2 2004/01/16 21:32:53 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/scorched3d/scorched3d-36.2.ebuild,v 1.3 2004/01/17 02:16:34 vapier Exp $
inherit games
-S="${WORKDIR}/scorched"
DESCRIPTION="Multi-player tank battle in 3D (OpenGL)"
HOMEPAGE="http://www.scorched3d.co.uk/"
SRC_URI="mirror://sourceforge/scorched3d/Scorched3D-${PV}-src.tar.gz"
-KEYWORDS="x86 ppc"
LICENSE="GPL-2"
SLOT="0"
-IUSE=""
+KEYWORDS="x86 ppc"
RDEPEND=">=media-libs/libsdl-1.0.1
media-libs/sdl-net
@@ -24,6 +22,8 @@ RDEPEND=">=media-libs/libsdl-1.0.1
DEPEND="${RDEPEND}
>=sys-apps/sed-4"
+S=${WORKDIR}/scorched
+
src_compile() {
egamesconf \
--exec_prefix="${GAMES_PREFIX}" \
@@ -45,3 +45,12 @@ src_install() {
cp README "${D}${GAMES_DATADIR}/${PN}" || die "cp failed (README)"
prepgamesdirs
}
+
+pkg_postinst() {
+ games_pkg_postinst
+ if has_version media-video/ati-drivers ; then
+ ewarn "This game might segfault while using ATI drivers."
+ ewarn "Please disable opengl support if it does."
+ ewarn "http://bugs.gentoo.org/show_bug.cgi?id=38443"
+ fi
+}