summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'eclass/games.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