Commit graph

199 commits

Author SHA1 Message Date
uebayasi
75635c82f9 Initial addition of buildlink3.mk fragments for Emacs / XEmacs programs. 2007-10-29 12:40:02 +00:00
wiz
029e9b6376 Remove some legacy support after branching 2007Q3. 2007-10-16 21:32:59 +00:00
obache
18260e63ca Fixes typo in comment (Motif => GTK). 2007-08-23 13:57:38 +00:00
tnn
a55d85d404 add missing closing quotation mark 2007-08-15 23:03:04 +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
jlam
12351d2476 * Change some instances of ROOT_USER and ROOT_GROUP to BINOWN and BINGRP
in SPECIAL_PERMS usage.

* Consistently use 4555 for setuid and 2555 for setgid programs.
2007-06-15 18:15:06 +00:00
markd
68bce716b0 Note conflict against the elisp-manual package. That manual has been
incorporated into latest emacs.  PR pkg/36492
2007-06-15 01:39:32 +00:00
markd
8d0ac02a06 Update emacs{,-nox11} to 22.1.
update based in part on wip/emacs-current and wip/emacs22 packages.

Many many changes since 21.4a.  Read NEWS file for details.
2007-06-11 13:57:15 +00:00
obache
327cf32d10 Fix build problem on i386/Darwin.
Patch provided by Tom Yu in PR 36166.
2007-04-22 06:55:03 +00:00
joerg
31e2dfc0dd Move dragonfly.h from patch to a real file. Modify it to deal with the
crt changes in DragonFly 1.7.1.
2007-03-24 01:30:50 +00:00
wiz
601583c320 Whitespace cleanup, courtesy of pkglint.
Patch provided by Sergey Svishchev in private mail.
2007-02-22 19:26:05 +00:00
wiz
17d4eb5978 share/emacs/site-lisp now exists by default -- don't try to remove it.
Bump PKGREVISION for the PLIST change.
2007-02-20 19:04:10 +00:00
markd
b0ff606a9c Update smtpmail.el to recent CVS version. Requested by Aleksey Cheusov
in PR pkg/34455. Bump PKGREVISION.
2007-01-25 20:59:15 +00:00
markd
56a3770ca2 Add revision 1.54 of src/unexelf.c (from emacs cvs of jul 2003).
Fixes segfaults on exit seen on Solaris when compiled with more recent
gcc's. Bump PKGREVISION.
2007-01-25 20:52:29 +00:00
drochner
2d1fd78bd3 this needs imake to check for X support in configure 2007-01-23 17:45:13 +00:00
joerg
58c3144236 Mechanically replace all includes of buildlink3.mk of the following
packages with the modular Xorg equivalent. Those are falling back
to the old location by default, so this commmit doesn't change
dependencies.

graphics/xpm ==> x11/libXpm
fonts/Xft2 ==> x11/libXft
x11/Xfixes ==> x11/libXfixes
x11/xcursor ==> x11/libXcursor
x11/Xrender ==> x11/libXrender
x11/Xrandr ==> libXrandr
2006-12-15 20:32:52 +00:00
wiz
3c075b9609 CHECK_WRKREF_SKIP paths seem to relative to ${PREFIX} now, adapt. 2006-11-03 07:01:42 +00:00
markd
5ced9ef456 Don't clobber START_FILES in m/pmax.h.
Should fix PR pkg/26679.
2006-11-01 11:18:20 +00:00
rillig
4f256be13c Don't install the files in share/emacs group-writable. Bumped
PKGREVISION of emacs and emacs-nox11.
2006-07-02 10:03:14 +00:00
minskim
1ea2da37e3 Add a run-time depenency on perl because bin/emacs-grep-changelog
requires perl to run.

Bump PKGREVISION.
2006-06-20 23:47:23 +00:00
minskim
572650731f Make configure recognize Linux/amd64. 2006-06-06 16:23:17 +00:00
markd
4cad3a396e Fix sort-columns function.
NetBSD sort objects to setting the field separator to the same value as
the record separator.  Since in this case the surrounding code guarantees
there will be no tabs in the input set the field separator to tab.
Bump PKGREVISION.
2006-05-15 11:48:12 +00:00
rillig
e141f44de7 Fixed the RCS Id comment in line 1. 2006-05-13 10:21:17 +00:00
wiz
02f8f7c52d Bump BUILDLINK_ABI_DEPENDS.png and PKGREVISION for png-1.2.9nb2 update. 2006-04-17 13:45:57 +00:00
reed
5abef9be14 Over 1200 files touched but no revisions bumped :)
RECOMMENDED is removed. It becomes ABI_DEPENDS.

BUILDLINK_RECOMMENDED.foo becomes BUILDLINK_ABI_DEPENDS.foo.

BUILDLINK_DEPENDS.foo becomes BUILDLINK_API_DEPENDS.foo.

BUILDLINK_DEPENDS does not change.

IGNORE_RECOMMENDED (which defaulted to "no") becomes USE_ABI_DEPENDS
which defaults to "yes".

Added to obsolete.mk checking for IGNORE_RECOMMENDED.

I did not manually go through and fix any aesthetic tab/spacing issues.

I have tested the above patch on DragonFly building and packaging
subversion and pkglint and their many dependencies.

I have also tested USE_ABI_DEPENDS=no on my NetBSD workstation (where I
have used IGNORE_RECOMMENDED for a long time). I have been an active user
of IGNORE_RECOMMENDED since it was available.

As suggested, I removed the documentation sentences suggesting bumping for
"security" issues.

As discussed on tech-pkg.

I will commit to revbump, pkglint, pkg_install, createbuildlink separately.

Note that if you use wip, it will fail!  I will commit to pkgsrc-wip
later (within day).
2006-04-06 06:21:32 +00:00
markd
bc998c9be3 Pass the correct sized argument to sbrk() when trying to reduce the break
so that on 64bit systems it is actually a negative number, not a very
large positive one.  Should fix PR pkg/29351.
Thanks to Martijn van Buul for giving me access to an amd64 box so I
could track this down.  Bump PKGREVISION.
2006-04-05 22:22:16 +00:00
jlam
792529759b * Honor PKGINFODIR.
* List the info files directly in the PLIST.
2006-03-30 03:44:41 +00:00
uebayasi
95434d4ac8 Fix build on sh3el. PR pkg/33418 from Yasushi Oshima. 2006-03-25 02:48:22 +00:00
markd
306b2c07a2 Add motif option from Juha-Matti Liukkonen in PR 32703, changed somewhat
by me.  Also fixes PR 20883.
2006-02-20 12:16:24 +00:00
joerg
5911def816 Recursive revision bump / recommended bump for gettext ABI change. 2006-02-05 23:08:03 +00:00
markd
3aac27ce5c Remove zero length patch. 2006-01-04 11:11:22 +00:00
joerg
e871bba6d7 Use -nocombreloc on DragonFly as well. Suggested by Timothy H. Legant
on DragoFly's user list.
2005-12-29 14:04:56 +00:00
joerg
45fad7e41d Create separate configuration for DragonFly. Fix errno.
Based on patch from Richard Nyberg on DragonFly's user list.
2005-12-29 13:56:51 +00:00
rillig
579e977969 Ran "pkglint --autofix", which corrected some of the quoting issues in
CONFIGURE_ARGS.
2005-12-05 23:55:01 +00:00
rillig
b71a1d488b Fixed pkglint warnings. The warnings are mostly quoting issues, for
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some
other changes are outlined in

    http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
2005-12-05 20:49:47 +00:00
hiramatsu
f1d7980a7c Build fix on OpenBSD, borrowed from OpenBSD ports.
Quote from the commit log(ports/editors/emacs21/Makefile version 1.10).
-----------------------------------------
Work around the fact that emacs undump knows too much about the layout
of elf files (or thinks it does). These assumptions were just broken
by binutils/ld changes to put GOT and PLT into their own PT_LOAD sections.
Thus BSS is no longer part of the DATA PT_LOAD section. This is a
workaround using the '-Z' compatibility flag which disables the GOT/PLT
padding.
2005-10-14 08:59:50 +00:00
markd
97bc9cf4f4 A couple of patches to fix build on NetBSD/hp700. From Konrad Schroder. 2005-10-06 11:08:39 +00:00
wiz
5c11268df7 Remove some more *LEGACY* settings that are over a month old and
thus were before 2005Q3.
2005-10-05 13:29:49 +00:00
markd
63d42f99ce Quieten CHECK_WRKREF. The build PATH in the dumped emacs is not a problem. 2005-06-30 10:12:35 +00:00
markd
e32c042c5e Share a Makefile.common between emacs and emacs-nox11.
Should fix PR pkg/30462.

Also convert emacs to options framework.
2005-06-08 14:39:40 +00:00
jlam
95fd1f6ec9 Massive cleanup of buildlink3.mk and builtin.mk files in pkgsrc.
Several changes are involved since they are all interrelated.  These
changes affect about 1000 files.

The first major change is rewriting bsd.builtin.mk as well as all of
the builtin.mk files to follow the new example in bsd.builtin.mk.
The loop to include all of the builtin.mk files needed by the package
is moved from bsd.builtin.mk and into bsd.buildlink3.mk.  bsd.builtin.mk
is now included by each of the individual builtin.mk files and provides
some common logic for all of the builtin.mk files.  Currently, this
includes the computation for whether the native or pkgsrc version of
the package is preferred.  This causes USE_BUILTIN.* to be correctly
set when one builtin.mk file includes another.

The second major change is teach the builtin.mk files to consider
files under ${LOCALBASE} to be from pkgsrc-controlled packages.  Most
of the builtin.mk files test for the presence of built-in software by
checking for the existence of certain files, e.g. <pthread.h>, and we
now assume that if that file is under ${LOCALBASE}, then it must be
from pkgsrc.  This modification is a nod toward LOCALBASE=/usr.  The
exceptions to this new check are the X11 distribution packages, which
are handled specially as noted below.

The third major change is providing builtin.mk and version.mk files
for each of the X11 distribution packages in pkgsrc.  The builtin.mk
file can detect whether the native X11 distribution is the same as
the one provided by pkgsrc, and the version.mk file computes the
version of the X11 distribution package, whether it's built-in or not.

The fourth major change is that the buildlink3.mk files for X11 packages
that install parts which are part of X11 distribution packages, e.g.
Xpm, Xcursor, etc., now use imake to query the X11 distribution for
whether the software is already provided by the X11 distribution.
This is more accurate than grepping for a symbol name in the imake
config files.  Using imake required sprinkling various builtin-imake.mk
helper files into pkgsrc directories.  These files are used as input
to imake since imake can't use stdin for that purpose.

The fifth major change is in how packages note that they use X11.
Instead of setting USE_X11, package Makefiles should now include
x11.buildlink3.mk instead.  This causes the X11 package buildlink3
and builtin logic to be executed at the correct place for buildlink3.mk
and builtin.mk files that previously set USE_X11, and fixes packages
that relied on buildlink3.mk files to implicitly note that X11 is
needed.  Package buildlink3.mk should also include x11.buildlink3.mk
when linking against the package libraries requires also linking
against the X11 libraries.  Where it was obvious, redundant inclusions
of x11.buildlink3.mk have been removed.
2005-06-01 18:02:37 +00:00
markd
b83702aa2a Treat DragonFly as FreeBSD. From Peter Schuller in PR pkg/30225. 2005-05-26 02:10:49 +00:00
jlam
585534220c Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions:
USE_GNU_TOOLS	-> USE_TOOLS
	awk		-> gawk
	m4		-> gm4
	make		-> gmake
	sed		-> gsed
	yacc		-> bison
2005-05-22 20:07:36 +00:00
minskim
75ff042c08 Correct PLIST on Darwin. Based on patches provided by Tom Yu in PR pkg/26943. 2005-05-09 05:23:40 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
markd
05ca5e8b04 Take maintainership. 2005-04-07 12:38:02 +00:00
wiz
c3d984d08b Define POSIX_SIGNALS on NetBSD, similar to FreeBSD. From Greg
Woods in PR 28977.  Bump PKGREVISION.
2005-03-22 15:39:05 +00:00
wiz
1603cca51a Does not really use libtool, so don't set USE_LIBTOOL. Solves part of
PR 28977 by Greg A. Woods.
2005-03-17 13:36:29 +00:00
wiz
9936a8c10c Use 21.4a tarball: only change is an entry in the README to disable
exec-shield on linux if you have problems compiling emacs.
2005-02-26 16:01:32 +00:00
drochner
1a28eb1bc2 remove obsolete patch, thanks wiz 2005-02-24 15:35:16 +00:00