profiles/default/bsd/fbsd: Fix ELT-patches location
authorMichał Górny <mgorny@gentoo.org>
Sun, 18 Feb 2018 19:19:26 +0000 (20:19 +0100)
committerMichał Górny <mgorny@gentoo.org>
Sun, 18 Feb 2018 19:21:21 +0000 (20:21 +0100)
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

index f9a81fff5d3523f81ec969b27685bd46435f95d0..cb5a328f1de98c021c3cf20b5a194a58bdab5d95 100644 (file)
@@ -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}"