Commit graph

39 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
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
joerg
0bd65e95f1 malloc.h --> stdlib.h 2007-08-04 12:19:23 +00:00
joerg
97727bd366 Make patch-ao a normal file and fix the build on DragonFly 1.8+ 2007-06-30 01:01:12 +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
joerg
30b78555ae CHECK_WRKREF_SKIP takes relative names. 2006-12-06 15:03:49 +00:00
jlam
d212457536 Remove trailing whitespace from various info/* entries that was causing
the files to not be found during PLIST creation.
2006-04-14 23:24:46 +00:00
jlam
792529759b * Honor PKGINFODIR.
* List the info files directly in the PLIST.
2006-03-30 03:44:41 +00:00
jlam
9c8b5ede43 Point MAINTAINER to pkgsrc-users@NetBSD.org in the case where no
developer is officially maintaining the package.

The rationale for changing this from "tech-pkg" to "pkgsrc-users" is
that it implies that any user can try to maintain the package (by
submitting patches to the mailing list).  Since the folks most likely
to care about the package are the folks that want to use it or are
already using it, this would leverage the energy of users who aren't
developers.
2006-03-04 21:28:51 +00:00
joerg
5911def816 Recursive revision bump / recommended bump for gettext ABI change. 2006-02-05 23:08:03 +00:00
joerg
bd9ece0564 Add DragonFly support. Fix errno. Remove patch-ac, it gets
overriden by the GNU_CONFIGURE magic anyway.
2006-01-04 17:00:32 +00:00
joerg
6e4a0dd799 Bump all motif packages for recent openmotif update. The major version
of the shared libXm has changed.
2005-12-12 21:36:54 +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
markd
63d42f99ce Quieten CHECK_WRKREF. The build PATH in the dumped emacs is not a problem. 2005-06-30 10:12:35 +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
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
91703bfef3 This version of emacs does not support Darwin. Set NOT_FOR_PLATFORM. 2005-05-16 21:05:27 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +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
agc
01907502f3 Add RMD160 digests in addition to the SHA1 ones. 2005-02-23 17:15:09 +00:00
drochner
bcfe186365 fix format string vulnerability (CAN-2005-0100), bump PKGREVISION 2005-02-09 16:09:43 +00:00
tv
c487cb967a Libtool fix for PR pkg/26633, and other issues. Update libtool to 1.5.10
in the process.  (More information on tech-pkg.)

Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and
installing .la files.

Bump PKGREVISION (only) of all packages depending directly on the above
via a buildlink3 include.
2004-10-03 00:12:51 +00:00
xtraeme
74d5785eeb bl3ify 2004-04-12 10:53:07 +00:00
kristerw
0e1233b17d Fix LP64 issues.
Add -fno-zero-initialized-in-bss when compiling with gcc3 (this is not
needed for all configurations, but it does never hurt).

Bump PKGREVISION.
2004-03-25 22:13:34 +00:00
kristerw
9af5ce5e1f Make this compile on amd64, based on Richard Rauch's patches (PR pkg/23701)
as applied to the editors/emacs package.
2004-02-28 20:57:48 +00:00
seb
318d2e538a Remove info files entries from PLIST. 2004-02-16 21:09:56 +00:00
heinz
18a916d5e6 Use $FIND with "-print". Noted by Georg Schwarz in PR pkg/24248 2004-01-27 00:53:10 +00:00
grant
f49bdea710 replace deprecated USE_GMAKE with USE_GNU_TOOLS+=make. 2004-01-22 08:24:28 +00:00
kristerw
325906f103 Make this build on NetBSD-current. 2004-01-13 21:58:51 +00:00
seb
8d15907ec2 USE_NEW_TEXINFO is unnecessary now. 2003-08-09 10:38:23 +00:00
grant
4083b24390 s/netbsd.org/NetBSD.org/ 2003-07-17 21:31:04 +00:00
seb
937685fbf5 Convert to USE_NEW_TEXINFO. 2003-06-30 00:17:06 +00:00
joda
15c9d6dad8 copy the GNU ld fix from editors/emacs; also don't install dist patch
backup files
2003-06-28 17:14:29 +00:00
jschauma
e366d0c694 Use tech-pkg@ in favor of packages@ as MAINTAINER for orphaned packages.
Should anybody feel like they could be the maintainer for any of thewe packages,
please adjust.
2003-06-02 01:15:31 +00:00
jmc
150f0c4823 If EMACS_USE_X isn't set then explicitly pass --with-x=no to configure as
otherwise it assumes X is there and random configure tests will fail that
shouldn't (like strerror because it couldn't include -lX11...)
2003-04-24 15:00:16 +00:00
uebayasi
89ee63bf99 * Put back the 'EMACS_USE_X' option, which is needed since we don't have
-nox11 for Emacs 20.

* Buildlink2 clean up.  Include xaw.buildlink2.mk when either Lucid or
  Athena is used.  (Lucid uses Athena.)  Included motif.buildlink2.mk when
  Motif is used.

  XXX While this, we need to link temacs against X libs, which may break
  Unexec stuffs on NetBSD/pmax, which was fixed around 1999/01 - 1999/02.

I suppose this doesn't change the resulting binary packages.
2003-04-11 04:00:17 +00:00
uebayasi
e3a2a0b56b Re-import of Emacs 20, which has settled down in editors/emacs. 2003-04-11 00:31:43 +00:00