commit:     8a3175e6ade7435fe17c48ea996134aeb4a2504d
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Thu Apr  7 17:26:43 2022 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Thu Apr  7 17:26:43 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a3175e6

mono.eclass: Remove conditionals for EAPIs 0, 1, 2

Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>

 eclass/mono.eclass | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/eclass/mono.eclass b/eclass/mono.eclass
index ea0485746230..ddea2d4b9c64 100644
--- a/eclass/mono.eclass
+++ b/eclass/mono.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: mono.eclass
@@ -43,7 +43,6 @@ export XDG_CONFIG_HOME="${T}"
 unset MONO_AOT_CACHE
 
 egacinstall() {
-       use !prefix && has "${EAPI:-0}" 0 1 2 && ED="${D}"
        gacutil -i "${1}" \
                -root "${ED}"/usr/$(get_libdir) \
                -gacdir /usr/$(get_libdir) \
@@ -52,7 +51,6 @@ egacinstall() {
 }
 
 mono_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

Reply via email to