aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/e/parse_annotations.cc
diff options
context:
space:
mode:
Diffstat (limited to 'paludis/repositories/e/parse_annotations.cc')
-rw-r--r--paludis/repositories/e/parse_annotations.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/paludis/repositories/e/parse_annotations.cc b/paludis/repositories/e/parse_annotations.cc
index 370a035..2b5ed65 100644
--- a/paludis/repositories/e/parse_annotations.cc
+++ b/paludis/repositories/e/parse_annotations.cc
@@ -135,6 +135,13 @@ paludis::erepository::parse_annotations(
role = dsar_general_defined_in;
}
+ /* licences */
+ if (dsar_none == role)
+ {
+ if (key == eapi.supported()->annotations()->licence_last_checked())
+ role = dsar_licence_last_checked;
+ }
+
if (dsar_none == role)
Log::get_instance()->message("e.dep_parser.unknown_annotation", ll_qa, lc_context)
<< "Unknown annotation '" << key << "' = '" << k->second << "'";