summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2022-07-18 17:36:52 +0200
committerUlrich Müller <ulm@gentoo.org>2022-07-18 17:36:52 +0200
commit52624009049f11ea8210e953584109ec33608ed7 (patch)
treed746d0a9f26040c6922d0d3ed9b9fc2c96915575 /eclass/dotnet.eclass
parentperl-functions.eclass: canonical `debug-print-function` calls (diff)
downloadgentoo-52624009049f11ea8210e953584109ec33608ed7.tar.gz
gentoo-52624009049f11ea8210e953584109ec33608ed7.tar.bz2
gentoo-52624009049f11ea8210e953584109ec33608ed7.zip
dotnet.eclass: Drop old EAPI conditionals
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Diffstat (limited to 'eclass/dotnet.eclass')
-rw-r--r--eclass/dotnet.eclass6
1 files 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