diff --git a/eclass/crystal-utils.eclass b/eclass/crystal-utils.eclass index ba491796ef..a1819472d2 100644 --- a/eclass/crystal-utils.eclass +++ b/eclass/crystal-utils.eclass @@ -1,4 +1,4 @@ -# Copyright 2022-2025 Gentoo Authors +# Copyright 2022-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # @ECLASS: crystal-utils.eclass @@ -6,7 +6,7 @@ # Anna # @AUTHOR: # Anna -# @SUPPORTED_EAPIS: 8 +# @SUPPORTED_EAPIS: 8 9 # @BLURB: utility functions for Crystal packages # @DESCRIPTION: # A utility eclass providing functions to invoke Crystal. @@ -17,14 +17,15 @@ # All helper functions die on failure and support being called via 'nonfatal'. case ${EAPI} in - 8) ;; + 8) inherit edo ;; + 9) ;; *) die "${ECLASS}: EAPI ${EAPI} unsupported." esac if [[ ! ${_CRYSTAL_UTILS_ECLASS} ]]; then _CRYSTAL_UTILS_ECLASS=1 -inherit edo flag-o-matic multiprocessing +inherit flag-o-matic multiprocessing # @ECLASS_VARIABLE: CRYSTAL_MAX_VER # @DEFAULT_UNSET @@ -173,7 +174,7 @@ eshards() { # Function for building a target. All arguments are passed to crystal. crystal_build() { local build_args=( - --threads=$(makeopts_jobs) + --threads=$(get_makeopts_jobs) --verbose )