summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
Diffstat (limited to 'eclass')
-rw-r--r--eclass/games-mods.eclass2
1 files changed, 2 insertions, 0 deletions
diff --git a/eclass/games-mods.eclass b/eclass/games-mods.eclass
index 7cefa45b0fbb..faf267b62499 100644
--- a/eclass/games-mods.eclass
+++ b/eclass/games-mods.eclass
@@ -9,6 +9,8 @@
# MOD_DIR - Subdirectory name for the mod, if applicable
# MOD_ICON - Custom icon for the mod, instead of the default
+[[ ${EAPI:-0} == [012] ]] || die "EAPI ${EAPI} not supported"
+
inherit eutils games
EXPORT_FUNCTIONS src_install pkg_postinst