Subject: Re: buildlink3 for EmacsLisp packages
To: Masao Uebayashi <uebayasi@gmail.com>
From: Johnny C. Lam <jlam@pkgsrc.org>
List: tech-pkg
Date: 10/26/2007 09:19:06
Masao Uebayashi wrote:
> 
> One day OBATA-san told me that we can override Emacs's load-path by
> EMACSLOADPATH environment.  (If this is set to /tmp, Emacs will look
> for /tmp/site-lisp.)  We can control what ELPs should be found for a
> given ELP.

I think the variables you should look into are:

	BUILDLINK_FILES.*
	BUILDLINK_CONTENTS_FILTER.*

Setting those appropriately in a buildlink3.mk file should allow you to 
symlink the .el and .elc files from an elisp package into the buildlink 
directory.  At that point, you should be able to just set EMACSLOADPATH 
in MAKE_ENV to the appropriate path under the buildlink directory.

	Cheers,

	-- Johnny C. Lam