From ba01bd910d9667dbc7a1a80873ec3a23d897ed62 Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Sat, 10 Jul 2021 12:04:18 +0100 Subject: ghc-package.eclass: unify error message for unsupported EAPI Signed-off-by: Sergei Trofimovich --- eclass/ghc-package.eclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'eclass/ghc-package.eclass') diff --git a/eclass/ghc-package.eclass b/eclass/ghc-package.eclass index e91fb2912f6..1d90c7fc383 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 -- cgit v1.2.3-18-g5258