diff --git a/eclass/font.eclass b/eclass/font.eclass index 7214c99854a78..513be3981c3c4 100644 --- a/eclass/font.eclass +++ b/eclass/font.eclass @@ -6,6 +6,11 @@ # fonts@gentoo.org # @BLURB: Eclass to make font installation uniform +case ${EAPI:-0} in + 0|1|2|3|4|5|6) ;; + *) die "EAPI ${EAPI} is not supported by font.eclass." ;; +esac + inherit eutils EXPORT_FUNCTIONS pkg_setup src_install pkg_postinst pkg_postrm