aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2009-02-23 13:59:22 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2009-02-23 02:22:47 +0000
commit0af5642bb7df3842c2c153950bf957f7b359a793 (patch)
tree9a47ed43b610b0d6264a6d45568d7b7af0f752fd
parent6461b4c85e2eac28e49af19517e3a6d2ee9fd0e8 (diff)
downloadpaludis-0af5642bb7df3842c2c153950bf957f7b359a793.tar.gz
paludis-0af5642bb7df3842c2c153950bf957f7b359a793.tar.xz
EAPI as a key for installed stuff.
Fixes: ticket:729
-rw-r--r--paludis/repositories/e/e_installed_repository_id.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/paludis/repositories/e/e_installed_repository_id.cc b/paludis/repositories/e/e_installed_repository_id.cc
index d7c8e3e..cb050f7 100644
--- a/paludis/repositories/e/e_installed_repository_id.cc
+++ b/paludis/repositories/e/e_installed_repository_id.cc
@@ -172,6 +172,8 @@ EInstalledRepositoryID::need_keys_added() const
Context context("When loading ID keys from '" + stringify(_imp->dir) + "':");
+ add_metadata_key(make_shared_ptr(new LiteralMetadataValueKey<std::string>("EAPI", "EAPI", mkt_internal, eapi()->name())));
+
if (! eapi()->supported())
{
Log::get_instance()->message("e.eapi.unsupported", ll_debug, lc_context)