commit:     48ffd2631ae87d1a62ca63279b22afbd14b965c2
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 18 19:19:26 2018 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Feb 18 19:21:21 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=48ffd263

profiles/default/bsd/fbsd: Fix ELT-patches location

Fix the path to ELT-patches to the one used on modern systems. It is
still a horrible hack but it might work now.

Patch by sultan.

 profiles/default/bsd/fbsd/profile.bashrc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/profiles/default/bsd/fbsd/profile.bashrc 
b/profiles/default/bsd/fbsd/profile.bashrc
index f9a81fff5d3..cb5a328f1de 100644
--- a/profiles/default/bsd/fbsd/profile.bashrc
+++ b/profiles/default/bsd/fbsd/profile.bashrc
@@ -46,7 +46,7 @@ bsd-patch_install-sh() {
         # Do nothing if $S does not exist
         [ -d "${S}" ] || return 0
 
-       local EPDIR="${ECLASSDIR}/ELT-patches/install-sh"
+       local EPDIR="${EPREFIX}/usr/share/elt-patches/install-sh"
        local EPATCHES="${EPDIR}/1.5.6 ${EPDIR}/1.5.4 ${EPDIR}/1.5"
        local ret=0
        cd "${S}"

Reply via email to