diff options
author | 2008-04-22 05:19:26 +0000 | |
---|---|---|
committer | 2008-04-22 05:19:26 +0000 | |
commit | f6739689f4a4971ee069cd7d9d0eb226e80eb10c (patch) | |
tree | 4ed204a50d851de501895d340bd54de5788411e3 /paludis/environments/paludis/world.cc | |
parent | f4e46e016ae53de0699aff46f961e254c9fbafc5 (diff) | |
download | paludis-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.cc | 3 |
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(); } |