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/manifest-utility.hxx | |
parent | ab9f63449f38a2ee7fe98d2644b303beaa499773 (diff) |
Allow specifying system package that doesn't belong to any repository for pkg-build
Diffstat (limited to 'bpkg/manifest-utility.hxx')
-rw-r--r-- | bpkg/manifest-utility.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bpkg/manifest-utility.hxx b/bpkg/manifest-utility.hxx index 6e8c4e4..6c88f1f 100644 --- a/bpkg/manifest-utility.hxx +++ b/bpkg/manifest-utility.hxx @@ -47,12 +47,12 @@ namespace bpkg // Return empty version if none is specified. // version - parse_package_version (const char*); + parse_package_version (const char*, bool allow_wildcard = false); inline version - parse_package_version (const string& s) + parse_package_version (const string& s, bool allow_wildcard = false) { - return parse_package_version (s.c_str ()); + return parse_package_version (s.c_str (), allow_wildcard); } // If the passed location is a relative local path, then assume this is a |