aboutsummaryrefslogtreecommitdiff
path: root/paludis/match_package.cc
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-03-29 11:03:54 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-04-04 08:32:58 +0100
commit5574c81a3c60266d023d18dfc115803da8b12e6b (patch)
tree659da456cb9813045fd32067a3db11d7c7d7ce82 /paludis/match_package.cc
parentb7f5d7dbfeff2e406ef24ca471657e1735a4db4f (diff)
downloadpaludis-5574c81a3c60266d023d18dfc115803da8b12e6b.tar.gz
paludis-5574c81a3c60266d023d18dfc115803da8b12e6b.tar.xz
category and package parts to requirements
Diffstat (limited to 'paludis/match_package.cc')
-rw-r--r--paludis/match_package.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/paludis/match_package.cc b/paludis/match_package.cc
index e50a17e3d..f9eb55eca 100644
--- a/paludis/match_package.cc
+++ b/paludis/match_package.cc
@@ -90,10 +90,10 @@ paludis::match_package_with_maybe_changes(
if (spec.package_name_constraint() && spec.package_name_constraint()->name() != id->name())
return false;
- if (spec.package_name_part_ptr() && *spec.package_name_part_ptr() != id->name().package())
+ if (spec.package_name_part_constraint() && spec.package_name_part_constraint()->name_part() != id->name().package())
return false;
- if (spec.category_name_part_ptr() && *spec.category_name_part_ptr() != id->name().category())
+ if (spec.category_name_part_constraint() && spec.category_name_part_constraint()->name_part() != id->name().category())
return false;
if (spec.version_requirements_ptr())