summaryrefslogtreecommitdiff
path: root/eclass/mono.eclass
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-06-21 17:32:00 +0100
committerV3n3RiX <venerix@redcorelinux.org>2021-06-21 17:32:00 +0100
commit61f10f985e19dfe20a4d9552902625edd5b6eabb (patch)
tree50db31971b38c4e0358253ef5005058a46fc773e /eclass/mono.eclass
parent34dea8e38f88007799629d0a56b12dec480b1d21 (diff)
gentoo resync : 21.06.2021
Diffstat (limited to 'eclass/mono.eclass')
-rw-r--r--eclass/mono.eclass11
1 files changed, 11 insertions, 0 deletions
diff --git a/eclass/mono.eclass b/eclass/mono.eclass
index 382c6e4b4dcb..ea0485746230 100644
--- a/eclass/mono.eclass
+++ b/eclass/mono.eclass
@@ -4,6 +4,7 @@
# @ECLASS: mono.eclass
# @MAINTAINER:
# maintainer-needed@gentoo.org
+# @SUPPORTED_EAPIS: 7
# @BLURB: common settings and functions for mono and dotnet related packages
# @DEPRECATED: mono-env
# @DESCRIPTION:
@@ -12,6 +13,14 @@
# MONO_SHARED_DIR and sets LC_ALL in order to prevent errors during compilation
# of dotnet packages.
+case ${EAPI:-0} in
+ 7) ;;
+ *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
+esac
+
+if [[ -z ${_MONO_ECLASS} ]] ; then
+_MONO_ECLASS=1
+
inherit multilib
# >=mono-0.92 versions using mcs -pkg:foo-sharp require shared memory, so we set the
@@ -79,3 +88,5 @@ mono_multilib_comply() {
fi
}
+
+fi