diff options
Diffstat (limited to 'bpkg/pkg-build-collect.hxx')
-rw-r--r-- | bpkg/pkg-build-collect.hxx | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/bpkg/pkg-build-collect.hxx b/bpkg/pkg-build-collect.hxx index e47d9fa..f88e3c3 100644 --- a/bpkg/pkg-build-collect.hxx +++ b/bpkg/pkg-build-collect.hxx @@ -19,8 +19,9 @@ #include <bpkg/common-options.hxx> #include <bpkg/pkg-build-options.hxx> -#include <bpkg/pkg-configure.hxx> // find_database_function() +#include <bpkg/pkg-configure.hxx> // find_database_function() #include <bpkg/package-skeleton.hxx> +#include <bpkg/system-package-manager.hxx> namespace bpkg { @@ -210,6 +211,14 @@ 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. + // + const system_package_status* + system_install () const; + // If this flag is set and the external package is being replaced with an // external one, then keep its output directory between upgrades and // downgrades. |