From fc351c8366eb82fbc55d068d4296a9723c844ca6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20K=2E=20H=C3=BCttel?= Date: Thu, 20 Sep 2018 18:37:33 +0200 Subject: [PATCH] font.eclass: Add EAPI guardian block, bug 666635 Bug: https://bugs.gentoo.org/666635 --- eclass/font.eclass | 5 +++++ 1 file changed, 5 insertions(+) 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