summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2016-07-02 01:28:31 -0700
committerZac Medico <zmedico@gentoo.org>2016-07-02 01:29:19 -0700
commit71818fdd7155d14583e42330270542efded4ba09 (patch)
tree0b006d0645f3ccc1d8aa9c3668122fd2728773dc /sys-apps
parentdev-util/monodevelop: add missing patches/files (diff)
downloadgentoo-71818fdd7155d14583e42330270542efded4ba09.tar.gz
gentoo-71818fdd7155d14583e42330270542efded4ba09.tar.bz2
gentoo-71818fdd7155d14583e42330270542efded4ba09.zip
sys-apps/portage: fix prefix repos.conf support
Package-Manager: portage-2.3.0
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/portage/portage-2.3.0.ebuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys-apps/portage/portage-2.3.0.ebuild b/sys-apps/portage/portage-2.3.0.ebuild
index b4a805b40cae..8e95e2c0f675 100644
--- a/sys-apps/portage/portage-2.3.0.ebuild
+++ b/sys-apps/portage/portage-2.3.0.ebuild
@@ -124,7 +124,10 @@ python_prepare_all() {
-i cnf/make.globals || die "sed failed"
einfo "Adjusting repos.conf ..."
- sed -e "s|^\(location = \)\(/usr/portage\)|\\1${EPREFIX}\\2|" \
+ sed -e "s|^\(main-repo = \).*|\\1gentoo_prefix|" \
+ -e "s|^\\[gentoo\\]|[gentoo_prefix]|" \
+ -e "s|^\(location = \)\(/usr/portage\)|\\1${EPREFIX}\\2|" \
+ -e "s|^\(sync-uri = \).*|\\1rsync://rsync.prefix.bitzolder.nl/gentoo-portage-prefix|" \
-i cnf/repos.conf || die "sed failed"
einfo "Adding FEATURES=force-prefix to make.globals ..."