sys-apps/baselayout: add ${EPREFIX}/bin to $PATH on prefix
authorGuilherme Amadio <amadio@gentoo.org>
Wed, 9 Aug 2017 09:10:43 +0000 (11:10 +0200)
committerGuilherme Amadio <amadio@gentoo.org>
Wed, 9 Aug 2017 09:19:12 +0000 (11:19 +0200)
Fixes: https://bugs.gentoo.org/624522
Package-Manager: Portage-2.3.6, Repoman-2.3.3

sys-apps/baselayout/baselayout-2.4.1-r1.ebuild [moved from sys-apps/baselayout/baselayout-2.4.1.ebuild with 99% similarity]

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 0c2d7de0cd4e2975c925b20cf9be4fdf16c6b777..e0b71bd2af4fd5bcb31e8d625d2a74bfc07197cd 100644 (file)
@@ -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