From: Guilherme Amadio Date: Wed, 9 Aug 2017 09:10:43 +0000 (+0200) Subject: sys-apps/baselayout: add ${EPREFIX}/bin to $PATH on prefix X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=6d45b94abca08b1c124e11;p=gentoo.git 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 --- 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 0c2d7de0cd4e..e0b71bd2af4f 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