From 6cdb46d854616bb7b032ab181471be3d41737a60 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luc=C3=ADa=20Andrea=20Illanes=20Albornoz?= Date: Thu, 28 Jul 2022 15:01:56 +0200 Subject: subr/ex_pkg.subr:ex_pkg_check_depends(): test package build state files for dependencies outside of the package's build group. --- subr/ex_pkg.subr | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'subr') diff --git a/subr/ex_pkg.subr b/subr/ex_pkg.subr index e8e3ecb4..ac03670c 100644 --- a/subr/ex_pkg.subr +++ b/subr/ex_pkg.subr @@ -19,7 +19,8 @@ ex_pkg_check_depends() { && _pkg_depends="$(rtl_uniq $(rtl_lunfold_depends 'PKG_${_name}_DEPENDS' $(rtl_get_var_unsafe -u "PKG_"${_pkg_name}"_DEPENDS")))"; then for _pkg_name_depend in $(rtl_uniq ${_pkg_depends}); do if ! rtl_lmatch "${_pkg_disabled}" "${_pkg_name_depend}"\ - && ! rtl_lmatch "${_pkg_finished}" "${_pkg_name_depend}"; then + && ! rtl_lmatch "${_pkg_finished}" "${_pkg_name_depend}"\ + && ! ex_pkg_state_test "${_pkg_name_depend}" finish; then if ! rtl_lmatch "${_pkg_names}" "${_pkg_name_depend}"; then rtl_log_msg "fatalexit" "${MSG_build_unknown_dep}" "${_pkg_name_depend}" "${_pkg_name}"; else -- cgit v1.2.3