aboutsummaryrefslogtreecommitdiff
path: root/paludis/match_package.cc
diff options
context:
space:
mode:
Diffstat (limited to 'paludis/match_package.cc')
-rw-r--r--paludis/match_package.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/paludis/match_package.cc b/paludis/match_package.cc
index a72f679cd..e6a95d412 100644
--- a/paludis/match_package.cc
+++ b/paludis/match_package.cc
@@ -19,6 +19,7 @@
#include <paludis/match_package.hh>
#include <paludis/dep_spec.hh>
+#include <paludis/dep_spec_annotations.hh>
#include <paludis/dep_spec_flattener.hh>
#include <paludis/environment.hh>
#include <paludis/version_requirements.hh>
@@ -212,6 +213,9 @@ paludis::match_package_with_maybe_changes(
}
}
+ if (from_id && *id == *from_id && spec.maybe_annotations() && spec.maybe_annotations()->end() != spec.maybe_annotations()->find(dsar_no_self_match))
+ return false;
+
return true;
}