aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Michał Górny <mgorny@gentoo.org> 2011-07-13 16:45:40 +0200
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-07-13 15:44:54 +0100
commit4b3dfdaeb362b219ea88a623ef42bd23bbaec217 (patch)
treeba1cbf59135ebeb200004eda4a54f4e3adf7631b
parent71a7f74ebce81d4430397f702879edc86683f122 (diff)
downloadpaludis-4b3dfdaeb362b219ea88a623ef42bd23bbaec217.tar.gz
paludis-4b3dfdaeb362b219ea88a623ef42bd23bbaec217.tar.xz
PortageEnvironment: use package.accept_keywords as well.
-rw-r--r--paludis/environments/portage/portage_environment.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/paludis/environments/portage/portage_environment.cc b/paludis/environments/portage/portage_environment.cc
index b2bf930..156a908 100644
--- a/paludis/environments/portage/portage_environment.cc
+++ b/paludis/environments/portage/portage_environment.cc
@@ -312,6 +312,8 @@ PortageEnvironment::PortageEnvironment(const std::string & s) :
_load_atom_file(_imp->conf_dir / "portage" / "package.use", std::back_inserter(_imp->package_use), "", true);
_load_atom_file(_imp->conf_dir / "portage" / "package.keywords", std::back_inserter(_imp->package_keywords),
"~" + _imp->vars->get("ARCH"), false);
+ _load_atom_file(_imp->conf_dir / "portage" / "package.accept_keywords", std::back_inserter(_imp->package_keywords),
+ "~" + _imp->vars->get("ARCH"), false);
_load_lined_file(_imp->conf_dir / "portage" / "package.mask", std::back_inserter(_imp->package_mask));
_load_lined_file(_imp->conf_dir / "portage" / "package.unmask", std::back_inserter(_imp->package_unmask));