diff options
author | Marek Szuba <marecki@gentoo.org> | 2021-12-09 13:13:36 +0000 |
---|---|---|
committer | Marek Szuba <marecki@gentoo.org> | 2021-12-13 10:05:56 +0000 |
commit | 07cd9306d3ece2c27248fdfd9521a87710584916 (patch) | |
tree | f55aaf66e4001f67f510463a5809511bda8ac32a /eclass/gnome2.eclass | |
parent | gnome2.eclass: do not call xdg_src_prepare (diff) | |
download | gentoo-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.eclass | 4 |
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 |