diff options
Diffstat (limited to 'eclass/mate.eclass')
-rw-r--r-- | eclass/mate.eclass | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/eclass/mate.eclass b/eclass/mate.eclass index c1886648140e..388cdf2f827d 100644 --- a/eclass/mate.eclass +++ b/eclass/mate.eclass @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # @ECLASS: mate.eclass @@ -15,12 +15,14 @@ # MATE framework. Occassionally acts as a wrapper to gnome2 due to the # fact that MATE is a GNOME fork. For additional functions, see gnome2-utils.eclass. -# Check EAPI only -case "${EAPI:-0}" in +case ${EAPI} in 7) ;; - *) die "EAPI=${EAPI:-0} is not supported" ;; + *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;; esac +if [[ -z ${_MATE_ECLASS} ]]; then +_MATE_ECLASS=1 + # Inherit happens below after declaration of GNOME2_LA_PUNT # @ECLASS_VARIABLE: MATE_LA_PUNT @@ -157,4 +159,6 @@ mate_pkg_postrm() { gnome2_pkg_postrm "$@" } +fi + EXPORT_FUNCTIONS src_prepare src_configure src_install pkg_preinst pkg_postinst pkg_postrm |