From 8a3175e6ade7435fe17c48ea996134aeb4a2504d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ulrich=20M=C3=BCller?= Date: Thu, 7 Apr 2022 19:26:43 +0200 Subject: [PATCH] mono.eclass: Remove conditionals for EAPIs 0, 1, 2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ulrich Müller --- eclass/mono.eclass | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/eclass/mono.eclass b/eclass/mono.eclass index ea04857462304..ddea2d4b9c641 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