aboutsummaryrefslogtreecommitdiff
path: root/bpkg/pkg-configure.hxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2021-12-25 18:26:48 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2022-01-17 18:45:14 +0300
commit97527ad5720cd64e1168e88f7d74e21975bfda8d (patch)
treec4e04bfb90576a61b6f7182daa10a8328b020ba7 /bpkg/pkg-configure.hxx
parent56e0a851185136dbdd6f1eaa75f44da774a61e51 (diff)
Add initial support for dependency alternative reflect clause
Diffstat (limited to 'bpkg/pkg-configure.hxx')
-rw-r--r--bpkg/pkg-configure.hxx23
1 files changed, 4 insertions, 19 deletions
diff --git a/bpkg/pkg-configure.hxx b/bpkg/pkg-configure.hxx
index 6d3a7c9..f049f81 100644
--- a/bpkg/pkg-configure.hxx
+++ b/bpkg/pkg-configure.hxx
@@ -21,10 +21,10 @@ namespace bpkg
pkg_configure (const pkg_configure_options&, cli::scanner& args);
// The custom search function. If specified, it is called by pkg_configure()
- // and pkg_configure_prerequisites() to obtain the database to search for
- // the prerequisite in, instead of searching for it in the linked databases,
- // recursively. If the function returns NULL, then fallback to the recursive
- // search through the linked databases.
+ // to obtain the database to search for the prerequisite in, instead of
+ // searching for it in the linked databases, recursively. If the function
+ // returns NULL, then fallback to the recursive search through the linked
+ // databases.
//
using find_database_function = database* (database&,
const package_name&,
@@ -52,21 +52,6 @@ namespace bpkg
const version&,
database&,
transaction&);
-
- // Return package prerequisites given its dependencies. Fail if some of the
- // prerequisites are not configured or don't satisfy the package's
- // dependency constraints. Note that the package argument is used for
- // diagnostics only.
- //
- // Note: loads selected packages.
- //
- package_prerequisites
- pkg_configure_prerequisites (const common_options&,
- database&,
- transaction&,
- const dependencies&,
- const package_name&,
- const function<find_database_function>& = {});
}
#endif // BPKG_PKG_CONFIGURE_HXX