From 6d45b94abca08b1c124e1125375d1c86702fa14b Mon Sep 17 00:00:00 2001 From: Guilherme Amadio Date: Wed, 9 Aug 2017 11:10:43 +0200 Subject: [PATCH] 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-2.4.1.ebuild => baselayout-2.4.1-r1.ebuild} | 1 + 1 file changed, 1 insertion(+) rename sys-apps/baselayout/{baselayout-2.4.1.ebuild => baselayout-2.4.1-r1.ebuild} (99%) 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 -- 2.26.2