Commit graph

24 commits

Author SHA1 Message Date
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
wiz
b8e0eb28f4 Remove FreeBSD RCS Ids. pkgsrc has diverged too much for syncing to be
useful.
2005-03-24 21:12:50 +00:00
agc
1e46c076aa Add RMD160 digests in addition to SHA1 ones. 2005-02-23 12:06:53 +00:00
wiz
6e02d7ee41 Rename ALL_TARGET to BUILD_TARGET for consistency with other *_TARGETs.
Suggested by Roland Illig, ok'd by various.
2004-12-03 15:14:50 +00:00
jlam
e8132b3fbf Relinquish maintainership of packages to tech-pkg@NetBSD.org. 2004-04-24 22:46:08 +00:00
grant
0155927c43 s/netbsd.org/NetBSD.org/ 2003-07-17 21:41:05 +00:00
zuntum
98cf373d36 Move pkg/ files into package's toplevel directory 2001-11-01 00:32:23 +00:00
agc
fa5c767d84 Move to sha1 digests, and add distfile sizes. 2001-04-19 08:45:37 +00:00
agc
9e8d6c8b8d + move the distfile digest/checksum value from files/md5 to distinfo
+ move the patch digest/checksum values from files/patch-sum to distinfo
2001-04-17 11:33:31 +00:00
wiz
a13ea108bb Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT. 2001-02-17 17:52:59 +00:00
jlam
75226de8bc Update xlispstat to 3.52.18. Make me the maintainer (I guess because I'm
a card-carrying statistician).  Relevant changes from version 3.52.9:

	Switched to using sigsetjmp/siglonjmp when available to
		preserve signal masks (allows CONTROL-C to work on Linux).
	Modified startup to start hidden and minimized if -Embedded is
		in the command line.
	Cleaned up get-decoded-time.
	Removed savesys.lsp from distribution to force using
		save-workspace directly when building the mac or windows
		workspaces.  Using save-workspace from within a file means
		some special variables are bound.

	Added support for FreeBSD (enabled standard IEEE handling of
		floating point zero divide).
	Added SYSTEM:TYPED-VECTOR-ELEMENT-SIZE.
	Added unsigned C character to typed vector types.
	Added cptr-protect to add values onto list of values protected
		by a typed pointer.
	Added user exit functions.
	Added support for weak boxes.
	Added binding of *print-readably* to nil around default
		handler printing code and around do-debugger to avoid
		recursive errors.
	Added new customizable DDE server.
	Added minimal implementations of copy-readtable, readtablep, and
		set-syntax-from-char.
	Added error check for non-integer index in select.

	Fixed defpackage to prevent duplicate nicknames.
	Fixed structure printing to inherit print functions.
	Fixed lisp2ulong to signal an error for negative instead of
		positive arguments.
	Fixed buffer underflow problem in floating point formatting.
	Fixed make-string to check for negative length argument.
	Fixed some documentation mismatches.
2000-10-15 02:23:54 +00:00
hubertf
65340dd2a4 This package builds if DISPLAY is not set at all, and if it's set to a
valid display that'll also accept connections. If DISPLAY is set to a
display that rejects connections, though.

Fix this by explicitly setting DISPLAY=.
2000-09-07 04:10:32 +00:00
dmcmahill
0be09b9e3c remove IS_INTERACTIVE. When DISPLAY is not set (as in bulk builds), xlispstat
gives warnings during compilation, but they can be safely ignored as in this
phase no X functionality is needed.
2000-09-05 23:13:07 +00:00
abs
df05aef71f Strip trailing '.', and/or leading '(a|an) ' 2000-01-05 15:37:50 +00:00
hubertf
091ea5081c This package wants a valid $DISPLAY to build, just like gimp.
(Although it doesn't seem to open any windows :-/)

Mark as interactive if $DISPLAY is not set.
1999-10-04 21:41:03 +00:00
agc
cef167f234 Make this package work on Solaris. 1999-08-06 13:30:42 +00:00
agc
f4d5171de1 Add package patch checksum files. 1999-07-09 14:09:02 +00:00
tv
5c60ed5794 Change {ONLY,NOT}_FOR_{ARCH,OPSYS} format to {ONLY,NOT}_FOR_PLATFORM
pattern match format.  Minor pkglint along the way.
1999-05-24 20:39:35 +00:00
hubertf
2a95ad9c6b Fix CONFLICTS (remove redundancy, mostly) 1999-02-20 22:48:24 +00:00
agc
f6473207ca Replace all occurrences of USE_X11 with USE_X11BASE. This means "install this
package into ${X11BASE}".
Replace all occurrences of BUILD_USES_X11 with USE_X11. This means "use X11
headers and libraries to build this package".
1999-01-30 23:18:44 +00:00
garbled
4462f71a1a Make this pkg build on ELF by not overriding the LDFLAGS, then turn around
and disable it on alpha because it core dumps..  Wheee!
1999-01-01 09:03:36 +00:00
frueauf
bdd2f96e34 Add -Dunix to CFLAGS to shutup warings on current egcs. 1998-12-21 10:58:46 +00:00
frueauf
61ed436dc0 Update xlispstat to 3.52.9, provided in pr 6617 by Johnny C. Lam. 1998-12-21 10:45:31 +00:00
frueauf
1f6a58847c Initial addition of xlispstat-3.52.5, a statistics/X11 based lisp interpreter.
Closes pr 6234 by Rene Hexel.
1998-10-03 20:28:08 +00:00