Subject: CVS commit: pkgsrc/mk
To: None <pkgsrc-changes@NetBSD.org>
From: Masao Uebayashi <uebayasi@netbsd.org>
List: pkgsrc-changes
Date: 10/29/2007 12:52:37
Module Name:	pkgsrc
Committed By:	uebayasi
Date:		Mon Oct 29 12:52:37 UTC 2007

Modified Files:
	pkgsrc/mk: emacs.mk

Log Message:
Enable buildlink3.mk for EmacsLisp package build.

This works very straightfoward; create set of symbolic links of *.el / *.elc
files under ${BUILDLINK_DIR}/share/emacs.  At configure and build stage,
emacs / xemacs binaries run with the EMACSLOADPATH pointed to there.  This
should work because those EmacsLisp packages assume the Emacs / XEmacs program
running at build time and that running after installation are identical and
the task looking for other *.el / *.elc files is Emacs / XEmacs's business.

I have tested only Emacs 21 and Emacs 22.  XEmacs should work ... at least
XEmacs supports EMACSLOADPATH too if grep worked correctly.

While here change the following:

* Provide {FOR,NOTFOR}_emacs_{x,nox} switches to be used in PLIST.

* Add the xemacs214nox entry.

* Clean up "leim" handling code; avoid .if ... .endif as far as possible.


To generate a diff of this commit:
cvs rdiff -r1.42 -r1.43 pkgsrc/mk/emacs.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.