aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/virtuals
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2008-12-06 20:28:13 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2008-12-06 20:28:13 +0000
commitc83a35329debb115d0f44d6132833ec71a176b52 (patch)
tree5b19eb96e74cee5f4bde9fbd73565b7dc121897b /paludis/repositories/virtuals
parentaf59deeafa26271274a80a4f7ea9bed48beb28e1 (diff)
downloadpaludis-c83a35329debb115d0f44d6132833ec71a176b52.tar.gz
paludis-c83a35329debb115d0f44d6132833ec71a176b52.tar.xz
more dead sr
Diffstat (limited to 'paludis/repositories/virtuals')
-rw-r--r--paludis/repositories/virtuals/package_id.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/paludis/repositories/virtuals/package_id.cc b/paludis/repositories/virtuals/package_id.cc
index 4fc49dbe1..3529bb65f 100644
--- a/paludis/repositories/virtuals/package_id.cc
+++ b/paludis/repositories/virtuals/package_id.cc
@@ -26,6 +26,7 @@
#include <paludis/util/visitor-impl.hh>
#include <paludis/util/mutex.hh>
#include <paludis/util/hashes.hh>
+#include <paludis/util/make_named_values.hh>
#include <paludis/name.hh>
#include <paludis/dep_spec.hh>
#include <paludis/version_spec.hh>
@@ -63,7 +64,9 @@ namespace paludis
new TreeLeaf<DependencySpecTree, PackageDepSpec>(make_shared_ptr(new PackageDepSpec(
make_package_dep_spec()
.package(v->name())
- .version_requirement(VersionRequirement(vo_equal, v->version()))
+ .version_requirement(make_named_values<VersionRequirement>(
+ value_for<n::version_operator>(vo_equal),
+ value_for<n::version_spec>(v->version())))
.slot_requirement(make_shared_ptr(new UserSlotExactRequirement(v->slot())))
.in_repository(v->repository()->name()))))
: