aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-05-14 01:58:30 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-05-14 01:58:30 +0000
commit6ef6be0f125caea65a9354a62b1efdf8dfb20846 (patch)
tree3dbd3fa37b672a9b8263001562bfc2d0193ab04d /src
parent88063a9fd59e09c35ec23fe0994a081ec3508d74 (diff)
downloadpaludis-6ef6be0f125caea65a9354a62b1efdf8dfb20846.tar.gz
paludis-6ef6be0f125caea65a9354a62b1efdf8dfb20846.tar.xz
Centralise EAPI information. Fixes: ticket:222
Diffstat (limited to 'src')
-rw-r--r--src/clients/contrarius/install.cc2
-rw-r--r--src/clients/paludis/install.cc2
-rw-r--r--src/output/console_install_task.cc2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/clients/contrarius/install.cc b/src/clients/contrarius/install.cc
index 237db86ff..358726961 100644
--- a/src/clients/contrarius/install.cc
+++ b/src/clients/contrarius/install.cc
@@ -331,7 +331,7 @@ do_install(std::tr1::shared_ptr<Environment> env, std::string spec_str)
std::string eapi_str(env->
package_database()->fetch_repository(
pp->repository)->version_metadata(
- pp->name, pp->version)->eapi);
+ pp->name, pp->version)->eapi.name);
cerr << " ( " << colour(cl_masked, eapi_str) << " )";
}
diff --git a/src/clients/paludis/install.cc b/src/clients/paludis/install.cc
index 21b546fa6..13a9c744b 100644
--- a/src/clients/paludis/install.cc
+++ b/src/clients/paludis/install.cc
@@ -645,7 +645,7 @@ do_install(std::tr1::shared_ptr<Environment> env)
{
std::string eapi_str(env->package_database()->fetch_repository(
pp->repository)->version_metadata(
- pp->name, pp->version)->eapi);
+ pp->name, pp->version)->eapi.name);
if (eapi_str == "UNKNOWN")
cerr << " ( " << colour(cl_masked, eapi_str) <<
diff --git a/src/output/console_install_task.cc b/src/output/console_install_task.cc
index 9b061c1fe..a2168cf81 100644
--- a/src/output/console_install_task.cc
+++ b/src/output/console_install_task.cc
@@ -1101,7 +1101,7 @@ ConsoleInstallTask::display_merge_list_entry_mask_reasons(const DepListEntry & e
if (mr_eapi == mm)
{
std::string eapi_str(environment()->package_database()->fetch_repository(
- e.package.repository)->version_metadata(e.package.name, e.package.version)->eapi);
+ e.package.repository)->version_metadata(e.package.name, e.package.version)->eapi.name);
if (eapi_str == "UNKNOWN")
output_no_endl(" ( " + render_as_masked(eapi_str) + " ) (probably a broken ebuild)");