summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Szuba <marecki@gentoo.org>2021-12-09 13:13:36 +0000
committerMarek Szuba <marecki@gentoo.org>2021-12-13 10:05:56 +0000
commit07cd9306d3ece2c27248fdfd9521a87710584916 (patch)
treef55aaf66e4001f67f510463a5809511bda8ac32a /eclass/gnome2.eclass
parentgnome2.eclass: do not call xdg_src_prepare (diff)
downloadgentoo-07cd9306d3ece2c27248fdfd9521a87710584916.tar.gz
gentoo-07cd9306d3ece2c27248fdfd9521a87710584916.tar.bz2
gentoo-07cd9306d3ece2c27248fdfd9521a87710584916.zip
gnome2.eclass: standardise the EAPI guard
Signed-off-by: Marek Szuba <marecki@gentoo.org>
Diffstat (limited to 'eclass/gnome2.eclass')
-rw-r--r--eclass/gnome2.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/gnome2.eclass b/eclass/gnome2.eclass
index 4b7c3acac06d..c6d93a46bfe4 100644
--- a/eclass/gnome2.eclass
+++ b/eclass/gnome2.eclass
@@ -21,14 +21,14 @@ GNOME2_EAUTORECONF=${GNOME2_EAUTORECONF:-""}
[[ ${EAPI} == [56] ]] && inherit eutils ltprune
inherit libtool gnome.org gnome2-utils xdg
-case ${EAPI:-0} in
+case ${EAPI} in
5)
EXPORT_FUNCTIONS src_unpack src_prepare src_configure src_compile src_install pkg_preinst pkg_postinst pkg_postrm
;;
6|7)
EXPORT_FUNCTIONS src_prepare src_configure src_compile src_install pkg_preinst pkg_postinst pkg_postrm
;;
- *) die "EAPI=${EAPI} is not supported" ;;
+ *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
esac
# @ECLASS-VARIABLE: ELTCONF