diff options
Diffstat (limited to 'eclass/dotnet.eclass')
-rw-r--r-- | eclass/dotnet.eclass | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/eclass/dotnet.eclass b/eclass/dotnet.eclass index 319fde893116..b92b9c1b4054 100644 --- a/eclass/dotnet.eclass +++ b/eclass/dotnet.eclass @@ -4,7 +4,7 @@ # @ECLASS: dotnet.eclass # @MAINTAINER: # maintainer-needed@gentoo.org -# @SUPPORTED_EAPIS: 6 7 +# @SUPPORTED_EAPIS: 7 # @BLURB: common settings and functions for mono and dotnet related packages # @DESCRIPTION: # The dotnet eclass contains common environment settings that are useful for @@ -13,18 +13,15 @@ # of dotnet packages. case ${EAPI} in - 6) - inherit eapi7-ver multilib - DEPEND="dev-lang/mono" - ;; - 7) - BDEPEND="dev-lang/mono" - ;; - *) - die "${ECLASS}: EAPI ${EAPI:-0} not supported" - ;; + 7) ;; + *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;; esac +if [[ ! ${_DOTNET_ECLASS} ]]; then +_DOTNET_ECLASS=1 + +BDEPEND="dev-lang/mono" + inherit mono-env # @ECLASS_VARIABLE: USE_DOTNET @@ -145,4 +142,6 @@ dotnet_multilib_comply() { fi } +fi + EXPORT_FUNCTIONS pkg_setup |