commit: a1c8b830ffe7d3488065b1dbd0c55c333ba2da2b Author: Eli Schwartz <eschwartz <AT> gentoo <DOT> org> AuthorDate: Mon Dec 8 19:14:39 2025 +0000 Commit: Eli Schwartz <eschwartz <AT> gentoo <DOT> org> CommitDate: Wed Dec 10 05:31:16 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a1c8b830
meson.eclass: add missing dies This is required by policy, and at least in the case of meson-format-array also makes it easier to tell when a missing BDEPEND breaks things later on. Bug: https://bugs.gentoo.org/967234 Signed-off-by: Eli Schwartz <eschwartz <AT> gentoo.org> eclass/meson.eclass | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/eclass/meson.eclass b/eclass/meson.eclass index 06675e02b82b..aff238ef5d26 100644 --- a/eclass/meson.eclass +++ b/eclass/meson.eclass @@ -103,7 +103,7 @@ BDEPEND=">=dev-build/meson-1.2.3 # '--unicode-16=𐐷', '--unicode-32=𐤅'] # _meson_env_array() { - meson-format-array "$@" + meson-format-array "$@" || die } # @FUNCTION: _meson_get_machine_info @@ -150,7 +150,7 @@ _meson_create_cross_file() { local fn=${T}/meson.${CHOST}.${ABI}.ini - cat > "${fn}" <<-EOF + cat > "${fn}" <<-EOF || die "failed to create cross file" [binaries] ar = $(_meson_env_array "$(tc-getAR)") c = $(_meson_env_array "$(tc-getCC)") @@ -207,7 +207,7 @@ _meson_create_native_file() { local fn=${T}/meson.${CBUILD}.${ABI}.ini - cat > "${fn}" <<-EOF + cat > "${fn}" <<-EOF || die "failed to create native file" [binaries] ar = $(_meson_env_array "$(tc-getBUILD_AR)") c = $(_meson_env_array "$(tc-getBUILD_CC)")
