aboutsummaryrefslogtreecommitdiff
path: root/bpkg/pkg-build-collect.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2023-01-20 14:23:39 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2023-01-20 14:23:39 +0200
commit6a3ab64a076a262d13b487b58e10eab55a8226f6 (patch)
tree3672b3fe22f06d81f5823167028ee929b93e6852 /bpkg/pkg-build-collect.hxx
parent566916d41bbb1c0f57b9f708b37759129bc3fbc4 (diff)
Review
Diffstat (limited to 'bpkg/pkg-build-collect.hxx')
-rw-r--r--bpkg/pkg-build-collect.hxx14
1 files changed, 10 insertions, 4 deletions
diff --git a/bpkg/pkg-build-collect.hxx b/bpkg/pkg-build-collect.hxx
index f88e3c3..5f64f31 100644
--- a/bpkg/pkg-build-collect.hxx
+++ b/bpkg/pkg-build-collect.hxx
@@ -211,10 +211,16 @@ namespace bpkg
//
bool system;
- // Return the binary distribution package status if this is a system
- // package (re-)configuration, the package version has been resolved via
- // the system package manager, and the binary distribution package needs
- // to be installed. Otherwise, return NULL. So can be used as bool.
+ // Return the system/distribution package status if this is a system
+ // package (re-)configuration and the package is being managed by the
+ // system package manager (as opposed to user/fallback). Otherwise, return
+ // NULL (so can be used as bool).
+ //
+ const system_package_status*
+ system_status () const;
+
+ // As above but only return the status if the package needs to be
+ // installed.
//
const system_package_status*
system_install () const;