summaryrefslogtreecommitdiffhomepage
path: root/subr
diff options
context:
space:
mode:
Diffstat (limited to 'subr')
-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