Commit graph

15 commits

Author SHA1 Message Date
minskim
1e3d8f3f9b Fix EMACSLOADPATH for emacs24. 2011-03-23 15:15:20 +00:00
hiramatsu
8e9c83ebb2 Instead of extracting version string from PKGNAME, use
${_EMACS_VERSION_MAJOR} and ${_EMACS_VERSION_MINOR} to determine installed
version of emacs.

Also, set minimum version of _EMACS_REQD to the same as
${_EMACS_VERSION_MAJOR}.${_EMACS_VERSION_MINOR}. Otherwise, buildlink
does not work for emacs lisp libraries.

Should fix PR/42763.
2011-02-08 13:20:13 +00:00
minskim
0e22f312e0 Allow emacs24 as EMACS_TYPE. 2010-10-25 00:03:03 +00:00
minskim
70bdf138c9 Strip PKGREVISION from the emacs version string for a directory name. 2009-09-07 06:51:19 +00:00
minskim
5797e2789f Silence unnecessary warnings. 2009-08-23 18:14:38 +00:00
minskim
c83e6ae234 Derive EMACSLOADPATH from the currently-installed emacs, not from the
Makefile fragment in pkgsrc.
2009-08-22 18:51:58 +00:00
minskim
70fbfdbc6e Let EMACS_TYPE support editors/emacs and editors/emacs-nox11 as
emacs23 and emacs23nox, respectively; editors/emacs is the default
one.
2009-08-05 22:14:28 +00:00
minskim
7bf56543c2 emacs22 is now in editors/emacs22. 2009-08-05 10:41:55 +00:00
minskim
5254a8e9cb "23" is a valid value for EMACS_VERSION_MAJOR. 2009-08-05 06:53:29 +00:00
minskim
632d74ccb6 Set _EMACS_VERSION_MICRO for emacs-snapshot.
Suggested by Makoto Fujiwara in PR 40023.
2009-06-06 05:06:12 +00:00
minskim
dd35d07c6d Add emacs23 as a valid EMACS_TYPE.
This addresses the issue reported in PR 40023.
2009-06-05 21:18:02 +00:00
uebayasi
296dbe7b25 Clarify that the default EMACS_TYPE is set in mk/defaults/mk.conf. Prompted
by Greg Troxel.
2008-10-28 00:17:31 +00:00
uebayasi
4833463689 Update comment reflecting reality; from Greg Troxel. 2008-10-27 15:34:46 +00:00
uebayasi
8c349b6e46 Introduce EMACS_BUILDLINK to decide if Emacs lisp file wrappers are really
created or not.  Packages that include other ELP's buildlink3.mk must define
EMACS_BUILDLINK.  Other packages don't create wrappers, which reduces build
time a lot.
2008-10-13 08:07:02 +00:00
uebayasi
34004f51e0 Move mk/emacs.mk to editors/emacs/modules.mk.
Don't call pkg_info to get the installed Emacs version; always use the
version matching EMACS_TYPE set by users.  Be DEPENDS to it.  This should
address pkg/37146 by Aleksey Cheusov.

While here convert some emacs lisp packages to user-destdir.
2008-10-11 09:31:54 +00:00