summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2004-12-09 06:15:28 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2004-12-09 06:15:28 +0000
commit2b8e6fb30c21ad79172b70b9421c13cb7a28fa15 (patch)
tree2af9d8f1455cbf339675057882cf70aa7b5e42b4 /games-strategy/scorched3d
parentsmall patch to fix cross compiling on sh (Manifest recommit) (diff)
downloadgentoo-2-2b8e6fb30c21ad79172b70b9421c13cb7a28fa15.tar.gz
gentoo-2-2b8e6fb30c21ad79172b70b9421c13cb7a28fa15.tar.bz2
gentoo-2-2b8e6fb30c21ad79172b70b9421c13cb7a28fa15.zip
another shot at bug #73527
Diffstat (limited to 'games-strategy/scorched3d')
-rw-r--r--games-strategy/scorched3d/ChangeLog5
-rw-r--r--games-strategy/scorched3d/scorched3d-38.ebuild13
2 files changed, 13 insertions, 5 deletions
diff --git a/games-strategy/scorched3d/ChangeLog b/games-strategy/scorched3d/ChangeLog
index 51905d68568f..d6101e243e58 100644
--- a/games-strategy/scorched3d/ChangeLog
+++ b/games-strategy/scorched3d/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for games-strategy/scorched3d
# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/scorched3d/ChangeLog,v 1.15 2004/12/06 08:41:24 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/scorched3d/ChangeLog,v 1.16 2004/12/09 06:15:28 mr_bones_ Exp $
+
+ 08 Dec 2004; Michael Sterrett <mr_bones_@gentoo.org> scorched3d-38.ebuild:
+ another shot at bug #73527
06 Dec 2004; Michael Sterrett <mr_bones_@gentoo.org> scorched3d-38.ebuild:
wxGTK checking fix supplied by Kristiaan Lenaerts via bug #73527
diff --git a/games-strategy/scorched3d/scorched3d-38.ebuild b/games-strategy/scorched3d/scorched3d-38.ebuild
index 08a88fbb7684..80311960e18b 100644
--- a/games-strategy/scorched3d/scorched3d-38.ebuild
+++ b/games-strategy/scorched3d/scorched3d-38.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/scorched3d/scorched3d-38.ebuild,v 1.2 2004/12/06 08:41:24 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/scorched3d/scorched3d-38.ebuild,v 1.3 2004/12/09 06:15:28 mr_bones_ Exp $
inherit wxwidgets games
@@ -24,15 +24,20 @@ DEPEND=">=media-libs/libsdl-1.0.1
S="${WORKDIR}/scorched"
pkg_setup() {
- if ! use gtk2; then
- need-wxwidgets gtk || die "No gtk1 version of x11-libs/wxGTK found"
- else
+ if use gtk2; then
need-wxwidgets gtk2 || die "You need to emerge wxGTK with USE='gtk2'"
+ else
+ need-wxwidgets gtk || die "No gtk1 version of x11-libs/wxGTK found"
fi
games_pkg_setup
}
src_compile() {
+ if use gtk2; then
+ need-wxwidgets gtk2 || die "You need to emerge wxGTK with USE='gtk2'"
+ else
+ need-wxwidgets gtk || die "No gtk1 version of x11-libs/wxGTK found"
+ fi
egamesconf \
--disable-dependency-tracking \
--exec_prefix="${GAMES_PREFIX}" \