summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2015-12-21 17:34:27 -0500
committerMichael Sterrett <mr_bones_@gentoo.org>2015-12-21 17:34:27 -0500
commitcf00534e64f93c0992faf2584a970f1910afcc5a (patch)
treebc30c87a7b4835a31effb044b6fdfb485853ec77 /eclass/games.eclass
parentmake pgkcheck happy about SRC_URI (diff)
downloadgentoo-cf00534e64f93c0992faf2584a970f1910afcc5a.tar.gz
gentoo-cf00534e64f93c0992faf2584a970f1910afcc5a.tar.bz2
gentoo-cf00534e64f93c0992faf2584a970f1910afcc5a.zip
mask games-fps/ut2004-ultraduel for removal
Diffstat (limited to 'eclass/games.eclass')
-rw-r--r--eclass/games.eclass8
1 files changed, 5 insertions, 3 deletions
diff --git a/eclass/games.eclass b/eclass/games.eclass
index 7d231e186cc9..2aa64617b2c5 100644
--- a/eclass/games.eclass
+++ b/eclass/games.eclass
@@ -24,7 +24,7 @@
if [[ -z ${_GAMES_ECLASS} ]]; then
_GAMES_ECLASS=1
-inherit base multilib toolchain-funcs eutils user
+inherit multilib toolchain-funcs eutils user
case ${EAPI:-0} in
0|1) EXPORT_FUNCTIONS pkg_setup src_compile pkg_preinst pkg_postinst ;;
@@ -302,12 +302,14 @@ games_src_configure() {
# @FUNCTION: games_src_compile
# @DESCRIPTION:
-# Runs base_src_make(). This function is exported as src_compile().
+# This function is exported as src_compile().
games_src_compile() {
case ${EAPI:-0} in
0|1) games_src_configure ;;
esac
- base_src_make
+ if [[ -f Makefile || -f GNUmakefile || -f makefile ]]; then
+ emake "$@" || die "died running emake, $FUNCNAME"
+ fi
}
# @FUNCTION: games_pkg_preinst