summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2015-11-22 03:26:57 -0500
committerMichael Sterrett <mr_bones_@gentoo.org>2015-11-22 03:27:35 -0500
commita144d7480f781f21323943d87e6a56136add3830 (patch)
tree34c587e7bfd7ff92cdd4bca574247b8f1571c772 /eclass/games.eclass
parentdev-python/distlib: arm stable, bug #564588 (diff)
downloadgentoo-a144d7480f781f21323943d87e6a56136add3830.tar.gz
gentoo-a144d7480f781f21323943d87e6a56136add3830.tar.bz2
gentoo-a144d7480f781f21323943d87e6a56136add3830.zip
Stop inheriting base.eclass (bug #494208)
Diffstat (limited to 'eclass/games.eclass')
-rw-r--r--eclass/games.eclass10
1 files changed, 6 insertions, 4 deletions
diff --git a/eclass/games.eclass b/eclass/games.eclass
index 7d231e186cc9..aebf679b6423 100644
--- a/eclass/games.eclass
+++ b/eclass/games.eclass
@@ -24,11 +24,11 @@
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 ;;
- 2|3|4|5) EXPORT_FUNCTIONS pkg_setup src_configure src_compile pkg_preinst pkg_postinst ;;
+ 2|3|4|5|6) EXPORT_FUNCTIONS pkg_setup src_configure src_compile pkg_preinst pkg_postinst ;;
*) die "no support for EAPI=${EAPI} yet" ;;
esac
@@ -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
+ fi
}
# @FUNCTION: games_pkg_preinst