aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-02-18 10:32:48 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-02-18 10:32:48 +0000
commit7ed1d218e0595a66b7142c7901a223f75b072f62 (patch)
tree928e3a4bf1bbd8328a36aab248a397fa38795ace
parent6b44af396da485f6616c3df8538a45282da389bb (diff)
downloadpaludis-7ed1d218e0595a66b7142c7901a223f75b072f62.tar.gz
paludis-7ed1d218e0595a66b7142c7901a223f75b072f62.tar.xz
Smarter handling of arch? in SRC_URI
-rw-r--r--paludis/qa/dep_flags_check.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/paludis/qa/dep_flags_check.cc b/paludis/qa/dep_flags_check.cc
index 7498cf0..9372ad6 100644
--- a/paludis/qa/dep_flags_check.cc
+++ b/paludis/qa/dep_flags_check.cc
@@ -98,8 +98,9 @@ namespace
if (env->package_database()->fetch_repository(env->package_database()->
favourite_repository())->is_arch_flag(u->flag()))
{
- result << Message(qal_major, "Arch flag '" + stringify(u->flag()) +
- "' in " + role);
+ if (role != "SRC_URI")
+ result << Message(qal_major, "Arch flag '" + stringify(u->flag()) +
+ "' in " + role);
}
else if (env->package_database()->fetch_repository(env->package_database()->
favourite_repository())->is_expand_flag(u->flag()))