Commit graph

20 commits

Author SHA1 Message Date
joerg
2d1ba244e9 Simply and speed up buildlink3.mk files and processing.
This changes the buildlink3.mk files to use an include guard for the
recursive include. The use of BUILDLINK_DEPTH, BUILDLINK_DEPENDS,
BUILDLINK_PACKAGES and BUILDLINK_ORDER is handled by a single new
variable BUILDLINK_TREE. Each buildlink3.mk file adds a pair of
enter/exit marker, which can be used to reconstruct the tree and
to determine first level includes. Avoiding := for large variables
(BUILDLINK_ORDER) speeds up parse time as += has linear complexity.
The include guard reduces system time by avoiding reading files over and
over again. For complex packages this reduces both %user and %sys time to
half of the former time.
2009-03-20 19:23:50 +00:00
wiz
285b7dd776 Bump PKGREVISION for libXaw API depends bump due to libXaw8 removal. 2008-11-10 17:21:33 +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
dholland
90dfb3b671 Add patch for CVE-2008-1694 (insecure temp files in SCCS vc handling)
PKGREVISION -> 13.
2008-07-13 18:03:01 +00:00
markd
cfdfe92a58 Fix build with gcc41 on dragonfly.
emacs21 part of PR pkg/38633 from Hasso Tepper.
2008-06-03 22:20:35 +00:00
markd
288f4285a7 Fix for CVE-2008-2142, automatically loading and executing .flc files. 2008-06-03 22:17:00 +00:00
markd
8b74dbcd55 Drop maintainership of old emacs version. 2008-04-25 20:41:49 +00:00
jlam
841dfa0e7a Convert to use PLIST_VARS instead of manually passing "@comment "
through PLIST_SUBST to the plist module.
2008-04-12 22:42:57 +00:00
uebayasi
75635c82f9 Initial addition of buildlink3.mk fragments for Emacs / XEmacs programs. 2007-10-29 12:40:02 +00:00
uebayasi
cce6d782c4 Fix build of emacs21-nox11. 2007-10-29 12:38:02 +00:00
uebayasi
113966a434 At deinstallation, remove ${PREFIX}/share/emacs/site-lisp if empty. 2007-10-29 12:37:13 +00:00
jlam
d2c1168fbb Fix up the use of package options in the Emacs packages:
(1) Get rid of "nox11" -- the concept of "no" in package options is
    expressed by negating an option; use "-x11" instead.

(2) Teach editors/emacs20 to use package options instead of EMACS_USE_POP,
    EMACS_USE_X, EMACS_USE_X_TOOLKIT and USE_INET6.  We now use similar
    options as the other emacs packages, i.e. "x11", "motif", "xaw",
    as well as "pop" and "inet6".

(3) Make the emacs*-nox11 packages simply remove all X11 options by
    setting PKG_OPTIONS.emacs appropriately and include the corresponding
    emacs Makefile.  This allows for modifications to the emacs "X11"
    versions to be automatically picked up by the "non-X11" versions.
    The two corresponding versions of emacs now share the same version
    numbering, including PKGREVISIONs.

Bump the PKGREVISIONs on all Emacs editor packages.
2007-08-13 12:40:57 +00:00
markd
005073fa51 Reimport existing emacs packages as emacs21{,-nox11} to allow
subsequent update of emacs packages to version 22.
2007-06-11 13:38:24 +00:00
uebayasi
feffa71476 Bye bye old places. 2003-04-11 01:07:44 +00:00
uebayasi
bf10ec3734 Kill a hyphen not in the first of a command line. 2003-01-13 13:00:29 +00:00
tron
382ada8bc8 Don't cause a warning message if directory "share/emacs/site-lisp" or
"share/emacs" cannot be removed.
2002-11-24 19:16:17 +00:00
uebayasi
70026ed367 Libtool is required. PR#18390 by Gordon Zaft. 2002-09-24 00:37:01 +00:00
jlam
a5171d8755 buildlink1 -> buildlink2 2002-09-21 11:29:11 +00:00
drochner
e4c2de2c91 some cleanup, based on a package submission by Masao Uebayashi
<uebayasi@soum.co.jp>:
-select a reasonable set of options instead of using a ton of
 /etc/mk.conf variables
-dtrt with dependencies
-USE_BUILDLINK_ONLY
-use INSTALL_SCRIPT instead of creating a mess
2002-05-02 20:21:31 +00:00
drochner
1e748a667c first cut on a pkg for emacs-21.2
derived from our emacs-20.7 pkg; IPv6 and newer NetBSD platform/toolchain
support appear to be included in the original sources, so I've only
left in the patches which deal with info file installation and the "emacs-"
prefix for user tools
2002-04-24 17:27:41 +00:00