I write:

> So how about this?
>
> --- orig/rules
> +++ mod/rules
> @@ -424,6 +424,10 @@
>       ${MAKE} CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
>  endef
>  
> +define epaths_force_cmd
> +     ${build_cmd} locallisppath=${local_lpath} epaths-force
> +endef
> +
>  emacs_inst = (${MAKE} install \
>               INSTALL_STRIP="-s" \
>               prefix=${1}/usr \
> @@ -470,13 +474,13 @@
>       # Emacs must be boostraped at least once in order to
>       # generate .elc files
>       CFLAGS="${CFLAGS}" ./configure ${emacs_confflags}
> -     ${build_cmd} epaths-force
> +     ${epaths_force_cmd}
>       ${build_cmd} bootstrap
>       ${build_cmd} distclean
>  
>       # Build emacs
>       CFLAGS="${CFLAGS}" ./configure ${emacs_confflags}
> -     ${build_cmd} epaths-force
> +     ${epaths_force_cmd}
>       ${build_cmd}
>       # save binary from deletion
>       mv src/emacs src/x-emacs
> @@ -484,7 +488,7 @@
>  
>       # Build emacs-gtk
>       CFLAGS="${CFLAGS}" ./configure ${emacs_gtk_confflags}
> -     ${build_cmd} epaths-force
> +     ${epaths_force_cmd}
>       ${build_cmd}
>       # save binary from deletion
>       mv src/emacs src/gtk-emacs
> @@ -492,7 +496,7 @@
>  
>       # Build emacs-nox
>       CFLAGS="${CFLAGS}" ./configure ${emacs_nox_confflags}
> -     ${build_cmd} epaths-force
> +     ${epaths_force_cmd}
>       ${build_cmd}
>       # save binary from deletion
>       mv src/emacs src/nox-emacs
>
> Once your --enable-locallisppath goes in, we should be able to just
> remove `epaths_force_cmd' (i.e., revert the above patch).
>
> I'm currently rebuilding with this patch just to make sure it does
> what I intend it to.  I'll let you know the moment it's done.

Confirmed.  This patch (re-)fixes the `load-path' issue. :-)

-- 
Daniel Brockman <[EMAIL PROTECTED]>


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to