aboutsummaryrefslogtreecommitdiff
path: root/paludis/environments/paludis/paludis_config.cc
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-03-13 21:19:35 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-03-13 21:19:35 +0000
commit402c186ce65b06a525ca6b586a5f11da2fef5faf (patch)
treecf49efa00896abbdb9894e76d8f27e16e41dc9cf /paludis/environments/paludis/paludis_config.cc
parentd1856e25dbca494b9ceb69fa268c8ae11ecb931c (diff)
downloadpaludis-402c186ce65b06a525ca6b586a5f11da2fef5faf.tar.gz
paludis-402c186ce65b06a525ca6b586a5f11da2fef5faf.tar.xz
EAPI-aware dep parser. Fixes: ticket:120
Diffstat (limited to 'paludis/environments/paludis/paludis_config.cc')
-rw-r--r--paludis/environments/paludis/paludis_config.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/paludis/environments/paludis/paludis_config.cc b/paludis/environments/paludis/paludis_config.cc
index 1199ef76b..1bb2a4e7b 100644
--- a/paludis/environments/paludis/paludis_config.cc
+++ b/paludis/environments/paludis/paludis_config.cc
@@ -420,7 +420,7 @@ PaludisConfig::PaludisConfig(PaludisEnvironment * const e, const std::string & s
}
else
{
- std::tr1::shared_ptr<const PackageDepSpec> a(new PackageDepSpec(tokens.at(0)));
+ std::tr1::shared_ptr<const PackageDepSpec> a(new PackageDepSpec(tokens.at(0), pds_pm_unspecific));
for (std::vector<std::string>::const_iterator t(next(tokens.begin())), t_end(tokens.end()) ;
t != t_end ; ++t)
{
@@ -475,7 +475,7 @@ PaludisConfig::PaludisConfig(PaludisEnvironment * const e, const std::string & s
}
else
{
- std::tr1::shared_ptr<const PackageDepSpec> a(new PackageDepSpec(tokens.at(0)));
+ std::tr1::shared_ptr<const PackageDepSpec> a(new PackageDepSpec(tokens.at(0), pds_pm_unspecific));
for (std::vector<std::string>::const_iterator t(next(tokens.begin())), t_end(tokens.end()) ;
t != t_end ; ++t)
if (a->package_ptr())
@@ -522,7 +522,7 @@ PaludisConfig::PaludisConfig(PaludisEnvironment * const e, const std::string & s
std::tr1::shared_ptr<const DepSpec>()));
else
{
- std::tr1::shared_ptr<const PackageDepSpec> a(new PackageDepSpec(*line));
+ std::tr1::shared_ptr<const PackageDepSpec> a(new PackageDepSpec(*line, pds_pm_unspecific));
if (a->package_ptr())
_imp->user_masks[*a->package_ptr()].push_back(a);
else
@@ -562,7 +562,7 @@ PaludisConfig::PaludisConfig(PaludisEnvironment * const e, const std::string & s
std::tr1::shared_ptr<const DepSpec>()));
else
{
- std::tr1::shared_ptr<const PackageDepSpec> a(new PackageDepSpec(*line));
+ std::tr1::shared_ptr<const PackageDepSpec> a(new PackageDepSpec(*line, pds_pm_unspecific));
if (a->package_ptr())
_imp->user_unmasks[*a->package_ptr()].push_back(a);
else
@@ -661,7 +661,7 @@ PaludisConfig::PaludisConfig(PaludisEnvironment * const e, const std::string & s
}
else
{
- std::tr1::shared_ptr<const PackageDepSpec> a(new PackageDepSpec(tokens.at(0)));
+ std::tr1::shared_ptr<const PackageDepSpec> a(new PackageDepSpec(tokens.at(0), pds_pm_unspecific));
for (std::vector<std::string>::const_iterator t(next(tokens.begin())), t_end(tokens.end()) ;
t != t_end ; ++t)
{