commit:     6d45b94abca08b1c124e1125375d1c86702fa14b
Author:     Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Wed Aug  9 09:10:43 2017 +0000
Commit:     Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Wed Aug  9 09:19:12 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d45b94a

sys-apps/baselayout: add ${EPREFIX}/bin to $PATH on prefix

Fixes: https://bugs.gentoo.org/624522
Package-Manager: Portage-2.3.6, Repoman-2.3.3

 .../baselayout/{baselayout-2.4.1.ebuild => baselayout-2.4.1-r1.ebuild}   | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sys-apps/baselayout/baselayout-2.4.1.ebuild 
b/sys-apps/baselayout/baselayout-2.4.1-r1.ebuild
similarity index 99%
rename from sys-apps/baselayout/baselayout-2.4.1.ebuild
rename to sys-apps/baselayout/baselayout-2.4.1-r1.ebuild
index 0c2d7de0cd4..e0b71bd2af4 100644
--- a/sys-apps/baselayout/baselayout-2.4.1.ebuild
+++ b/sys-apps/baselayout/baselayout-2.4.1-r1.ebuild
@@ -144,6 +144,7 @@ src_prepare() {
                        -e "/PATH=.*\/bin/s|\"$|:/usr/bin:/bin\"|" \
                        etc/profile || die
                sed -i -r \
+                       -e "s@:/bin@:${EPREFIX}/bin@g" \
                        -e "s:/(etc/env.d|opt|usr):${EPREFIX}/\1:g" \
                        -e 
"/^PATH=/s|\"$|:${EPREFIX}/usr/sbin:${EPREFIX}/sbin\"|" \
                        etc/env.d/50baselayout || die

Reply via email to