aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/virtuals/package_id.cc
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2008-11-13 00:01:03 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2008-11-13 15:42:28 +0000
commit635179144839fa31015fe85cd9226a655d217f03 (patch)
tree3756d05592232534a80d52fcc8e50ee7dc319768 /paludis/repositories/virtuals/package_id.cc
parent8ae61a8b1335efdaef0208a138b178ba221b4b18 (diff)
downloadpaludis-635179144839fa31015fe85cd9226a655d217f03.tar.gz
paludis-635179144839fa31015fe85cd9226a655d217f03.tar.xz
Add MatchPackageOptions.
Fixes: ticket:655
Diffstat (limited to 'paludis/repositories/virtuals/package_id.cc')
-rw-r--r--paludis/repositories/virtuals/package_id.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/paludis/repositories/virtuals/package_id.cc b/paludis/repositories/virtuals/package_id.cc
index d41a23510..4fc49dbe1 100644
--- a/paludis/repositories/virtuals/package_id.cc
+++ b/paludis/repositories/virtuals/package_id.cc
@@ -103,10 +103,10 @@ VirtualsDepKey::pretty_print(const DependencySpecTree::ItemFormatter & f) const
{
if (_imp->env)
{
- if (! (*_imp->env)[selection::SomeArbitraryVersion(generator::Matches(*_imp->value->item()) |
+ if (! (*_imp->env)[selection::SomeArbitraryVersion(generator::Matches(*_imp->value->item(), MatchPackageOptions()) |
filter::InstalledAtRoot(_imp->env->root()))]->empty())
return f.format(*_imp->value->item(), format::Installed());
- else if (! (*_imp->env)[selection::SomeArbitraryVersion(generator::Matches(*_imp->value->item()) |
+ else if (! (*_imp->env)[selection::SomeArbitraryVersion(generator::Matches(*_imp->value->item(), MatchPackageOptions()) |
filter::SupportsAction<InstallAction>() | filter::NotMasked())]->empty())
return f.format(*_imp->value->item(), format::Installable());
else