summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuilherme Amadio <amadio@gentoo.org>2017-08-09 11:10:43 +0200
committerGuilherme Amadio <amadio@gentoo.org>2017-08-09 11:19:12 +0200
commit6d45b94abca08b1c124e1125375d1c86702fa14b (patch)
treef05f1040e52a060712eab30f85a1ec5b4eab5070 /sys-apps/baselayout
parentdev-perl/WebService-MusicBrainz: keyworded 1.0.2 for ppc64, bug #620882 (diff)
downloadgentoo-6d45b94abca08b1c124e1125375d1c86702fa14b.tar.gz
gentoo-6d45b94abca08b1c124e1125375d1c86702fa14b.tar.bz2
gentoo-6d45b94abca08b1c124e1125375d1c86702fa14b.zip
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
Diffstat (limited to 'sys-apps/baselayout')
-rw-r--r--sys-apps/baselayout/baselayout-2.4.1-r1.ebuild (renamed from sys-apps/baselayout/baselayout-2.4.1.ebuild)1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys-apps/baselayout/baselayout-2.4.1.ebuild b/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