aboutsummaryrefslogtreecommitdiff
path: root/bpkg/pkg-checkout.cxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2022-06-20 20:59:53 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2022-06-23 12:35:42 +0300
commitc0ca17391c41048cd1db19f0aa08e060624f4bd1 (patch)
tree4037ed4be1abf8f4b85e7e5420c3cac2d2f10503 /bpkg/pkg-checkout.cxx
parent2ee693000ff6ea44cfd4fc51c7b058258056610a (diff)
Add support for additional *-build package manifest values and alternative buildfile naming
Diffstat (limited to 'bpkg/pkg-checkout.cxx')
-rw-r--r--bpkg/pkg-checkout.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/bpkg/pkg-checkout.cxx b/bpkg/pkg-checkout.cxx
index 6c6dcf8..2a3f508 100644
--- a/bpkg/pkg-checkout.cxx
+++ b/bpkg/pkg-checkout.cxx
@@ -319,12 +319,15 @@ namespace bpkg
// Calculate the buildfiles checksum if the package has any buildfile
// clauses in the dependencies.
//
+ // Note that the available package already has all the buildfiles
+ // loaded.
+ //
if ((p != nullptr && p->manifest_checksum == mc)
? p->buildfiles_checksum.has_value ()
: has_buildfile_clause (ap->dependencies))
bc = package_buildfiles_checksum (ap->bootstrap_build,
ap->root_build,
- d);
+ ap->buildfiles);
}
if (p != nullptr)