From b90cbd6de11442500bbb6e0cdfe0bdcb286d67ec Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Wed, 12 Jan 2022 14:28:43 +0300 Subject: Add support for multiple dependency alternatives --- bpkg/pkg-configure.hxx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'bpkg/pkg-configure.hxx') diff --git a/bpkg/pkg-configure.hxx b/bpkg/pkg-configure.hxx index f049f81..c89a159 100644 --- a/bpkg/pkg-configure.hxx +++ b/bpkg/pkg-configure.hxx @@ -30,11 +30,12 @@ namespace bpkg const package_name&, bool buildtime); - // Note: all of the following functions expect the package dependency - // constraints to be complete. - // Configure the package, update its state, and commit the transaction. // + // The package dependency constraints are expected to be complete. Empty + // dependency alternatives lists are allowed and are ignored (see pkg-build + // for the use-case). + // void pkg_configure (const common_options&, database&, -- cgit v1.1