aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/gems/gems_repository.cc
diff options
context:
space:
mode:
Diffstat (limited to 'paludis/repositories/gems/gems_repository.cc')
-rw-r--r--paludis/repositories/gems/gems_repository.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/paludis/repositories/gems/gems_repository.cc b/paludis/repositories/gems/gems_repository.cc
index 6ec4c24..6ab1d3c 100644
--- a/paludis/repositories/gems/gems_repository.cc
+++ b/paludis/repositories/gems/gems_repository.cc
@@ -23,6 +23,7 @@
#include <paludis/repositories/gems/gem_specification.hh>
#include <paludis/repositories/gems/gem_specifications.hh>
#include <paludis/repositories/gems/exceptions.hh>
+#include <paludis/repositories/gems/extra_distribution_data.hh>
#include <paludis/util/stringify.hh>
#include <paludis/util/private_implementation_pattern-impl.hh>
#include <paludis/util/make_shared_ptr.hh>
@@ -382,7 +383,8 @@ GemsRepository::repository_factory_create(
std::string builddir(f("builddir"));
if (builddir.empty())
- builddir = (*DistributionData::get_instance()->distribution_from_string(env->distribution())).default_ebuild_builddir();
+ builddir = gems::GemsExtraDistributionData::get_instance()->data_from_distribution(
+ *DistributionData::get_instance()->distribution_from_string(env->distribution()))->default_buildroot();
return make_shared_ptr(new GemsRepository(gems::RepositoryParams::create()
.location(location)