aboutsummaryrefslogtreecommitdiff
path: root/paludis/elike_package_dep_spec.cc
diff options
context:
space:
mode:
Diffstat (limited to 'paludis/elike_package_dep_spec.cc')
-rw-r--r--paludis/elike_package_dep_spec.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/paludis/elike_package_dep_spec.cc b/paludis/elike_package_dep_spec.cc
index 23f227f89..7240dfd06 100644
--- a/paludis/elike_package_dep_spec.cc
+++ b/paludis/elike_package_dep_spec.cc
@@ -544,14 +544,14 @@ paludis::elike_add_package_requirement(const std::string & s, PartiallyMadePacka
{
throw PackageDepSpecError("Wildcard '*' not allowed here");
- if (0 != s.compare(s.length() - 2, 2, "/*"))
- result.package_name_part(PackageNamePart(s.substr(2)));
+ // if (0 != s.compare(s.length() - 2, 2, "/*"))
+ // result.package_name_part(PackageNamePart(s.substr(2)));
}
else if (s.length() >= 3 && (0 == s.compare(s.length() - 2, 2, "/*")))
{
throw PackageDepSpecError("Wildcard '*' not allowed here");
- result.category_name_part(CategoryNamePart(s.substr(0, s.length() - 2)));
+ // result.category_name_part(CategoryNamePart(s.substr(0, s.length() - 2)));
}
else
result.package(QualifiedPackageName(s));