summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2003-07-08 02:27:09 +0000
committerMike Frysinger <vapier@gentoo.org>2003-07-08 02:27:09 +0000
commitd6bca9e0d7a408e5cd865e807120cb997d9e56f9 (patch)
tree44c6ef0bfdfa7c9a0543ba987f842c8d838fca0a /eclass
parentApply compile fix for gcc33 (diff)
downloadgentoo-2-d6bca9e0d7a408e5cd865e807120cb997d9e56f9.tar.gz
gentoo-2-d6bca9e0d7a408e5cd865e807120cb997d9e56f9.tar.bz2
gentoo-2-d6bca9e0d7a408e5cd865e807120cb997d9e56f9.zip
unbreak all the games i just broke
Diffstat (limited to 'eclass')
-rw-r--r--eclass/games.eclass6
1 files changed, 3 insertions, 3 deletions
diff --git a/eclass/games.eclass b/eclass/games.eclass
index 588357ef7fc6..80e6245f4d6d 100644
--- a/eclass/games.eclass
+++ b/eclass/games.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/games.eclass,v 1.35 2003/07/08 00:43:28 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/games.eclass,v 1.36 2003/07/08 02:27:09 vapier Exp $
#
# devlist: {bass,phoenix,vapier}@gentoo.org
#
@@ -105,8 +105,8 @@ games_pkg_setup() {
}
games_src_compile() {
- egamesconf || die "egamesconf failed"
- emake || die "emake failed"
+ [ -x ./configure ] && { egamesconf || die "egamesconf failed"; }
+ [ -e [Mm]akefile] && { emake || die "emake failed"; }
}
# pkg_postinst function ... create env.d entry and warn about games group