aboutsummaryrefslogtreecommitdiff
path: root/paludis/environments/paludis/world.cc
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2008-04-22 05:19:26 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2008-04-22 05:19:26 +0000
commitf6739689f4a4971ee069cd7d9d0eb226e80eb10c (patch)
tree4ed204a50d851de501895d340bd54de5788411e3 /paludis/environments/paludis/world.cc
parentf4e46e016ae53de0699aff46f961e254c9fbafc5 (diff)
downloadpaludis-f6739689f4a4971ee069cd7d9d0eb226e80eb10c.tar.gz
paludis-f6739689f4a4971ee069cd7d9d0eb226e80eb10c.tar.xz
Implement foo* sets. Fixes: ticket:561
Diffstat (limited to 'paludis/environments/paludis/world.cc')
-rw-r--r--paludis/environments/paludis/world.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/paludis/environments/paludis/world.cc b/paludis/environments/paludis/world.cc
index 4d71c6897..ed4ecb9a8 100644
--- a/paludis/environments/paludis/world.cc
+++ b/paludis/environments/paludis/world.cc
@@ -116,6 +116,7 @@ World::_add_string_to_world(const std::string & n) const
.type(sft_simple)
.parser(tr1::bind(&parse_user_package_dep_spec, _1, UserPackageDepSpecOptions()))
.tag(tr1::shared_ptr<DepTag>())
+ .set_operator_mode(sfsmo_natural)
.environment(_imp->env));
world.add(n);
world.rewrite();
@@ -144,6 +145,7 @@ World::_remove_string_from_world(const std::string & n) const
.type(sft_simple)
.parser(tr1::bind(&parse_user_package_dep_spec, _1, UserPackageDepSpecOptions()))
.tag(tr1::shared_ptr<DepTag>())
+ .set_operator_mode(sfsmo_natural)
.environment(_imp->env));
world.remove(n);
@@ -167,6 +169,7 @@ World::world_set() const
.type(sft_simple)
.parser(tr1::bind(&parse_user_package_dep_spec, _1, UserPackageDepSpecOptions()))
.tag(tag)
+ .set_operator_mode(sfsmo_natural)
.environment(_imp->env));
return world.contents();
}