commit: 52624009049f11ea8210e953584109ec33608ed7
Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 18 15:36:52 2022 +0000
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Mon Jul 18 15:36:52 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=52624009
dotnet.eclass: Drop old EAPI conditionals
Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>
eclass/dotnet.eclass | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/eclass/dotnet.eclass b/eclass/dotnet.eclass
index 3affc00ba458..319fde893116 100644
--- a/eclass/dotnet.eclass
+++ b/eclass/dotnet.eclass
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# @ECLASS: dotnet.eclass
@@ -12,7 +12,7 @@
# MONO_SHARED_DIR and sets LC_ALL in order to prevent errors during compilation
# of dotnet packages.
-case ${EAPI:-0} in
+case ${EAPI} in
6)
inherit eapi7-ver multilib
DEPEND="dev-lang/mono"
@@ -98,7 +98,6 @@ exbuild() {
# @DESCRIPTION:
# Install package to GAC.
egacinstall() {
- use !prefix && has "${EAPI:-0}" 0 1 2 && ED="${D}"
gacutil -i "${1}" \
-root "${ED}"/usr/$(get_libdir) \
-gacdir /usr/$(get_libdir) \
@@ -110,7 +109,6 @@ egacinstall() {
# @DESCRIPTION:
# multilib comply
dotnet_multilib_comply() {
- use !prefix && has "${EAPI:-0}" 0 1 2 && ED="${D}"
local dir finddirs=() mv_command=${mv_command:-mv}
if [[ -d "${ED}/usr/lib" && "$(get_libdir)" != "lib" ]]
then