summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'eclass/games.eclass')
-rw-r--r--eclass/games.eclass8
1 files changed, 3 insertions, 5 deletions
diff --git a/eclass/games.eclass b/eclass/games.eclass
index 2aa64617b2c5..7d231e186cc9 100644
--- a/eclass/games.eclass
+++ b/eclass/games.eclass
@@ -24,7 +24,7 @@
if [[ -z ${_GAMES_ECLASS} ]]; then
_GAMES_ECLASS=1
-inherit multilib toolchain-funcs eutils user
+inherit base multilib toolchain-funcs eutils user
case ${EAPI:-0} in
0|1) EXPORT_FUNCTIONS pkg_setup src_compile pkg_preinst pkg_postinst ;;
@@ -302,14 +302,12 @@ games_src_configure() {
# @FUNCTION: games_src_compile
# @DESCRIPTION:
-# This function is exported as src_compile().
+# Runs base_src_make(). This function is exported as src_compile().
games_src_compile() {
case ${EAPI:-0} in
0|1) games_src_configure ;;
esac
- if [[ -f Makefile || -f GNUmakefile || -f makefile ]]; then
- emake "$@" || die "died running emake, $FUNCNAME"
- fi
+ base_src_make
}
# @FUNCTION: games_pkg_preinst