summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2011-12-09 20:29:45 +0000
committerZac Medico <zmedico@gentoo.org>2011-12-09 20:29:45 +0000
commita7b066b6e7df53c7bdcb7c6e48b7a0ea24ab7ec3 (patch)
tree019889ee0a2e8405eb6cd7c138916e5bd2134bc7 /sys-apps
parentRemoved pkg_postinst and all references due to bug #380845 (diff)
downloadgentoo-2-a7b066b6e7df53c7bdcb7c6e48b7a0ea24ab7ec3.tar.gz
gentoo-2-a7b066b6e7df53c7bdcb7c6e48b7a0ea24ab7ec3.tar.bz2
gentoo-2-a7b066b6e7df53c7bdcb7c6e48b7a0ea24ab7ec3.zip
Adjust SYNC in make.globals for prefix installs.
(Portage version: 2.2.0_alpha79_p44/cvs/Linux i686)
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/portage/ChangeLog5
-rw-r--r--sys-apps/portage/portage-9999.ebuild6
2 files changed, 9 insertions, 2 deletions
diff --git a/sys-apps/portage/ChangeLog b/sys-apps/portage/ChangeLog
index 9ab7f94f4d52..957e45214900 100644
--- a/sys-apps/portage/ChangeLog
+++ b/sys-apps/portage/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sys-apps/portage
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/portage/ChangeLog,v 1.922 2011/12/09 17:59:29 zmedico Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/portage/ChangeLog,v 1.923 2011/12/09 20:29:45 zmedico Exp $
+
+ 09 Dec 2011; Zac Medico <zmedico@gentoo.org> portage-9999.ebuild:
+ Adjust SYNC in make.globals for prefix installs.
09 Dec 2011; Zac Medico <zmedico@gentoo.org> portage-9999.ebuild:
Enable FEATURES=force-prefix in make.globals for prefix installs.
diff --git a/sys-apps/portage/portage-9999.ebuild b/sys-apps/portage/portage-9999.ebuild
index 81fa9c1fd638..e24eb0079cdb 100644
--- a/sys-apps/portage/portage-9999.ebuild
+++ b/sys-apps/portage/portage-9999.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/portage/portage-9999.ebuild,v 1.36 2011/12/09 17:59:29 zmedico Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/portage/portage-9999.ebuild,v 1.37 2011/12/09 20:29:45 zmedico Exp $
EAPI=3
inherit git-2 eutils multilib python
@@ -141,6 +141,10 @@ src_prepare() {
fi
done
+ einfo "Setting SYNC in make.globals ..."
+ sed -e 's|^SYNC=.*|SYNC="rsync://rsync.prefix.freens.org/gentoo-portage-prefix"|' \
+ -i cnf/make.globals || die "sed failed"
+
einfo "Adding FEATURES=force-prefix to make.globals ..."
echo -e '\nFEATURES="${FEATURES} force-prefix"' >> cnf/make.globals \
|| die "failed to append to make.globals"