aboutsummaryrefslogtreecommitdiff
path: root/load/load.cxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2018-07-11 15:51:59 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2018-07-11 16:51:21 +0300
commit6a41864fdb57c75be3db87b357063b0c828dbc18 (patch)
treeb2f9a56555cd7b642529842013528c95072cd606 /load/load.cxx
parent21033565488f6c63b4c40962cccfdc8b6ca32b2a (diff)
Add support for package project manifest value
Diffstat (limited to 'load/load.cxx')
-rw-r--r--load/load.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/load/load.cxx b/load/load.cxx
index ca7c6c7..1875f2a 100644
--- a/load/load.cxx
+++ b/load/load.cxx
@@ -402,9 +402,14 @@ load_packages (const shared_ptr<repository>& rp, database& db)
move (pd.constraint)});
}
+ // Cache before the package name is moved.
+ //
+ package_name project (pm.effective_project ());
+
p = make_shared<package> (
move (pm.name),
move (pm.version),
+ move (project),
pm.priority ? move (*pm.priority) : priority (),
move (pm.summary),
move (pm.license_alternatives),