diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2019-05-30 23:55:33 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2019-05-31 18:32:27 +0300 |
commit | 0f211c23677faffc005c5ead5ea5a509cc8390aa (patch) | |
tree | 3cafa9840b4512d8fec3234527a351468cf1cb8d /bpkg/package.hxx | |
parent | ab9f63449f38a2ee7fe98d2644b303beaa499773 (diff) |
Allow specifying system package that doesn't belong to any repository for pkg-build
Diffstat (limited to 'bpkg/package.hxx')
-rw-r--r-- | bpkg/package.hxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/bpkg/package.hxx b/bpkg/package.hxx index e782f1b..16f368b 100644 --- a/bpkg/package.hxx +++ b/bpkg/package.hxx @@ -485,6 +485,12 @@ namespace bpkg dependencies (move (m.dependencies)), sha256sum (move (m.sha256sum)) {} + // Create available stub package. + // + available_package (package_name n) + : id (move (n), wildcard_version), + version (wildcard_version) {} + // Create a stub available package with a fixed system version. This // constructor is only used to create transient/fake available packages // based on the system selected packages. |