summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorLucía Andrea Illanes Albornoz <lucia@luciaillanes.de>2022-07-28 15:01:56 +0200
committerLucía Andrea Illanes Albornoz <lucia@luciaillanes.de>2022-07-28 15:01:56 +0200
commit6cdb46d854616bb7b032ab181471be3d41737a60 (patch)
tree95e4eb2cb941640ed5eb5e2248406a44e0dcb404
parentf79dde715b35ebb496a5acb7288165932b4080e4 (diff)
downloadmidipix_build-6cdb46d854616bb7b032ab181471be3d41737a60.tar.bz2
midipix_build-6cdb46d854616bb7b032ab181471be3d41737a60.tar.xz
subr/ex_pkg.subr:ex_pkg_check_depends(): test package build state files for dependencies outside of the package's build group.
-rw-r--r--subr/ex_pkg.subr3
1 files changed, 2 insertions, 1 deletions
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