From d8b321a3e033a93ad68a84994e5653e47b1b2d57 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 5 Sep 2016 13:08:13 +0200 Subject: Ignore special build2 and bpkg dependencies in loader --- load/load.cxx | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/load/load.cxx b/load/load.cxx index 79b0ace..26d4e20 100644 --- a/load/load.cxx +++ b/load/load.cxx @@ -383,6 +383,17 @@ load_packages (const shared_ptr& rp, database& db) for (auto& pda: pm.dependencies) { + // Ignore special build2 and bpkg dependencies. We may not have + // packages for them and also showing them for every package is + // probably not very helpful. + // + if (pda.buildtime && !pda.empty ()) + { + const string& n (pda.front ().name); + if (n == "build2" || n == "bpkg") + continue; + } + ds.emplace_back (pda.conditional, pda.buildtime, move (pda.comment)); for (auto& pd: pda) -- cgit v1.1