summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'eclass/ghc-package.eclass')
-rw-r--r--eclass/ghc-package.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/ghc-package.eclass b/eclass/ghc-package.eclass
index e91fb2912f65..1d90c7fc383e 100644
--- a/eclass/ghc-package.eclass
+++ b/eclass/ghc-package.eclass
@@ -14,10 +14,10 @@
inherit multiprocessing
# Maintain version-testing compatibility with ebuilds not using EAPI 7.
-case "${EAPI:-0}" in
+case ${EAPI} in
7|8) ;;
6) inherit eapi7-ver ;;
- *) die "EAPI ${EAPI} unsupported." ;;
+ *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
esac
# GHC uses it's own native code generator. Portage's