aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/portage/ebuild_entries.cc
diff options
context:
space:
mode:
Diffstat (limited to 'paludis/repositories/portage/ebuild_entries.cc')
-rw-r--r--paludis/repositories/portage/ebuild_entries.cc12
1 files changed, 8 insertions, 4 deletions
diff --git a/paludis/repositories/portage/ebuild_entries.cc b/paludis/repositories/portage/ebuild_entries.cc
index 6d720ca..ca932f4 100644
--- a/paludis/repositories/portage/ebuild_entries.cc
+++ b/paludis/repositories/portage/ebuild_entries.cc
@@ -138,7 +138,8 @@ EbuildEntries::generate_version_metadata(const QualifiedPackageName & q,
.files_dir(_imp->params.location / stringify(q.category) /
stringify(q.package) / "files")
.eclassdirs(_imp->params.eclassdirs)
- .portdir(_imp->params.location)
+ .portdir(_imp->params.master_repository ? _imp->params.master_repository->params().location :
+ _imp->params.location)
.distdir(_imp->params.distdir)
.buildroot(_imp->params.buildroot));
@@ -441,7 +442,8 @@ EbuildEntries::install(const QualifiedPackageName & q, const VersionSpec & v,
.files_dir(_imp->params.location / stringify(q.category) /
stringify(q.package) / "files")
.eclassdirs(_imp->params.eclassdirs)
- .portdir(_imp->params.location)
+ .portdir(_imp->params.master_repository ? _imp->params.master_repository->params().location :
+ _imp->params.location)
.distdir(_imp->params.distdir)
.buildroot(_imp->params.buildroot),
@@ -470,7 +472,8 @@ EbuildEntries::install(const QualifiedPackageName & q, const VersionSpec & v,
.files_dir(_imp->params.location / stringify(q.category) /
stringify(q.package) / "files")
.eclassdirs(_imp->params.eclassdirs)
- .portdir(_imp->params.location)
+ .portdir(_imp->params.master_repository ? _imp->params.master_repository->params().location :
+ _imp->params.location)
.distdir(_imp->params.distdir)
.buildroot(_imp->params.buildroot),
@@ -504,7 +507,8 @@ EbuildEntries::get_environment_variable(const QualifiedPackageName & q,
.files_dir(_imp->params.location / stringify(q.category) /
stringify(q.package) / "files")
.eclassdirs(_imp->params.eclassdirs)
- .portdir(_imp->params.location)
+ .portdir(_imp->params.master_repository ? _imp->params.master_repository->params().location :
+ _imp->params.location)
.distdir(_imp->params.distdir)
.buildroot(_imp->params.buildroot),