Commit graph

36 commits

Author SHA1 Message Date
obache
32875b5968 Add user-destdir installation support. 2011-03-21 06:05:44 +00:00
obache
626c866dfe Bump PKGREVISION form default GIF library change from libungif to giflib. 2011-03-10 10:24:52 +00:00
drochner
6faa8ad366 libungif/buildlink3.mk -> mk/giflib.buildlink3.mk 2011-03-09 16:28: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
wiz
e8cf93a333 Fix build with png-1.5. 2011-01-24 09:33:32 +00:00
wiz
4a85d9393e png shlib name changed for png>=1.5.0, so bump PKGREVISIONs. 2011-01-13 13:53:23 +00:00
dsainty
1f40f3a084 Mechanically replace references to graphics/jpeg with the suitable
alternative from mk/jpeg.buildlink3.mk

This allows selection of an alternative jpeg library (namely the x86 MMX,
SSE, SSE2 accelerated libjpeg-turbo) via JPEG_DEFAULT=libjpeg-turbo, and
follows the current standard model for alternatives (fam, motif, fuse etc).

The mechanical edits were applied via the following script:

#!/bin/sh
for d in */*; do
  [ -d "$d" ] || continue
  for i in "$d/"Makefile* "$d/"*.mk; do
    case "$i" in *.orig|*"*"*) continue;; esac
    out="$d/x"
    sed -e 's;graphics/jpeg/buildlink3\.mk;mk/jpeg.buildlink3.mk;g' \
        -e 's;BUILDLINK_PREFIX\.jpeg;JPEGBASE;g' \
        < "$i" > "$out"
    if cmp -s "$i" "$out"; then
      rm -f "$out"
    else
      echo "Edited $i"
      mv -f "$i" "$i.orig" && mv "$out" "$i"
    fi
  done
done
2010-12-23 11:44:24 +00:00
dholland
1d215b617a Needs revbump for png update. 2010-06-14 09:55:33 +00:00
roy
7613daac34 Define TERMINFO for building on NetBSD-6 for the terminfo interface. 2010-05-05 14:26:36 +00:00
wiz
1d85325179 Add RCS Id (hi roy!). 2010-02-21 12:26:47 +00:00
wiz
319e13628d More PKGREVISION bumps of jpeg dependencies.
Identified by parsing the NetBSD-i386-5.0.1/2009Q3 pkg_summary files
and Robert Elz.
2010-01-24 13:26:09 +00:00
roy
8b8e8cc495 When running terminfo but compiled for termcap, we cannot assume
that we actually have anything useable in termcap_term_buffer so just
use the terminfo fixed size defined ealier.
2010-01-20 03:21:20 +00:00
sno
6f7368d4db bump revision because of graphics/jpeg update 2009-08-26 19:56:37 +00:00
joerg
7fdde28ea5 Convert @exec/@unexec to @pkgdir or drop it. 2009-06-14 18:48:07 +00:00
joerg
bacea7cad5 Remove @dirrm entries from PLISTs 2009-06-14 17:48:39 +00:00
hasso
3c72c30f0a Make it build on DragonFly master. 2009-04-30 17:22:06 +00:00
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