Gentoo Archives: gentoo-commits

From: Guilherme Amadio <amadio@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/baselayout/
Date: Wed, 09 Aug 2017 09:19:31
Message-Id: 1502270352.6d45b94abca08b1c124e1125375d1c86702fa14b.amadio@gentoo
1 commit: 6d45b94abca08b1c124e1125375d1c86702fa14b
2 Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
3 AuthorDate: Wed Aug 9 09:10:43 2017 +0000
4 Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
5 CommitDate: Wed Aug 9 09:19:12 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d45b94a
7
8 sys-apps/baselayout: add ${EPREFIX}/bin to $PATH on prefix
9
10 Fixes: https://bugs.gentoo.org/624522
11 Package-Manager: Portage-2.3.6, Repoman-2.3.3
12
13 .../baselayout/{baselayout-2.4.1.ebuild => baselayout-2.4.1-r1.ebuild} | 1 +
14 1 file changed, 1 insertion(+)
15
16 diff --git a/sys-apps/baselayout/baselayout-2.4.1.ebuild b/sys-apps/baselayout/baselayout-2.4.1-r1.ebuild
17 similarity index 99%
18 rename from sys-apps/baselayout/baselayout-2.4.1.ebuild
19 rename to sys-apps/baselayout/baselayout-2.4.1-r1.ebuild
20 index 0c2d7de0cd4..e0b71bd2af4 100644
21 --- a/sys-apps/baselayout/baselayout-2.4.1.ebuild
22 +++ b/sys-apps/baselayout/baselayout-2.4.1-r1.ebuild
23 @@ -144,6 +144,7 @@ src_prepare() {
24 -e "/PATH=.*\/bin/s|\"$|:/usr/bin:/bin\"|" \
25 etc/profile || die
26 sed -i -r \
27 + -e "s@:/bin@:${EPREFIX}/bin@g" \
28 -e "s:/(etc/env.d|opt|usr):${EPREFIX}/\1:g" \
29 -e "/^PATH=/s|\"$|:${EPREFIX}/usr/sbin:${EPREFIX}/sbin\"|" \
30 etc/env.d/50baselayout || die