diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-06-21 17:32:00 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-06-21 17:32:00 +0100 |
commit | 61f10f985e19dfe20a4d9552902625edd5b6eabb (patch) | |
tree | 50db31971b38c4e0358253ef5005058a46fc773e /eclass/portability.eclass | |
parent | 34dea8e38f88007799629d0a56b12dec480b1d21 (diff) |
gentoo resync : 21.06.2021
Diffstat (limited to 'eclass/portability.eclass')
-rw-r--r-- | eclass/portability.eclass | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/eclass/portability.eclass b/eclass/portability.eclass index 3b085d6c4e70..1cc36757b625 100644 --- a/eclass/portability.eclass +++ b/eclass/portability.eclass @@ -6,8 +6,14 @@ # base-system@gentoo.org # @AUTHOR: # Diego Pettenò <flameeyes@gentoo.org> +# @SUPPORTED_EAPIS: 5 6 7 # @BLURB: This eclass is created to avoid using non-portable GNUisms inside ebuilds +case ${EAPI:-0} in + [567]) ;; + *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;; +esac + if [[ -z ${_PORTABILITY_ECLASS} ]]; then _PORTABILITY_ECLASS=1 |