aboutsummaryrefslogtreecommitdiff
path: root/bpkg/pkg-build.cxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2023-09-18 17:07:10 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2023-09-25 11:35:25 +0300
commit2a047701f16ab174d01519c206917a2ea5f9bab1 (patch)
tree350c847b1c873915613c3dcb1f0ccc2140ac9db7 /bpkg/pkg-build.cxx
parent9ab0a783d6b6d5d765a0660e0d0ce5f74b4aefff (diff)
Properly re-collect existing packages scheduled for recursive re-collection even if their collection has been pruned
Diffstat (limited to 'bpkg/pkg-build.cxx')
-rw-r--r--bpkg/pkg-build.cxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/bpkg/pkg-build.cxx b/bpkg/pkg-build.cxx
index e2dea9d..f13c114 100644
--- a/bpkg/pkg-build.cxx
+++ b/bpkg/pkg-build.cxx
@@ -4472,7 +4472,11 @@ namespace bpkg
if (find_if (postponed_recs.begin (), postponed_recs.end (),
[] (const build_package* p)
{
- return !p->recursive_collection;
+ // Note that we check for the dependencies presence
+ // rather than for the recursive_collection flag
+ // (see collect_build_postponed() for details).
+ //
+ return !p->dependencies;
}) != postponed_recs.end () ||
!postponed_repo.empty () ||
!postponed_alts.empty () ||