aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-04-16 02:49:56 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-04-16 02:49:56 +0000
commitf2029ff168647fb4f3fa21ea8cf8adedc150117f (patch)
treeeef013eed8530764f87861b2180a30b496cc85cd
parent2cf1c2626c874a6d5ae2c4a4a0c9e8821fe2a636 (diff)
downloadpaludis-f2029ff168647fb4f3fa21ea8cf8adedc150117f.tar.gz
paludis-f2029ff168647fb4f3fa21ea8cf8adedc150117f.tar.xz
Use permissive, not unspecific, for Portage things
-rw-r--r--paludis/environments/portage/portage_environment.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/paludis/environments/portage/portage_environment.cc b/paludis/environments/portage/portage_environment.cc
index 432e8e8..4894236 100644
--- a/paludis/environments/portage/portage_environment.cc
+++ b/paludis/environments/portage/portage_environment.cc
@@ -267,7 +267,7 @@ PortageEnvironment::_load_atom_file(const FSEntry & f, I_ i, const std::string &
if (tokens.empty())
continue;
- std::tr1::shared_ptr<PackageDepSpec> p(new PackageDepSpec(tokens.at(0), pds_pm_unspecific));
+ std::tr1::shared_ptr<PackageDepSpec> p(new PackageDepSpec(tokens.at(0), pds_pm_permissive));
if (1 == tokens.size())
{
if (! def_value.empty())
@@ -305,7 +305,7 @@ PortageEnvironment::_load_lined_file(const FSEntry & f, I_ i)
for (LineConfigFile::Iterator line(file.begin()), line_end(file.end()) ;
line != line_end ; ++line)
*i++ = std::tr1::shared_ptr<PackageDepSpec>(new PackageDepSpec(
- strip_trailing(strip_leading(*line, " \t"), " \t"), pds_pm_unspecific));
+ strip_trailing(strip_leading(*line, " \t"), " \t"), pds_pm_permissive));
}
}