aboutsummaryrefslogtreecommitdiff
path: root/bpkg/pkg-checkout.cxx
diff options
context:
space:
mode:
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 a91cb92..6802c36 100644
--- a/bpkg/pkg-checkout.cxx
+++ b/bpkg/pkg-checkout.cxx
@@ -151,7 +151,10 @@ namespace bpkg
// Verify the package prerequisites are all configured since the dist
// meta-operation generally requires all imports to be resolvable.
//
- package_manifest m (pkg_verify (sd, true /* ignore_unknown */));
+ package_manifest m (pkg_verify (sd,
+ true /* ignore_unknown */,
+ [&ap] (version& v) {v = ap->version;}));
+
pkg_configure_prerequisites (o, t, m.dependencies, m.name);
if (exists (d))