aboutsummaryrefslogtreecommitdiff
path: root/paludis/dep_spec.cc
diff options
context:
space:
mode:
Diffstat (limited to 'paludis/dep_spec.cc')
-rw-r--r--paludis/dep_spec.cc24
1 files changed, 22 insertions, 2 deletions
diff --git a/paludis/dep_spec.cc b/paludis/dep_spec.cc
index efc8bcb..bc370ca 100644
--- a/paludis/dep_spec.cc
+++ b/paludis/dep_spec.cc
@@ -759,15 +759,35 @@ namespace
s << "[-" << r.flag() << "]";
}
- void visit(const EqualUseRequirement & r)
+ void visit(const IfMineThenUseRequirement & r)
{
s << "[" << r.flag() << "?]";
}
- void visit(const NotEqualUseRequirement & r)
+ void visit(const IfNotMineThenUseRequirement & r)
{
s << "[" << r.flag() << "!?]";
}
+
+ void visit(const IfMineThenNotUseRequirement & r)
+ {
+ s << "[-" << r.flag() << "?]";
+ }
+
+ void visit(const IfNotMineThenNotUseRequirement & r)
+ {
+ s << "[-" << r.flag() << "!?]";
+ }
+
+ void visit(const EqualUseRequirement & r)
+ {
+ s << "[" << r.flag() << "=]";
+ }
+
+ void visit(const NotEqualUseRequirement & r)
+ {
+ s << "[" << r.flag() << "!=]";
+ }
};
struct PartiallyMadePackageDepSpecData :