From: Julian Ospald Date: Wed Dec 11 16:15:58 UTC 2013 Subject: drop base.eclass for EAPI=6 --- games.eclass +++ games.eclass @@ -11,11 +11,17 @@ if [[ ${___ECLASS_ONCE_GAMES} != "recur -_+^+_- spank" ]] ; then ___ECLASS_ONCE_GAMES="recur -_+^+_- spank" -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 ;; + 0|1) + inherit base + EXPORT_FUNCTIONS pkg_setup src_compile pkg_preinst pkg_postinst ;; + 2|3|4|5) + inherit base + EXPORT_FUNCTIONS pkg_setup src_configure src_compile pkg_preinst pkg_postinst ;; + 6) + EXPORT_FUNCTIONS pkg_setup src_configure pkg_preinst pkg_postinst ;; *) die "no support for EAPI=${EAPI} yet" ;; esac @@ -159,8 +165,10 @@ games_src_compile() { case ${EAPI:-0} in 0|1) games_src_configure ;; + 2|3|4|5) base_src_make ;; + # for compatibility only + 6) default_src_compile ;; esac - base_src_make } games_pkg_preinst() {