summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2005-08-09 20:52:56 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2005-08-09 20:52:56 +0000
commitb2d0ab588fcd9b0e0b2da838d1bc2a72234da82a (patch)
treee7157aed6b825817f4e4e88b8449c9e7e9a8d479
parentReadded to ~ppc (diff)
downloadgentoo-2-b2d0ab588fcd9b0e0b2da838d1bc2a72234da82a.tar.gz
gentoo-2-b2d0ab588fcd9b0e0b2da838d1bc2a72234da82a.tar.bz2
gentoo-2-b2d0ab588fcd9b0e0b2da838d1bc2a72234da82a.zip
work around portage bug: described in bug #73527
(Portage version: 2.0.51.22-r2)
-rw-r--r--games-strategy/scorched3d/scorched3d-39.ebuild8
1 files changed, 7 insertions, 1 deletions
diff --git a/games-strategy/scorched3d/scorched3d-39.ebuild b/games-strategy/scorched3d/scorched3d-39.ebuild
index 82e2c9c7f3fd..adf90dde995a 100644
--- a/games-strategy/scorched3d/scorched3d-39.ebuild
+++ b/games-strategy/scorched3d/scorched3d-39.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-strategy/scorched3d/scorched3d-39.ebuild,v 1.1 2005/08/09 00:40:33 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/scorched3d/scorched3d-39.ebuild,v 1.2 2005/08/09 20:52:56 mr_bones_ Exp $
inherit wxwidgets games
@@ -33,6 +33,12 @@ pkg_setup() {
}
src_compile() {
+ # work around portage bug: described in bug #73527
+ 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}" \